custom XML output
-
Hi,
I wanted to create custom XML output for wordpress blog I have on my website.I did not want to have a HTML+CSS layout, I wanted to create a Flash Interface.
For the same, I wrote a custom theme. At that time, I realsied that to get a complete custom output, I have to edit some files in the wp-includes folder as well.
For example:
in ‘template_functions-general.php’ file, I had to modify the ‘function get_archives_link()’ function by adding an extra ‘if’ statement:
} elseif (‘XML’ == $format) {
return “<Archive archLink=\”$url\” archTitle=\”$text\” />”;
}Like this, I had to change a few functins to be able to generate complete valid XML from the core code.
My question is, can WordPress address this feature in future by adding the ability to generate XML output using custom themes?
Thanks
- The topic ‘custom XML output’ is closed to new replies.