Hi Luis, here's an idea how you could solve your problem... The sitemap generation functionality could be also achieved using eZP templates without the extension. Something like this:
create a special layout called for example sitemap_xml, make it use sitemap_xml.tpl template, and set the appropriate content type
in sitemap_xml.tpl generate the apropriate xml headers for the sitemap, and also include {$module_result.content} where it should be
in the template for the full view of your front page do this logic: if the current layout is "sitemap_xml" then generate the xml for the sitemap, else display the normal code for the front page
Then your sitemap xml should be available on the link like this:
/layout/set/sitemap_xml/content/view/full/2
--
Nothing is impossible. Not if you can imagine it!
@Marko: I think Luis already did that before (he used the ggxmlview extensions), but he was looking for something working out-of-the-box
Hi,
@Marko: I appreciate your help Marko, as Gaetano says I have implemented his extension which is a great step. The problem is Google wont recognize it... I have checked what the problem may be and found that special characters truncate the code, including quotes, accents, etc.
So I'm stuck... Google news feeds need this map or the 3 digit code in the URL, so I was thinking about this second option...
And it's not that I want an "out-of-the-box" solution it's just that right now Im (still) not an expert on EZ Publish and its difficult for me to find enough information to solve my problems.
I really appreciate your help for both of you.
Cheers
GOOD 4 ALL
You must be logged in to post messages in this topic!