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

eZ debug

Timing: Jan 18 2025 10:59:34
Script start
Timing: Jan 18 2025 10:59:34
Module start 'content'
Timing: Jan 18 2025 10:59:35
Module end 'content'
Timing: Jan 18 2025 10:59:35
Script end

Main resources:

Total runtime1.1269 sec
Peak memory usage4,096.0000 KB
Database Queries233

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 587.7344180.8281
Module start 'content' 0.00830.9691 768.5625886.3516
Module end 'content' 0.97740.1494 1,654.9141353.3047
Script end 1.1268  2,008.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.3896210.0002
Check MTime0.00160.1431210.0001
Mysql Total
Database connection0.00090.076310.0009
Mysqli_queries1.003089.00572330.0043
Looping result0.00270.23862310.0000
Template Total1.089596.720.5448
Template load0.00220.197720.0011
Template processing1.087396.482320.5436
Template load and register function0.00010.007410.0001
states
state_id_array0.00220.194610.0022
state_identifier_array0.00320.287320.0016
Override
Cache load0.00220.1966800.0000
Sytem overhead
Fetch class attribute can translate value0.00160.142590.0002
Fetch class attribute name0.00190.1716170.0001
XML
Image XML parsing0.00900.801290.0010
class_abstraction
Instantiating content class attribute0.00000.0036210.0000
General
dbfile0.01000.8890540.0002
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
19content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 50
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs