开发者

How to generate RSS feeds and provide to the users

开发者 https://www.devze.com 2023-02-03 19:38 出处:网络
i am currently developing a website where 开发者_Go百科i need to generate RSS feeds and provide to the users to get frequent updates.

i am currently developing a website where 开发者_Go百科i need to generate RSS feeds and provide to the users to get frequent updates.

Please guide me on how to do this...

Thanks a lot.

Regards, Gourav


Creating a custom rss feed with php.

You definetly need to do some google searches before you start to post questions like this ( there may be millions of ways to aproach this ) .


An RSS feed is basically just an XML document which you serve on the internet, just like a regular web page. A typical approach is to read your data from a database, convert it into a raw XML format, and then apply an XSLT to convert it to RSS. You don't have to use a database though, hand-edited XML files would, theoretically speaking, work as well.

The wikipedia article on RSS ( http://en.wikipedia.org/wiki/RSS ) should get you started on the file format and how to embed it into your web pages.


Use Yahoo's BOSS API, i used it for my iPhone app of similar nature to what you want to do. Its free and they dont limit your IP requests :)

0

精彩评论

暂无评论...
验证码 换一张
取 消