{"id":13586831,"url":"https://github.com/damog/feedbag","last_synced_at":"2025-04-07T18:35:02.174Z","repository":{"id":466425,"uuid":"91109","full_name":"damog/feedbag","owner":"damog","description":"Ruby's favorite feed auto-discovery library/tool","archived":false,"fork":false,"pushed_at":"2023-01-24T01:15:42.000Z","size":106,"stargazers_count":133,"open_issues_count":3,"forks_count":42,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-04T22:05:33.057Z","etag":null,"topics":["atom","atom-feed","autodiscovery","feed","feeds","rss","rss-feed","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/damog.png","metadata":{"files":{"readme":"README.markdown","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-12-16T01:41:59.000Z","updated_at":"2024-02-15T22:54:52.000Z","dependencies_parsed_at":"2023-02-13T08:05:26.889Z","dependency_job_id":null,"html_url":"https://github.com/damog/feedbag","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damog%2Ffeedbag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damog%2Ffeedbag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damog%2Ffeedbag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damog%2Ffeedbag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damog","download_url":"https://codeload.github.com/damog/feedbag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223290271,"owners_count":17120880,"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":["atom","atom-feed","autodiscovery","feed","feeds","rss","rss-feed","ruby"],"created_at":"2024-08-01T15:05:50.420Z","updated_at":"2024-11-06T05:30:47.761Z","avatar_url":"https://github.com/damog.png","language":"Ruby","readme":"Feedbag\n=======\n\nFeedbag is Ruby's favorite auto-discovery tool/library!\n\n### Quick synopsis\n\n```ruby\n\u003e\u003e require \"feedbag\"\n=\u003e true\n\u003e\u003e Feedbag.find \"damog.net/blog\"\n=\u003e [\"http://damog.net/blog/atom.xml\"]\n\u003e\u003e Feedbag.feed? \"perl.org\"\n=\u003e false\n\u003e\u003e Feedbag.feed?(\"https://m.signalvnoise.com/feed\")\n=\u003e true\n```\n\n### Installation\n\n    $ gem install feedbag\n\nOr just grab feedbag.rb and use it on your own project:\n\n    $ wget https://raw.githubusercontent.com/damog/feedbag/master/lib/feedbag.rb\n\nYou can also use the command line tool for quick queries, if you install the gem:\n\n    » feedbag https://www.ruby-lang.org/en/\n    == https://www.ruby-lang.org/en/:\n    - https://www.ruby-lang.org/en/feeds/news.rss\n    \n\n### Usage\nFeedbag will find all RSS feed types.  Here's an example of finding ATOM and JSON Feed\n\n```ruby\n\u003e Feedbag.find('https://daringfireball.net')\n=\u003e [\"https://daringfireball.net/feeds/main\", \"https://daringfireball.net/feeds/json\", \"https://daringfireball.net/linked/2021/02/17/bookfeed\"]\n```\n\nFeedbag defaults to a User-Agent string of **Feedbag/1.10.2**, however you can override this\n\n```ruby\n0\u003e Feedbag.find('https://kottke.org', 'User-Agent' =\u003e \"My Personal Agent/1.0.1\")\n=\u003e [\"http://feeds.kottke.org/main\", \"http://feeds.kottke.org/json\"]\n````\n\nThe other options passed to find, will be passed to OpenURI. For example:\n\n```ruby\nFeedbag.find(\"https://kottke.org\", 'User-Agent' =\u003e \"My Personal Agent/1.0.1\", open_timeout: 1000)\n```\n\nYou can find the other options to OpenURI [here](https://rubyapi.org/o/openuri/openread#method-i-open).\n\n\n### Why should you use it?\n\n- Because it only uses [Nokogiri](http://nokogiri.org/) as dependency.\n- Because it follows modern feed filename conventions (like those ones used by WordPress blogs, or Blogger, etc).\n- Because it's a single file you can embed easily in your application.\n- Because it's faster than anything else.\n\n### Author\n\n[David Moreno](http://damog.net/) \u003c[damog@damog.net](mailto:damog@damog.net)\u003e.\n\n### Donations\n\n![Superfeedr](https://raw.githubusercontent.com/damog/feedbag/master/img/superfeedr_150.png)\n\n[Superfeedr](http://superfeedr.com) has kindly financially [supported](https://github.com/damog/feedbag/issues/9) the development of Feedbag.\n\n### Copyright\n\nThis is and will always be free software. See [COPYING](https://raw.githubusercontent.com/damog/feedbag/master/COPYING) for more information.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamog%2Ffeedbag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamog%2Ffeedbag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamog%2Ffeedbag/lists"}