Posted by darumaki on August 18, 2008 at 10:46pm
6 followers
| Project: | Nodewords: D6 Meta Tags |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | 6.x-1.0 |
Issue Summary
It would be great if we could add a custom meta, for example with multiple-sites, to add the meta for google site verification
Comments
#1
Yes please! An option to specify the meta name, and a text box to add the description, which could be defined for a specific content type and/or on a per node basis.
And for version 5.x.
#2
Presumably I could do this by creating my own metadata.inc file in the metatags folder? If I took abstract.inc as a template, I could just copy and amend it to produce my own tags?
#3
Yes, iantresman, i'm also interested to do that... How can i add a new name tag form a .inc file ????
#4
ok, i've create a new custom meta tag to create a tag named "subject" :
1 - i've made a copy of the file metatags/description.inc
2 - i've rename the copy of : metatags/subect.inc
3 - i've rename the functions :
- nodewords_description_prepare => nodewords_subject_prepare
- nodewords_description_form => nodewords_subject_form
and the line :
- '#title' => t('Description') => '#title' => t('Subject')
saving, and it works fine.
Here is the file attached... (
Now, i'd like to add a DC.subject meta tag, but it doesn't work : I don't know where the Name argument is defined ?
#5
I will see if the Google site verification meta tag can be easily implemented, and in that case, I will implement it.
#6
FYI if you just want the google site verification there is also the Site verification module. But if you're currently using the Meta tags module, it would make sense to have custom meta tag support for a case like this.
#7
#8
This is also useful for adding the set of Dublin Core metadata, whose meta tags are summarized here (see section Dublin Core (DC)). See also
#9
The support for more Dublin Core meta tags is already reported in #518274: Add support for more Dublin Core 1.1 meta tags.
#10
>The support for more Dublin Core meta tags is already reported
Brilliant.
#11
The support for the site verification meta tags as required by the main search engines has been implemented. If there is the need to add the support for a verification code as requested by other web services, feel free to re-open this report.
#12
I am setting the status to fixed.
#13
I am tagging this report to add it in the list of the differences between version 6.x-1.0 and the next official release.
#14
Automatically closed -- issue fixed for 2 weeks with no activity.