Download the PHP package desarrolla2/rss-client without Composer
On this page you can find all versions of the php package desarrolla2/rss-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download desarrolla2/rss-client
More information about desarrolla2/rss-client
Files in desarrolla2/rss-client
Package rss-client
Short Description A simple to use RSS client library.
License MIT
Informations about the package rss-client
Warning !!
RSSClient will not be updated, you should consider migrating to FastFeed https://github.com/FastFeed/FastFeed
RSSClient
RSSClient is a simple to use RSS library to fetch and use RSS feeds. RSSClient is very fast!
Formats Supported
Installation
With Composer
It is best installed it through packagist
by including desarrolla2/rss-client
in your project composer.json require:
Without Composer
You can also download it from [Github] (https://github.com/desarrolla2/RSSClient), but no autoloader is provided so you'll need to register it with your own PSR-0 compatible autoloader.
Usage
Without Cache
This example does not use any cache, so it probably will be too slow to be used on a website, you should implement your system cache, or use the cache system described below
With Cache
This example uses the cache implemented by desarrolla2/cache
you must
select the adapter depending on your needs, you can find all the info in the
[Github repository] (https://github.com/desarrolla2/Cache).
You can see how to configure desarrolla2/cache in its [README] (https://github.com/desarrolla2/Cache)
The rest of the procedure is exactly the same as if you were using the client without cache.
Limiting the number of elements
You can use the second parameter of fetch
to limit the number of elements
Other
- Do you need a [custom processor] (https://github.com/desarrolla2/RSSClient/blob/master/doc/custom-process.md) ?
- API docs
Contact
You can contact with me on twitter.
All versions of rss-client with dependencies
guzzle/guzzle Version 3.*
ezyang/htmlpurifier Version 4.5.*
desarrolla2/cache Version 1.*