{"id":19154627,"url":"https://github.com/funstaff/funstafffeedbundle","last_synced_at":"2025-07-31T06:35:11.962Z","repository":{"id":1872552,"uuid":"2797776","full_name":"Funstaff/FunstaffFeedBundle","owner":"Funstaff","description":"Feed Generator for Symfony2","archived":false,"fork":false,"pushed_at":"2011-12-16T20:12:29.000Z","size":116,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T21:27:58.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Funstaff.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":"2011-11-17T18:56:40.000Z","updated_at":"2015-07-29T01:58:20.000Z","dependencies_parsed_at":"2022-07-08T02:10:26.035Z","dependency_job_id":null,"html_url":"https://github.com/Funstaff/FunstaffFeedBundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Funstaff/FunstaffFeedBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Funstaff%2FFunstaffFeedBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Funstaff%2FFunstaffFeedBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Funstaff%2FFunstaffFeedBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Funstaff%2FFunstaffFeedBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Funstaff","download_url":"https://codeload.github.com/Funstaff/FunstaffFeedBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Funstaff%2FFunstaffFeedBundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267998894,"owners_count":24178651,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T08:27:38.680Z","updated_at":"2025-07-31T06:35:11.903Z","avatar_url":"https://github.com/Funstaff.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"FunstaffFeedBundle\n==================\n\nUnder development\n\n\nConfiguration\n-------------\n    funstaff_feed:\n        channels:\n            FeedTitle:\n                title:  'Feed title'\n                description:    'Feed Description'\n                link:           'http://feed/url'\n                language:       ~\n                copyright:      ~\n                managingEditor: ~\n                webMaster:      ~\n                pubDate:        ~\n                lastBuildDate:  ~\n                category:       [cat1, cat2, cat3]\n                docs:           ~\n                cloud:          [\n                                    domain: \"rpc.sys.com\"\n                                    port: \"80\"\n                                    path: \"/RPC2\"\n                                    registerProcedure: \"pingMe\"\n                                    protocol=\"soap\"\n                                ]\n                ttl:            ~\n                rating:         ~\n                image:          ~\n                rating:         ~\n                textInput:      ~\n                skipHours:      ~\n                skipDays:       ~\n                encoding:       ~ (default: UTF-8)\n\nThe fields title, description and link are mandatory\n\n\nUse\n---\n\nImplement FeedItemInterface on your entity and add 3 mandatories methods:\n    - getFeedTitle\n    - getFeedLink\n    - getFeedDescription\n\n    use Funstaff\\FeedBundle\\Feed\\FeedItemInterface;\n    \n    class New implements FeedItemInterface\n    {\n        ...\n        function getFeedTitle()\n        {\n            return $this-\u003etitle;\n        }\n        \n        function getFeedLink()\n        {\n            return array('id' =\u003e $this-\u003eid);\n        }\n        \n        function getFeedDescription()\n        {\n            return $this-\u003eabstract;\n        }\n    }\n\nAnother fields are optionals.\n\n\nIn your controller:\n\n    $results = $this-\u003eget('doctrine')\n                -\u003egetRepository('FooBarBundle:Foo')\n                -\u003efindAll();\n    \n    $feed = $this-\u003eget('funstaff_feed.factory')\n                -\u003ecreateFeed('FeedTitle', '201')\n                -\u003eaddItems($results, 'FooShow')\n                -\u003erender();\n    \n    $response = new Response($feed);\n    $response-\u003eheaders-\u003eset('Content-Type', 'text/xml');\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunstaff%2Ffunstafffeedbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunstaff%2Ffunstafffeedbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunstaff%2Ffunstafffeedbundle/lists"}