The gofeed library is a robust feed parser that supports parsing both RSS, Atom and JSON feeds. The library provides a universal gofeed. Parser that will parse and convert all feed types into a hybrid gofeed.Feed model. You also have the option of utilizing the feed-specific atom. Parser or RSS. Parser or JSON. Parser parsers generate atoms. Feed, RSS.Feed and JSON. Feed respectively. The gofeed library is comprised of a universal feed parser and several feed-specific parsers. Which one you choose depends entirely on your use case. If you will be handling RSS, atom and JSON feed then it makes sense to use the gofeed. If you know ahead of time that you will only be parsing one feed type then it would make sense to use RSS. Parser or atom.Parser or JSON. The universal gofeed.Parser works in 3 stages, detection, parsing and translation. It first detects the feed type that it is currently parsing.

Features

  • Use gofeed.Parser to parse an arbitrary RSS or Atom feed into the hybrid gofeed.Feed model
  • This hybrid model allows you to treat RSS, Atom and JSON feeds the same
  • The gofeed library provides two feed specific parsers
  • Marginally faster because you are able to skip the translation step
  • You can easily use the rss. Parser , atom.Parser or json.Parser directly if you have a usage scenario that requires it
  • Instantiate Parser with BasicAuthentication

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow gofeed

gofeed Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gofeed!

Additional Project Details

Programming Language

Go

Related Categories

Go Frameworks

Registered

2022-03-28