I tried to create a new meta tag named geo.placename and ran into some problems with the way that the .inc files are used to define additional metatags. In particular, they can not have a "." in their name before the .inc, since this is mapped to a function. I will trace through what I did:
First I created a new module and implemented hook_nodewords. I used similar functions as those in the nodewords module to add new metatags from the include files in the metatags subdir. I was forced to name the include file, placename.inc instead of geo.placename.inc. There is currently some code that is labeled as a hack to account for the geo.position metatag. We need to figure out a good way to separate the name of the include files from the actual metatag name.

Comments

avpaderno’s picture

I don't know if the report applies also for the Drupal 5 version, but there is a bug report for a bug caused by the way the filename is linked to the tag name (#410882: Revisit-After configuration doesn't appear because the code is looking for the wrong function).

This needs to be changed, and I will do it.
I actually opened a report for a task that would implement this feature too (see #476602: Information about meta tags should come only from the .inc files). Feel free to drop a line, if you have any idea about that.

Thanks for your help in the development of this module.

avpaderno’s picture

Status: Active » Closed (won't fix)

As the Drupal 5 version is not supported anymore, I am changing the status of this report.

avpaderno’s picture

Title: Adding Addtional Tags- Naming Convention » Adding addtional tags - naming convention