Sandbox: http://drupal.org/sandbox/balrajb/1819934
Git Clone: balrajb@git.drupal.org:sandbox/balrajb/1819934.git
Drupalcode tree: http://drupalcode.org/sandbox/balrajb/1819934.git/tree
Version: 6.x

Nodewords Google is a module for Drupal 6.x that allows you to set Google news_keywords meta tag. This module extend the functionality of nodewords module to support google 'news_keywords' meta tag

It's been so far useful in our application and maybe it can be of use to the community. Thanks folks!

Comments

developmenticon’s picture

Status: Needs review » Needs work

Welcome,

It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.

Review of the master branch:

BalrajB’s picture

Thanks for comments.

- Moved from "Master" branch to "6.x-1.x"
- Added README.txt
- Fixed Coding standard issue. You can check here: http://ventral.org/pareview/httpgitdrupalorgsandboxbalrajb1819934git

Can you please approve this now ?

BalrajB’s picture

Status: Needs work » Needs review

Needs review

BalrajB’s picture

buddhamagnet’s picture

You may want to add a cleanup operation in the install file - as per nodewords_basic, to get rid of the tags from the nodewords table.

BalrajB’s picture

Priority: Normal » Major
BalrajB’s picture

@buddhamagnet - good point.

Have added hook_uninstall(), to delete tags ('news_keywords') from nodewords table.

yan’s picture

Priority: Major » Normal

I reviewed the code manually and I couldn't find anything that seems wrong to me (but I'm quite new to programming modules). Regarding coding standards, it looks good to me. The idea of the module sounds very important to me.

What I am thinking, though:

  1. Why does this have to be a new module? Can't your code be integrated into the nodewords module?
  2. There is also the Google News Sitemap module, but as far as I can see, it works differently since it provides a site map, not a meta tag.

I'm not sure, but I think there is no reason to set the priority to 'major', or is there? To get more attention, you could participate in the Review bonus program.

BalrajB’s picture

Thanks for comments Yan.

As Google stated using news_keywords, this module is very important to all.

1. nodewords module have an API that other modules can use to implement meta tags. and other sub-modules like nodewords_basic, nodewords_extra are using that API. Similar situation is here, nodewords_google also using that API. Once its approved I am happy to merge in nodewords as a sub-module, but not sure maintainer of nodewords would like to make their module that big to cover all meta-tags.

2. Google News Sitemap is for site map, not for meta-tag.

I am actually involved in bonus program, thanks for telling anyway :)

scott weston’s picture

Status: Needs review » Reviewed & tested by the community

I have manually reviewed the code of the module, and tested the module with a clean installation of Drupal 6. The module functions as described.

BalrajB’s picture

Hi Scott,
Thanks very much for reviewing this module.

jthorson’s picture

Status: Reviewed & tested by the community » Fixed

One comment ... nodewords_google_uninstall() seems more complex than needed ... since there's only one value in the array, I'd suggest just hardcoding 'news_keywords' into the query.

Thanks for your contribution, BalrajB!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

BalrajB’s picture

Thanks your time Jeremy (jthorson).

Valid point, have simplified uninstall(), all committed.

I am participating review process at some extent, will try to involve more :)

BalrajB’s picture

Status: Fixed » Closed (fixed)

Review process complete! going to close this issue.

The module can be found at http://drupal.org/project/nodewords_google

jthorson’s picture

Status: Closed (fixed) » Fixed

BalrajB:

No need to close the issue ... once an item is moved to 'fixed', the site will automatically close it after two weeks of inactivity.

The difference between the two is that 'fixed' will still appear in people's trackers and many default views on the website, whereas 'closed (fixed)' will not. Thus, if we move items directly to 'closed (fixed)', and it doesn't appear in people's trackers, they could miss the fact that it has been resolved ... by using 'fixed' and auto-closing, it remains on trackers for long enough that people can see the status update.

While it is not as important here, this is the process that is used across the rest of the Drupal.org website, so I wanted to ensure you were aware of it. :)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added link for drupalcode