Moderator
t-p
(@t-p)
review this codex guide: Look at this post:
http://codex.wordpress.org/WordPress_Feeds
Yeah… nothing is jumping out at me to help me with my specific question… am I missing something?
@nando99
This page gives you the basics of how feeds are created in WP.
To create 100% custom feeds from what you posted, you need to understand basic WP_loop php way of working. After, I guess you know every category or parent page post is creating automatically a simple feed itself…
Like you created a post category called “photos” with 2 or 3 posts in it. WP creates it automatically for category “photos”. Just check the code. It should be called http://www.yoursite.com/photos/feed/ and generate a working feed.
Example on my blog, with category design-webdesign:
http://blog.digico.fr/category/design-webdesign/
It automatically creates a feed of the post category i can call later by XML or any feed.
http://blog.digico.fr/category/design-webdesign/feed/
The output is just a simple list of posts in category, outputted as XML data. Just know that WordPress automatically generates feeds for every category in same way (also for comments).
Hope it helps,
I may not have been clear… I know feeds are generated automatically for each category and I know you can even combine categories into feed… my question is how to create an rss feed that shows only posts that are in both categories… if its possible of course…
for example
post 1 is in category a
post 2 is in category a, b
post 3 is in category b
post 4 is in category a, b
the feed I want should only show post 2 and 4, not all 4 posts.
again, I don’t even know if that’s possible…
That’s possible, just requires some skills (no copy / paste to do that).