who to build google sitemaps ?

Author Message

Alexandre Cunha

Friday 20 October 2006 10:30:32 am

Hi,

Unfortunetly the http://ez.no/community/contribs/template_plugins/googlesitemaps_extension is not working as expected (despite some corrections that I made).

So, I am in the situation to look for a solution to create google sitemaps. I prefer a php web script that genarates the sitemap every time I run it. And ezpublish friendlly.

Any sugestions ?

http://AlexandreCunha.com

Mark Marsiglio

Friday 20 October 2006 11:31:50 am

What is the problem you are running in to with the extension? We implemented that successfully, and it seems to be working very well for us. We had to make a few settings changes to get the update frequency right, but it is good now.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Alexandre Cunha

Friday 20 October 2006 3:15:36 pm

Hi,

The problems are described here: http://ez.no/community/contribs/template_plugins/googlesitemaps_extension
See my last 2 posts (20/october)

http://AlexandreCunha.com

Mark Marsiglio

Saturday 21 October 2006 7:37:50 am

I encountered the same problem actually, now that I go back and look at my code.

I made two adjustments to fix it:

In line 3 of design/standard/templates/node/view/googlesitemaps.tpl

{let $siteurl = 'www.sitename.com' )}

This change to hard code the site URL removed the double http://.

In line 13 of design/standard/templates/node/view/googlesitemaps.tpl

    <loc>{concat('http://',$siteurl,$node.url_alias|ezroot(no))|extlinkfix(del_layout)}</loc>

This change (from ezurl to ezroot) removed the siteaccess name and index.php from the URL on our installation, which uses URL siteaccesses instead of host name.

It looks like your solution would work too though.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Alexandre Cunha

Sunday 22 October 2006 2:25:15 am

thanks Mark

Your solution changing line 13 is better than my posted workarround changing sitemap.php.
You solved the problem where the problem it is.

thank you.

http://AlexandreCunha.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.