Place this array of posts into a category, then, compliments of MacManX, place /feed/ at the end of your newly created category (assume you are using “pretty” permalinks) and you have your solution.
More information on this topic can be garnered from reading these posts:
http://wordpress.org/support/search.php?q=rss+categories
This is very nice but unfortunately it won’t work for me. The posts I want to join in a RSS can come from any category. I can provide a list of posts in my code so that’s what I need to make an RSS feed of….
But posts can belong to more than one category…. plus if you maintain your list, then any time you want to add or remvove a post from the list, you would have to modify the code. By using the category solution, it’s a simple matter of adding (or removing) the post from the category.
-tg
No no… I think your guys misunderstand what I need. It’s for my new Taggerati plugin. The thing is, it would be nice if people can subscribe to the RSS feed of a tag. I can, at any time, automatically generate a list of posts and with the wpdb class it’s no problem to loop through them and get all stuff that needs to go into the RSS feed.
Therefore I’m just wondering if there’s some RSS builder / function / plugin or any other method available that can generate a feed just based on that array of posts.
Hope it’s more clear now? 😉
Wouldn’t you be able to create a template page that returned the posts of a certain tag that mimics index.php and then append /feed to the URL to get the inbuilt feed handling? However I don’t know how that inbuilt feed stuff works but it does sound logical…
Sounds like a great idea! I’ll try that!