开发者

Feed generator for PHP, allowing åäö and images [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

I want to create feeds, so first, should I use rss 1, 2 or atom, whatever is best/standard?

Second, do you know any easy to understand tutorials or code-examples?

Any other good to know for feeds is more than welcome.

I'开发者_如何学编程m using php and mysql.

Thanks in advance. /Johan


Writing your own code to generate the feed will probably be your best bet. It's dead simple and probably cleaner than using another library in your app. If you're wanting to read feeds, another great option I recently used is the Zend framework Zend_Feed_Reader component.


Should I use rss 1, 2 or atom, whatever is best/standard?

RSS 2 is a good choice, but Atom is good too.

Do you know any easy to understand tutorials or code-examples?

Take a look at W3 - RSS Tutorial and at PHP Tutorials


If you are looking to programatically READ RSS feeds into your PHP applications, I recommend using Magpie, which is an open-source library built just for that purpose. (do a search, I am too new to be able to post more than one hyperlink :P )

Creating a feed is as simple as generating XML out of a PHP app, it just has to follow rules as defined in the W3-RSS tutorial mentioned earlier. There are a few packages out there that can be used to CREATE feeds programatically too (like http://sourceforge.net/projects/feedcreator/).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜