HORIZON HASKELLDocslts/ghc-10.0.x8c2f8e82026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19

Modulehakyll-4.17.0.0Haskell2010

Hakyll.Web.Feed

A Module that allows easy rendering of RSS feeds.

The main rendering functions (renderRss, renderAtom) all assume that you pass the list of items so that the most recent entry in the feed is the first item in the list.

Also note that the context should have (at least) the following fields to produce a correct feed:

  • $title$: Title of the item

  • $description$: Description to appear in the feed

  • $url$: URL to the item - this is usually set automatically.

In addition, the posts should be named according to the rules for dateField

Note that for XML-based feeds (i.e. Atom and RSS) field values are not escaped! However, the default renderRss and renderAtom functions will validate the produced XML. Use the -NoValidate functions instead if you need to skip this validation.

  • 1 type
  • 11 values
  • Packagehakyll-4.17.0.0
  • Exports12
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceFeed.hs
datadata FeedConfiguration
#

This is a data structure to keep the configuration of a feed.

Constructors

Instances2Eq, Show