wiltongarcia / picofeed
Modern library to handle RSS/Atom feeds
v0.1.20
2016-03-01 12:55 UTC
Requires
- php: >=5.3.0
- ext-dom: *
- ext-iconv: *
- ext-libxml: *
- ext-simplexml: *
- ext-xml: *
- zendframework/zendxml: ^1.0
Suggests
- ext-curl: PicoFeed will use cURL if present
README
PicoFeed was originally developed for Miniflux, a minimalist and open source news reader.
However, this library can be used inside any project. PicoFeed is tested with a lot of different feeds and it's simple and easy to use.
Features
- 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: MIT
Requirements
- PHP >= 5.3
- libxml >= 2.7
- XML PHP extensions: DOM and SimpleXML
- cURL or Stream Context (
allow_url_fopen=On
) - iconv extension
Authors
- Original author: Frédéric Guillot
- Major Contributors:
Real world usage
Documentation
- Installation
- Running unit tests
- Feed parsing
- Feed creation
- Favicon fetcher
- OPML file importation
- OPML file exportation
- Image proxy (avoid SSL mixed content warnings)
- Web scraping
- Exceptions
- Debugging
- Configuration