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

yelvington’s picture

Version: 5.x-2.7 » 5.x-1.x-dev

Changing 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?

catch’s picture

Status: Active » Closed (duplicate)
Coldice4678’s picture

I 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.

Coldice4678’s picture

Weird, 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.