解析RSS/Atom feeds的PHP库:PicoFeed
jopen
10年前
PicoFeed原先开发用于 Miniflux,一个开源的新闻阅读器。
但是这个库可在任何项目中使用。PicoFeed已经测试了许多各种不同的Feeds并且易于使用,简单。特性
- Simple and fast
- Feed parser for Atom 1.0 and RSS 0.91, 0.92, 1.0 and 2.0
- Feed writer for Atom 1.0 and RSS 2.0
- Favicon fetcher
- Import/Export OPML subscriptions
- Content filter: HTML cleanup, remove pixel trackers and Ads
- Multiple HTTP client adapters: cURL or Stream Context
- Proxy support
- Content grabber: download from the original website the full content
- Enclosure detection
- RTL languages support
- License: Unlicense http://unlicense.org/
要求
- PHP >= 5.3
- libxml >= 2.7
- XML PHP extensions: DOM and SimpleXML
- cURL or Stream Context (
allow_url_fopen=On
)