I just created my first rss feed. it worked fine. got it validated. It is basic feed of my recent blog posts. I would like to know if i would dynamically url parameters..
feed would look like this .. http://www.website.com/feed/?category=php.rss...
should show the recent blog posts of category "php". if category changes to "jquery" should show recent posts in "jquery"
How can I build a fee开发者_如何转开发d with changing URL parameters or build individual feeds?
Of course.
Just get the category name of out of the query string (using whatever standard library you use for that in whatever language you are using), add that as a conditional to whatever method you use to get the data (hopefully some sort of ORM), then drop the results into whatever library you generate the RSS from, just as if it were all the entries.
精彩评论