[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8049":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},8049,"feedjira","feedjira\u002Ffeedjira","A feed parsing library","",null,"Ruby",2100,368,32,18,0,12,60.9,"Other",false,"main",[22,23,24,25],"feed-parsing","parser","rss","rss-parser","2026-06-12 04:00:37","# Feedjira\n\n[![Build Status][actions-badge]][actions] [![Code Climate][code-climate-badge]][code-climate]\n\n[actions-badge]: https:\u002F\u002Fgithub.com\u002Ffeedjira\u002Ffeedjira\u002Factions\u002Fworkflows\u002Fruby.yml\u002Fbadge.svg?branch=main\n[actions]: https:\u002F\u002Fgithub.com\u002Ffeedjira\u002Ffeedjira\u002Factions?query=branch%3Amain\n[code-climate-badge]: https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002Ffeedjira\u002Ffeedjira\u002Fbadges\u002Fgpa.svg\n[code-climate]: https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002Ffeedjira\u002Ffeedjira\n[gitter-badge]: https:\u002F\u002Fbadges.gitter.im\u002Ffeedjira\u002Ffeedjira.svg\n\nFeedjira is a Ruby library designed to parse feeds.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"feedjira\"\n```\n\n## Parsing\n\nAn example of parsing a feed with Feedjira:\n\n```ruby\nxml = HTTParty.get(url).body\nfeed = Feedjira.parse(xml)\nfeed.entries.first.title\n# => \"Announcing version 3.0\"\n```\n\n## Specifying parser\n\nIf you have the XML and just want to provide a parser class for one parse, you\ncan specify that using `parse` with the parser option:\n\n```ruby\nFeedjira.parse(xml, parser: MyAwesomeParser)\n```\n\n## Adding attributes to all feeds types \u002F all entries types\n\n```ruby\n# Add the generator attribute to all feed types\nFeedjira::Feed.add_common_feed_element(\"generator\")\nxml = HTTParty.get(\"http:\u002F\u002Fwww.pauldix.net\u002Fatom.xml\").body\nFeedjira.parse(xml).generator\n# => \"TypePad\"\n```\n\n## Adding attributes to only one class\n\nIf you want to add attributes for only one class you simply have to declare them\nin the class\n\n```ruby\n# Add some GeoRss information\nclass Feedjira::Parser::RSSEntry\n  element \"georss:elevation\", as: :elevation\nend\n\n# Fetch a feed containing GeoRss info and print them\nurl = \"https:\u002F\u002Fearthquake.usgs.gov\u002Fearthquakes\u002Ffeed\u002Fv1.0\u002Fsummary\u002Fsignificant_week.atom\"\nxml = HTTParty.get(url).body\nFeedjira.parse(xml).entries.each do |entry|\n  puts \"Elevation: #{entry.elevation}\"\nend\n```\n\n## Configuration\n\n### Parsers\n\n#### Adding a custom parser\n\nYou can insert your own parser at the front of the available parser list by:\n\n```ruby\nFeedjira.configure do |config|\n  config.parsers.unshift(MyAwesomeParser)\nend\n```\n\nNow when you call `Feedjira.parse`, `MyAwesomeParser` will be the first one to\nget a chance to parse the feed.\n\n#### Explicitly set all available parsers\n\nFeedjira can be configured to use a specific set of parsers and in a specific order:\n\n```ruby\nFeedjira.configure do |config|\n  config.parsers = [\n    Feedjira::Parser::ITunesRSS,\n    MyAwesomeParser,\n    Feedjira::Parser::RSS\n  ]\nend\n```\n\n#### Stripping whitespace from XML\n\nFeedjira can be configured to strip all whitespace but defaults to lstrip only:\n\n```ruby\nFeedjira.configure do |config|\n  config.strip_whitespace = true\nend\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps:\u002F\u002Fgithub.com\u002Ffeedjira\u002Ffeedjira. This project is intended to be a safe,\nwelcoming space for collaboration, and contributors are expected to adhere to\nthe [Contributor Covenant](http:\u002F\u002Fcontributor-covenant.org) code of conduct.\n\n## Projects that use Feedjira\n\nFeedjira is used in some awesome projects around the web - from RSS readers to\nadd-ons and everything in between. Here are some of them:\n\n* [Feedbin][]: Feedbin bills itself as a fast, simple RSS reader that delivers a\n  great reading experience. It's a paid RSS reader that integrates with mobile\n  apps and it even has a fully featured API!\n\n* [Stringer][]: Stringer is a self-hosted, anti-social RSS reader. It's an\n  open-source project that's easy to deploy to any host, there's even a\n  one-click button to deploy on Heroku.\n\n* [BlogFeeder][]: BlogFeeder is a paid Shopify App that makes it easy for you to\n  import any external blog into your Shopify store. It helps improve your\n  store's SEO and keeps your blogs in sync, plus a lot more.\n\n* [Feedbunch][]: Feedbunch is an open source feed reader built to fill the hole\n  left by Google Reader. It aims to support all features of Google Reader and\n  actually improve on others.\n\n* [The Old Reader][old]: The Old Reader advertises as the ultimate social RSS\n  reader. It's free to start and also has a paid premium version. There's an API\n  and it integrates with many different mobile apps.\n\n* [Solve for All][solve]: Solve for All combines search engine and feed parsing\n  while protecting your privacy. It's even extendable by the community!\n  \n* [Feedi API][feedi]: Feedi simplifies how you handle RSS, Atom, or JSON feeds. You can add and keep track of your favourite           feed data with a simple and clean REST API. All entries are enriched by Machine Learning and Semantic engines.\n\n* [Breaker][breaker]: The social podcast app\n\n* [Huginn][huginn]: Huginn is a system for building agents that perform automated tasks for you online.\n\n[Feedbin]: https:\u002F\u002Ffeedbin.com\u002F\n[Stringer]: https:\u002F\u002Fgithub.com\u002Fswanson\u002Fstringer\n[BlogFeeder]: https:\u002F\u002Fapps.shopify.com\u002Fblogfeeder\n[Feedbunch]: https:\u002F\u002Fgithub.com\u002Famatriain\u002Ffeedbunch\n[old]: http:\u002F\u002Ftheoldreader.com\u002F\n[solve]: https:\u002F\u002Fsolveforall.com\u002F\n[feedi]: https:\u002F\u002Fgithub.com\u002Fdavidesantangelo\u002Ffeedi\n[breaker]: https:\u002F\u002Fbreaker.audio\n[huginn]: https:\u002F\u002Fgithub.com\u002Fhuginn\u002Fhuginn\n\nNote: to get your project on this list, simply [send an email](mailto:feedjira@gmail.com)\nwith your project's details.\n","Feedjira 是一个用于解析 RSS 和 Atom 等格式的 Ruby 库。其核心功能包括通过 HTTP 请求获取并解析 XML 格式的订阅源，支持自定义解析器和属性扩展，允许用户根据需求添加新的解析逻辑或数据字段。此外，它还提供了配置选项以调整解析行为，如设置解析器优先级、去除 XML 中的空白字符等。Feedjira 适用于需要处理和展示来自不同来源的新闻、博客更新等信息的应用场景，特别适合于内容聚合服务和个人阅读器开发。",2,"2026-06-11 03:15:50","top_language"]