feed

Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.

https://github.com/bergmark/feed

Version on this page:0.3.12.0
LTS Haskell 22.9:1.3.2.1@rev:2
Stackage Nightly 2024-03-14:1.3.2.1@rev:4
Latest on Hackage:1.3.2.1@rev:4

See all snapshots feed appears in

BSD-3-Clause licensed by Sigbjorn Finne
Maintained by Adam Bergmark
This version can be pinned in stack with:feed-0.3.12.0@sha256:c18c305d482ded54463d45d38bc131774128e89278add7ef8ce660dde7abeedf,2937

feed Build Status

Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.

To help working with the multiple feed formats we’ve ended up with, this set of modules provides parsers, pretty printers and some utility code for querying and just generally working with a concrete representation of feeds in Haskell.

See here for an example of how to create an Atom feed.

For basic reading and editing of feeds, consult the documentation of the Text.Feed.* hierarchy.

Changes

0.3.12.0

  • Adds support for some fallback parsing of atom feeds to XMLFeed (thanks to Joey Hess)

0.3.11.1

  • Add missing file to dist of test-suite (thanks to Sergei Trofimovich)

0.3.11.0

  • Add toFeedDateStringUTC which uses UTCTime rather than ClockTime (thanks to Emanuel Borsboom)
  • Now with explicit export lists!

0.3.10.4

  • Fix toFeedDateString time format, It used %s (seconds since epoch) instead of %S (seconds of minute), and %m (month) instead of %M (minute) (thanks to Emanuel Borsboom)

0.3.10.3

  • RSS Export: avoid attribute (thanks to Roman Cheplyaka)

0.3.10.2

  • The Atom RFC says that when a link element doesn’t specify the “rel” attribute, i.e. link relation, it should be interpreted as an “alternate” relation. This makes the feed and item query functions treat a missing relation as “alternate”.

0.3.10.1

  • Allow HUnit 1.3.*

0.3.10.0

  • Add Text.Feed.Import.parseFeedSource :: XmlSource s => s -> Maybe Feed (thanks to Dmitry Dzhus)

0.3.9.7

  • Add missing modules in test-suite

0.3.9.6

0.3.9.5

  • Fix typo “skipDayss” -> “skipDays” in Text.RSS.Export (thanks to Daniele Francesconi)

0.3.9.4

  • Update maintainer information
  • Add test suite

0.3.9.3

  • Add support for utf8-string >= 1 && < 1.1 and time 1.5.*

0.3.9.1

  • add ref to github repo + .cabal tidying.

0.3.9

  • tidy up compilation with ghc-7.6(.3), bumped version (but no functional changes.)

0.3.8

  • cabal build fixes.

0.3.7

  • parsing: made be optional.
  • parsing: try if is missing.