Share » Forums » Developer » creating a sitemap.xml

creating a sitemap.xml

creating a sitemap.xml

Friday 02 July 2010 12:07:29 am - 5 replies

Author Message

Sandeep Kadam

Monday 05 July 2010 9:36:02 pm

Hello All,

can anyone please help me in this please..........

Sandeep

Gaetano Giunta

Tuesday 06 July 2010 1:55:30 am

you will need to create a new layout in layout.ini, with a new pagelayout (take the pagelayout from one of the sitemap extensions or from ggxmlview as an example)

then you will need to create a sitemap.tpl template used as view template for your content

the url you will need to use is: http://mysite/layout/set/sitemap/node/view/sitemap/2

you can use a virtual url to make it nicer, of course

Principal Consultant International Business
Member of the Community Project Board

Sandeep Kadam

Tuesday 06 July 2010 4:53:57 am

Hi Gaetano Giunta,

thank you very much for replying.....
After checking your replay I am actually using your extension "ggxmlview" for generating sitemap xml.
I am able to get xml out put on below url as you suggested:

http://mysite/layout/set/sitemap/node/view/sitemap/2
The part i didn't get is "virtual url" i never tried this. Please can you help me in this
to make above url to be browsed like below . Is this possible.?
http://mysite/sitemap.xml
Thank you very much.
Sandeep

Gaetano Giunta

Tuesday 06 July 2010 8:11:55 am

- In the backoffice, "setup" tab, go to the "url translator" page

- define a new "url alias" for layout/set/sitemap/node/view/sitemap/2

Principal Consultant International Business
Member of the Community Project Board

Sandeep Kadam

Tuesday 06 July 2010 11:26:36 pm

Hi Gaetano Giunta,
Thank you Very very much a much appreciated help this did the trick...........

Thank you,
Sandeep

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu