A number of posts in my wordpress contain meta data that I would like to make freely available in XML format.
I know in theory I should be able to use a combination of WP_query with arguments to filter down to the posts/meta data I want to make available, and then use php to output it in XML format.
The question is how should I go about doing it? Is creating a plugin my best option (never attempted that before)?
I could always code something up completely separate from WP to get the job done and query the database directly, but WP_query seems too convenient a function to pass up!