Forums / Developer / google sitemap xml with an ez website

google sitemap xml with an ez website

Author Message

Xavier Dutoit

Friday 03 June 2005 2:05:12 am

Hi,

Has anyone tried to produce a sitemap xml for google using ez ?

https://www.google.com/webmasters/sitemaps/docs/en/protocol.html

Could you share the template you've used ?

X+

http://www.sydesy.com

Felix Laate

Friday 03 June 2005 3:23:20 am

Hi Xavier!

I'm working on an extension right now that is smoewhat related to this.

I need to have the folder structure in a xml-file for inclusion in flash-menus

So I made some operators for creating/cleaning a file and adding lines to it.

Then, in a template, I loop through the content structure and add lines accordingly.

Am I far off? Or this somewhat related to what you need?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Xavier Dutoit

Friday 03 June 2005 9:32:09 am

Hi Felix,

Maybe, I just discovered the google site map feature and was wondering if it was possible to do it only with templates.

Why are you using an extension ? What couldn't you do only with the templates ?

X+

http://www.sydesy.com

Gabriel Ambuehl

Sunday 05 June 2005 8:14:40 am

I guess it could be done with templates, but it will be much faster with an opterator or an extension, that's for sure.

Visit http://triligon.org

kracker (the)

Sunday 05 June 2005 11:54:03 am

First one to publish an extension to the contributions, wins a cookie!

<i>http://www.hinkybox.com/devpages/gsitemap.phps</i>
Re: <i>http://www.socialpatterns.com/search-engine-optimization/google-sitemaps-with-wordpress/</i>

//kracker
<i>just don't drink the coolaid!</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Andre Felipe Machado

Friday 24 June 2005 3:58:40 am

Hello,
There are some code examples at:
http://code.google.com/sm_thirdparty.html
Thanks.
Andre Felipe Machado

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Sergey Shishkin

Friday 20 January 2006 5:39:44 am

Welcome.

http://ez.no/community/contribs/template_plugins/googlesitemaps_extension

kracker (the)

Friday 20 January 2006 10:01:49 am

Sergey,

I just wanted tot take a moment to thank you for your contribution.

This is great :) /me hands over the box of cookies :D

cheers,
//kracker

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Xavier Dutoit

Sunday 22 January 2006 8:32:49 am

Hi Sergey,

How do you calculate the changefreq and the priority ?

If I understand it right, one of the benefit of sitemap is to set the priority of each page.

My idea was to lower the priority of the "empty" folders (ie that contains only a list of the sub-items) so it makes each page of each sub-item more visible.

For instance, on this forum, lower /community/forum/developer (mostly contains links to the real posts) so /community/forum/developer/google_sitemap... is more visible.

Does it make sense or am I plain wrong on this idea ?

Out of curiosity, have you seen a change on how fast new pages are better/faster referenced on google ?

X+

http://www.sydesy.com

Jennifer Zickerman

Friday 17 November 2006 12:07:12 pm

Microsoft and Yahoo are adopting the Google sitemap protocol: http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9005148&intsrc=news_ts_head

kracker (the)

Friday 17 November 2006 12:16:43 pm

the protocol ...<i>http://www.sitemaps.org/</i>

//kracker
<i>Gorrilaz - Time Keeps Slipping</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Norman Leutner

Tuesday 22 April 2008 11:00:46 pm

Hi @ all,

after i tried most already existing eZ Publish extensions, I created a new project called GoogleSitemaps on projeczs.ez.no http://projects.ez.no/all2egooglesitemaps

I'd like to invite you to join this project.

This is currently implemented as an eZ publish 4.0 based on PHP5 cronjob which generates an XML file and saves it to a given location.

This is also usefull wenn creating larger sitemaps, so your're able to define a specific time, when the sitemap is generated.

It's performance is also quite good, because it doesn't use any modules like layout/set/...
The XML is generated directly with PHP5 DOMDocument as an UTF-8 XML document

<urlset>
  <url>
    <loc>http://www.all2e.com/loesungen/ez_publish</loc>
    <lastmod>2008-04-12T14:39:19+02:00</lastmod>
  </url>
<urlset>

Current parameters are:

[all2eGoogleSitemapSettings]
#Define Subtree to create Sitempa from
SitemapRootNodeID=2
#Define the XML file
Filename=sitemap.xml
#related to the eZ Publish root directory
Path=

[Classes]
#include or exclude objects of classes listed in ClassFilterArray
ClassFilterType=exclude

#setting array to include/exclude classes in sitemap
ClassFilterArray[]
#ClassFilterArray[]=folder
#ClassFilterArray[]=article
#ClassFilterArray[]=image
#ClassFilterArray[]=forum
#ClassFilterArray[]=...

The optional parameters changefreq and priority are not implemented yet, we might discuss about how to implement this.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh