catonthecouchproductions
asked on
WordPress - Generating custom XML file via Loop contents
Hey,
I am wondering if it is possible to generate a custom XML file using WordPress. I want to pull information and create a google map with multiple markers. XML would be like:
<markers>
<marker>HTML HERE FOR BOX</marker>
</markers>
I would use a query to pull data from a custom post type. Can WordPress generate custom XML?
Thanks,
Ryan
I am wondering if it is possible to generate a custom XML file using WordPress. I want to pull information and create a google map with multiple markers. XML would be like:
<markers>
<marker>HTML HERE FOR BOX</marker>
</markers>
I would use a query to pull data from a custom post type. Can WordPress generate custom XML?
Thanks,
Ryan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can also see examples in the google sitemap generator plugin, just open the plugin files and browse the code to get an idea of how they go about it.