documentation fixes

This commit is contained in:
patrick brisbin 2011-01-18 17:41:55 -05:00
parent be89f673ae
commit 45265660f7
2 changed files with 12 additions and 3 deletions

View File

@ -14,8 +14,7 @@
--
---------------------------------------------------------
-- | Generation of Atom newsfeeds. See
-- <http://en.wikipedia.org/wiki/Atom_(standard)>.
-- | Generation of Atom newsfeeds.
module Yesod.Helpers.AtomFeed
( atomFeed
, atomLink

View File

@ -8,9 +8,12 @@
-- Stability : Stable
-- Portability : Portable
--
-- Generic Feed and Feed Entry data types that can be used as either and
-- Generic Feed and Feed Entry data types that can be used as either an
-- Rss feed or an Atom feed (or both, or other).
--
-- Atom spec: <http://en.wikipedia.org/wiki/Atom_(standard)>
-- Rss spec: <http://www.rssboard.org/rss-specification#sampleFiles>
--
-------------------------------------------------------------------------------
module Yesod.Helpers.Feed
( Feed(..)
@ -25,8 +28,15 @@ data Feed url = Feed
{ feedTitle :: String
, feedLinkSelf :: url
, feedLinkHome :: url
-- | note: currently only used for Rss
, feedDescription :: Html
-- | note: currently only used for Rss, possible values:
-- <http://www.rssboard.org/rss-language-codes>
, feedLanguage :: String
, feedUpdated :: UTCTime
, feedEntries :: [FeedEntry url]
}