Closed (duplicate)
Project:
Location
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2008 at 18:10 UTC
Updated:
5 Jun 2008 at 05:37 UTC
We're using the Nodewords module, which supports adding Geo Tag / GeoURL metadata to the HTML head segment, but that module has no idea that the Location module exists. I'd like to have locative data automatically populate the meta tags.
I'm wondering about the following possibilities:
* Patch Location to insert the metadata itself. (possibly quite easy)
* Teach Nodewords to interact with Location. (much more difficult, but avoids duplicate/conflicting tags)
* Contribute a freestanding module that pushes locative metadata into the HTML head. (possibly easiest of all)
Advice, thoughts, plans?
Comments
Comment #1
yelvington commentedChanging to the dev brand and following up my own issue:
Writing a freestanding module actually was easier done than said; it only took a few minutes.
But now I see that the necessary code actually exists in location.include and the call has been // commented out in location.module. This explains why the tagging disappeared when I merely thought it was my mind that was broken. :-)
There is no indication why lines 1073-1075 were commented out. Any reason not to restore it?
Comment #2
catchhttp://drupal.org/node/1048
Comment #3
Coldice4678 commentedI have been looking into this issue myself with my site, and I tried commenting out lines 1073-1075. The problem I had it first replicated the nodes coordinates 3 times over and then it add meta geourl data for every nodelink the "Related Link" Block had. I am trying now to see how I can force it to produce one relevant geo meta set. Plus I wonder how your freestanding module works or can I download it.
Comment #4
Coldice4678 commentedWeird, I thought I came to a solution, until I found out, once a page is loaded once, it will stop the buggy replication i sited above. and then it will work perfectly normal. But the page needs to be loaded up once. I wonder why? plus how can I fix that, because I have to many pages, a search would end up loading it up before I have a chance to.