CVS edit link for gdud

Hello,

I have 2 years experience in Drupal and 4 years in PHP. I attended last DrupalCon in Copenhagen, It was awesome. I work in Media Regionalne, one of the biggest media company in Poland. We build 3 or more new websites for own per year, based on Drupal, of course. Till now I created many modules. I think it's good time to share the modules to others and help building the community.

www.strefaimprez.pl, www.zaksa.pl - it's example websites, that I created on Drupal and still maintain.

Best regards
Gregory

Comments

gdud’s picture

StatusFileSize
new3.96 KB

Context Metatags is one of modules that I would like to share on drupal.org. It's a simple and flexible module to create metatags for users that fall in love with Context3 module.

gdud’s picture

Status: Postponed (maintainer needs more info) » Needs review
avpaderno’s picture

Status: Needs review » Needs work
Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review the code, pointing out what it needs to be changed.

As per requirements, the motivation message should be expanded to contain more features of the proposed project. For themes, it should include also a screenshot of the theme, and (when possible) a link to a working demo site; for modules, it should include also a comparison with the existing solutions.

gdud’s picture

Status: Needs work » Needs review
StatusFileSize
new3.97 KB

I attached latest version of module, that fixed one major bug.

The text below is a short description of Context Metatags module.

--

This module allows you to set meta tags for each Drupal page.

It based on Context module so it is very flexible. You can specify meta tags for node page by type, taxonomy term page or any other path.

Not including the settings page, Context Metatags don't have its own interface. It uses Context User Interface to setup meta tags.

The following meta tags are now abailable:
- title
- description
- keywords
- robots

Context Metatags provides some filters that allows you, for instance, to limit meta tags to only 150 characters or lowercase keywords filter.

Support for Token module is also available.

I think, Context Metatags is a good and lightweight alternative instead Nodewords, Integrated Metatags and Page Ttle. Especialy for drupalers who likes use Context in diffrent ways.

The formula that describe this module:
Context Metatags = Nodewords + Integrated Metatags + Page Title

Context Metatags works only with Context 3.

avpaderno’s picture

Status: Needs review » Needs work
  • The points reported in this review are not in order of importance / relevance.
  • Most of the times I report the code that present an issue. In such cases, the same error can be present in other parts of the code; the fact I don't report the same issue more than once doesn't mean the same issue is not present in different places.
  • Not all the reported points are application blockers; some of the points I report are simple suggestions to who applies for a CVS account. For a list of what is considered a blocker for the application approval, see CVS applications review, what to expect. Keep in mind the list is still under construction, and can be changed to adapt it to what has been found out during code review, or to make the list clearer to who applies for a CVS account.
  1. The version line needs to be removed from the .info file.
  2. The package name is used only when it's the same name used for other modules.
  3. The code of the module doesn't seem complete. The requirements ask for a complete module.
  4. /**
     * Returns the rendered metatags for actibe context.
     */
    
    

    Actibe?

  5.     if (preg_match('/HTTP\/1.1 404 Not Found|HTTP\/1.1 403 Forbidden/', $headers)) {
          return; // Do nothing.
        }
    
    

    Why isn't the code checking for the same headers used by HTTP 1.0?
    Why isn't the code considering any custom headers Apache could return?

  6.       else {
            drupal_set_html_head('<meta name="' . $key . '" content="' . $value . '" />');
          }
    
    

    HTML tags content should be passed through specific Drupal functions, before to be output.

gdud’s picture

Status: Needs work » Needs review
StatusFileSize
new4.4 KB

Sorry for the delay, but I had too much work last time. I fixed all your issue and did small code refactoring. I also added a README.txt file.

gdud’s picture

Component: Miscellaneous » miscellaneous

What is the current status of my application? It took 2 months when I fixes all issues of my module and I'm still waiting for any response.

zzolo’s picture

Status: Needs review » Postponed

Hi. Please read all the following and the links provided as this is very important information about your CVS Application:

Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications

  • The status of this application will be put to "postponed" and by following the instructions in the above link, you will be able to reopen it.
  • Or if your application has been "needs work" for more than 5 weeks, your application will be marked as "closed (won't fix)". You can still reopen it, by reading the instructions above.
gdud’s picture

Project: Drupal.org CVS applications » Drupal.org security advisory coverage applications
Component: miscellaneous » module
Status: Postponed » Needs review

Here is my experimental project http://drupal.org/sandbox/gdud/1139084.

The module works good in a few production sites in my company, so I think, it's a good time to apply for permission to create full projects.

In near future I'm planning to publish other my module on drupal.org.

jthorson’s picture

Title: gdud [gdud] » Context Metatags

Updating Issue Title

jthorson’s picture

Priority: Normal » Major

Updating issue priority, as per the new application priority guidelines.

cyberwolf’s picture

Excellent module for SEO purposes. Using it on one site already.

cyberwolf’s picture

It seems like another project has been published recently which seems to have the same scope:
http://drupal.org/project/context_metadata

I did not test the other one yet so I can not tell if it is equally good / better / not as good as context_metatags.

gdud’s picture

I did quick comparison to Context Metadata module and I mention 3 main diffrences to my module:

  • Context Metatags is more lightweight than the Context Metadata, because it don't require Page Title and Nodewords as dependencies
  • Context Metatags has Token integration. It is very usefull to build metatags dynamically
  • Context Metatags is ready to first stable release for a few months (from time when this issue was created)
alduya’s picture

I vote in favour of gdud's context_metatags.
It is indeed lightweight and integrates nicely with context.

And I can confirm that context_metatags is stable enough to use in production.

Context_metadata is good, but only if you want to use nodewords and pagetitle with all its complexities.

jthorson’s picture

Status: Needs review » Reviewed & tested by the community

Did a very quick initial screening ... didn't come across any glaring issues.

Looks like all printible output is sanitized and strings are translated (with proper variable substitution) ... though to be sure, I would still wrap $key in a check_plain() on line 160 of context_metatags.module.

Remove the $ID tags ... this is a CVS artifact left over from before Drupal migrated to Git, and they are no longer required (despite the Coder module saying otherwise until recently!)

Items flagged by kiamlaluno in #5 have been addressed, though I suspect there may be certain situations where the 403/404 header match could break ... it may be worth simply matching on the result code, as the text returned with them could be different across various technologies.

Project page description could use some some small wording tweaks and spelling fixes (though I realize that English may not be your first language).

None of the above should really be show-stoppers ... so assuming you'll address them before promoting the project, and given the community comments suggesting that everything works (as I didn't perform a run test and haven't used Context), I'll mark this one RTBC.

jthorson’s picture

Priority: Major » Normal
avpaderno’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Module review

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

avpaderno’s picture

Issue summary: View changes
Issue tags: -Module review