Closed (fixed)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
xmlsitemap.module
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
30 Apr 2010 at 17:59 UTC
Updated:
12 Sep 2010 at 06:30 UTC
Things like image, mobile, and video sitemaps will need to be able to alter at least the XML header as well as actual link output. Currently its not possible because the use case hasn't come up with domains or languages.
Comments
Comment #1
dave reid#764658: Use XMLWriter class instead of fwrite() is now probably something I want to look into more closely since it would *really* help this feature out.
Comment #2
dave reidComment #3
dave reidSo now I have this smart idea that SitemapTypes should just have to extend the XMLSitemapWriter class and that it should be pretty much automatic and we only have to handle which class is loaded to generate the XML:
For example, to generate a news sitemap:
Comment #4
dave reidCommitted to CVS on both branches:
http://drupal.org/cvs?commit=413484
http://drupal.org/cvs?commit=413488