yesod 0.9

This commit is contained in:
Michael Snoyman 2011-07-19 09:41:00 +03:00
parent f84d26533b
commit e68851b9db
2 changed files with 8 additions and 5 deletions

View File

@ -26,7 +26,7 @@ import Yesod.Content
import Yesod.Handler import Yesod.Handler
import Yesod.Widget import Yesod.Widget
import Yesod.FeedTypes import Yesod.FeedTypes
import Text.Hamlet (Hamlet, xhamlet, hamlet, cdata) import Text.Hamlet (Hamlet, xhamlet, hamlet)
import qualified Data.ByteString.Char8 as S8 import qualified Data.ByteString.Char8 as S8
import Control.Monad (liftM) import Control.Monad (liftM)
@ -67,7 +67,10 @@ entryTemplate arg =
<link href=@{feedEntryLink arg} <link href=@{feedEntryLink arg}
<updated>#{formatW3 $ feedEntryUpdated arg} <updated>#{formatW3 $ feedEntryUpdated arg}
<title>#{feedEntryTitle arg} <title>#{feedEntryTitle arg}
<content type=html>#{cdata $ feedEntryContent arg} <content type=html>
\<![CDATA[
\#{feedEntryContent arg}
]]>
|] |]
-- | Generates a link tag in the head of a widget. -- | Generates a link tag in the head of a widget.

View File

@ -1,5 +1,5 @@
name: yesod-newsfeed name: yesod-newsfeed
version: 0.2.0 version: 0.3.0
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
author: Michael Snoyman, Patrick Brisbin author: Michael Snoyman, Patrick Brisbin
@ -13,9 +13,9 @@ homepage: http://docs.yesodweb.com/
library library
build-depends: base >= 4 && < 5 build-depends: base >= 4 && < 5
, yesod-core >= 0.8 && < 0.9 , yesod-core >= 0.9 && < 0.10
, time >= 1.1.4 && < 1.3 , time >= 1.1.4 && < 1.3
, hamlet >= 0.8 && < 0.9 , hamlet >= 0.9 && < 0.10
, bytestring >= 0.9 && < 0.10 , bytestring >= 0.9 && < 0.10
, text >= 0.9 && < 1.0 , text >= 0.9 && < 1.0
exposed-modules: Yesod.AtomFeed exposed-modules: Yesod.AtomFeed