Matthew3man, on 02 April 2012 - 04:18 AM, said:
The sitemap.xml on my site works fine. That is not what I am trying to achieve with this. I understood the .htaccess parts but my request is this:
To create a HTML sitemap based on this XML generated sitemap. I wanted to get PHP to generate it using the 'file' functions in PHP, allowing me to open sitemap.xml and replace certain XML tags with HTML ones, and then output it on the front end. But as previously mentioned, there is not an actual sitemap.xml file, only .htaccess commands that handle that request. So my request is really quite simple (hopefully) - how can you force the plugin to create a sitemap.xml file? Any points to where I can edit the code would be amazing!
ah, I guess I misread, for some reason I picked up on a file not found error, but don't see it now. (except way up towards the top)
For HTML though the modules may not be the best place to develop that, the frontend is missing a large amount of automated things because they leave formatting and markup to you.
Maybe a good way for Sitemap to support what you need to do, is to abstract it a bit more, and provide public or simple static methods to return the various parts. Currently it supports Pages, Products, Categories, Blog posts and the private release Wiki.
Then once you have the data at hand, you would be able to loop through it as needed in your CMS page for the sitemap. Allowing you to build out the style, in line with your own site.