{"id":21421518,"url":"https://github.com/desarrolla2/rssclient","last_synced_at":"2025-07-14T08:30:34.628Z","repository":{"id":4897480,"uuid":"6053328","full_name":"desarrolla2/RSSClient","owner":"desarrolla2","description":"Service for provide RSS client in your website","archived":false,"fork":false,"pushed_at":"2014-02-22T09:10:33.000Z","size":950,"stargazers_count":34,"open_issues_count":0,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-01T06:53:42.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desarrolla2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-02T23:51:50.000Z","updated_at":"2024-02-15T09:48:05.000Z","dependencies_parsed_at":"2022-08-18T00:21:42.925Z","dependency_job_id":null,"html_url":"https://github.com/desarrolla2/RSSClient","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/desarrolla2/RSSClient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desarrolla2%2FRSSClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desarrolla2%2FRSSClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desarrolla2%2FRSSClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desarrolla2%2FRSSClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desarrolla2","download_url":"https://codeload.github.com/desarrolla2/RSSClient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desarrolla2%2FRSSClient/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265262588,"owners_count":23736422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T20:35:43.112Z","updated_at":"2025-07-14T08:30:34.258Z","avatar_url":"https://github.com/desarrolla2.png","language":"PHP","readme":"# Warning !!\n\nRSSClient will not be updated, you should consider migrating to FastFeed https://github.com/FastFeed/FastFeed\n\n# RSSClient\n\nRSSClient is a simple to use RSS library to fetch and use RSS feeds. RSSClient is very fast!\n\n[![Build Status](https://secure.travis-ci.org/desarrolla2/RSSClient.png)](http://travis-ci.org/desarrolla2/RSSClient) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/desarrolla2/RSSClient/badges/quality-score.png?s=7a7212c89918ef32a6deaf517d2e9a6dbf62aff1)](https://scrutinizer-ci.com/g/desarrolla2/RSSClient/) [![Code Coverage](https://scrutinizer-ci.com/g/desarrolla2/RSSClient/badges/coverage.png?s=63d93e31dc96210e3e531c741c66d6a80bb028d2)](https://scrutinizer-ci.com/g/desarrolla2/RSSClient/)\n\n[![Latest Stable Version](https://poser.pugx.org/desarrolla2/rss-client/v/stable.png)](https://packagist.org/packages/desarrolla2/rss-client) [![Total Downloads](https://poser.pugx.org/desarrolla2/rss-client/downloads.png)](https://packagist.org/packages/desarrolla2/rss-client)  [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/desarrolla2/rssclient/trend.png)](https://bitdeli.com/desarrolla2)\n\n## Formats Supported\n\n* [RSS2.0](http://cyber.law.harvard.edu/rss/rss.html)\n* [Atom1.0](http://tools.ietf.org/html/rfc4287)\n\n## Installation\n\n### With Composer\n\nIt is best installed it through [packagist](http://packagist.org/packages/desarrolla2/rss-client) \nby including `desarrolla2/rss-client` in your project composer.json require:\n\n``` json\n    \"require\": {\n        // ...\n        \"desarrolla2/rss-client\":  \"dev-master\"\n    }\n```\n\n### Without Composer\n\nYou can also download it from [Github] (https://github.com/desarrolla2/RSSClient), \nbut no autoloader is provided so you'll need to register it with your own PSR-0 \ncompatible autoloader.\n\n## Usage\n\n### Without Cache\n\nThis example does not use any cache, so it probably will be too slow to be used on \na website, you should implement your system cache, or use the cache system described below\n\n``` php\n\u003c?php\n\nuse Desarrolla2\\RSSClient\\RSSClient;\n\n$client = new RSSClient();\n\n$client-\u003eaddFeeds(\n    array(\n        'http://news.ycombinator.com/rss',\n        'http://feeds.feedburner.com/TechCrunch/',\n    ),\n    'news'\n);\n\n$feeds = $client-\u003efetch('news');\n\n```\n\n### With Cache\n\nThis example uses the cache implemented by `desarrolla2/cache` you must\nselect the adapter depending on your needs, you can find all the info in the \n[Github repository] (https://github.com/desarrolla2/Cache).\n\n``` php\n\u003c?php\n\n// It is important that you select and configure your cache adapter\n$client = new RSSClient();\n$client-\u003esetCache(new Cache(new File('/tmp')));\n\n```\n\nYou can see how to configure desarrolla2/cache in its [README] (https://github.com/desarrolla2/Cache)\n\nThe rest of the procedure is exactly the same as if you were using the client without cache.\n\n``` php\n\u003c?php\n\n$client-\u003eaddFeeds(\n    array(\n        'http://news.ycombinator.com/rss',\n        'http://feeds.feedburner.com/TechCrunch/',\n    ),\n    'news'\n);\n\n$feeds = $client-\u003efetch('news');\n\n```\n\n### Limiting the number of elements\n\nYou can use the second parameter of `fetch` to limit the number of elements\n\n``` php\n\u003c?php\n\n$feeds = $client-\u003efetch('news', 20);\n\n```\n\n## Other\n\n* Do you need a [custom processor] (https://github.com/desarrolla2/RSSClient/blob/master/doc/custom-process.md) ?\n* [API docs](http://rssclient.desarrolla2.com/api/namespaces/Desarrolla2.RSSClient.html)\n\n\n## Contact\n\nYou can contact with me on [twitter](https://twitter.com/desarrolla2).\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesarrolla2%2Frssclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesarrolla2%2Frssclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesarrolla2%2Frssclient/lists"}