{"id":14984102,"url":"https://github.com/fkrauthan/fkrsimplepiebundle","last_synced_at":"2025-04-10T19:43:34.151Z","repository":{"id":3273734,"uuid":"4313273","full_name":"fkrauthan/FkrSimplePieBundle","owner":"fkrauthan","description":"Integrates SimplePie RSS Parser into Symfony2.","archived":false,"fork":false,"pushed_at":"2022-10-09T05:37:25.000Z","size":20,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"1.0","last_synced_at":"2025-04-08T16:54:36.819Z","etag":null,"topics":["bundle","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fkrauthan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-13T09:04:23.000Z","updated_at":"2022-10-10T11:22:39.000Z","dependencies_parsed_at":"2022-09-07T14:01:59.106Z","dependency_job_id":null,"html_url":"https://github.com/fkrauthan/FkrSimplePieBundle","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fkrauthan%2FFkrSimplePieBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fkrauthan%2FFkrSimplePieBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fkrauthan%2FFkrSimplePieBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fkrauthan%2FFkrSimplePieBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fkrauthan","download_url":"https://codeload.github.com/fkrauthan/FkrSimplePieBundle/tar.gz/refs/heads/1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281424,"owners_count":21077423,"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":["bundle","php","symfony","symfony-bundle"],"created_at":"2024-09-24T14:08:26.800Z","updated_at":"2025-04-10T19:43:34.129Z","avatar_url":"https://github.com/fkrauthan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"FkrSimplePieBundle\n==================\n\nIntegrates [SimplePie](https://github.com/simplepie/simplepie) RSS Parser into Symfony and setting up caching to the symfony cache folder.\n\nInstallation\n============\n\nBring in the vendor libraries\n-----------------------------\n\nThis can be done in two different ways:\n\n**Method #1**) Use composer\n\n    \"require\": {\n        \"fkr/simplepie-bundle\": \"1.0.*@dev\"\n    }\n    \n    \n**Method #2**) Use deps file\n\t\n\t[SimplePie]\n\t    git=git://github.com/simplepie/simplepie.git\n\t\ttarget=simplepie\n\t\t\n\t[FkrSimplePieBundle]\n\t    git=git://github.com/fkrauthan/FkrSimplePieBundle.git\n\t\ttarget=bundles/Fkr/SimplePieBundle\n\n\n**Method #3**) Use git submodules\n\n    git submodule add git://github.com/simplepie/simplepie.git vendor/simplepie\n    git submodule add git://github.com/fkrauthan/FkrSimplePieBundle.git vendor/bundles/Fkr/SimplePieBundle\n\n\nRegister the SimplePie and Fkr namespaces\n-----------------------------------------\n\nThis is *not* required if you installed using composer.\n\t\n    // app/autoload.php\n    $loader-\u003eregisterNamespaces(array(\n        'Fkr'  =\u003e __DIR__.'/../vendor/bundles',\n        // your other namespaces\n    ));\n    $loader-\u003eregisterPrefixes(array(\n        'SimplePie'\t   =\u003e __DIR__.'/../vendor/simplepie/library',\n        // your other namespaces\n    ));\n\n\nAdd SimplePieBundle to your application kernel\n----------------------------------------------\n\t\n\t// app/AppKernel.php\n    public function registerBundles()\n    {\n        return array(\n            // ...\n            new Fkr\\SimplePieBundle\\FkrSimplePieBundle(),\n            // ...\n        );\n    }\n\n\nConfiguration\n=============\n\n    # app/config.yml\n    fkr_simple_pie:\n        cache_enabled: false\n        cache_dir: %kernel.cache_dir%/rss\n        cache_duration: 3600\n        idna_converter: ~ #default is false\n\n\n* cache_enabled: [true or false] enables caching for the SimplePie class\n* cache_dir: [any dir] setup the caching dir which SimplePie should use\n* cache_duration: [secs] setting up caching for number of seconds.\n* idna_converter: [true or false] enable the idna converter a [Encoder/Decoder for Internationalized Domain Names](http://dev.simplepie.org/api/class-idna_convert.html)\n\nFor more information about SimplePie's caching please visit the [SimplePie wiki](http://simplepie.org/wiki/faq/how_does_simplepie_s_caching_http_conditional_get_system_work).\n\n\nUsage\n=====\n\nTo get a configured SimplePie class instance just use the following code\n\n\t$this-\u003eget('fkr_simple_pie.rss');\n\nThe service keeps only one instance of SimplePie. If you want to use multiple feeds over your application you have to `clone` the instance to stop them interfering\n\n\t$one = clone $this-\u003eget('fkr_simple_pie.rss');\n\t$two = clone $this-\u003eget('fkr_simple_pie.rss');\n\t\nThats all. For the complete api visit the [SimplePie api doc](http://simplepie.org/wiki/reference/start).\n\n\nLicence\n=======\n\n[Resources/meta/LICENSE](https://github.com/fkrauthan/FkrSimplePieBundle/blob/master/Resources/meta/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffkrauthan%2Ffkrsimplepiebundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffkrauthan%2Ffkrsimplepiebundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffkrauthan%2Ffkrsimplepiebundle/lists"}