Is there a way to write a “magic” function in functions.php to output xml?
Lets say when you navigate to the domain.com/xml_output that functions should notice that and output some data fetched with help of WP Loop?
But you can already export xml…
Can I export xml with my own custom xml structure?
What do you mean ‘custom’?
<xml> <node_with_my_name><?php the_title(); ?></node_with_my_name> <another_node one_more_attr="abc" my_attribute="34" /> </xml>
Well you can always go to Tools > Export in WP admin but I dunno if that’s what you’re looking for.
No… I’m looking for the dynamic xml generation, for a flash rotator
Hey guys I still didn’t find solution for this one
- Envato Staff
- Community Moderator
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Has been a member for 5-6 years
- Microlancer Beta Tester
- Sold between 10 000 and 50 000 dollars
- Exclusive Author
Hey guys I still didn’t find solution for this oneI’ll ask for you in a forum, this could be useful for me someday I’ll keep you informed.