entryTemplate :: FeedEntry url -> Hamlet url
entryTemplate arg = 
#if __GLASGOW_HASKELL__ >= 700
    [xhamlet|
#else
    [$xhamlet|
#endif
    <item
        <title>#{feedEntryTitle arg}
        <link>@{feedEntryLink arg}
        <guid>@{feedEntryLink arg}
        <pubDate>#{formatRFC822 $ feedEntryUpdated arg}
        <description>#{feedEntryContent arg}
    |]
entryTemplate :: FeedEntry url -> Hamlet url
entryTemplate arg = 
#if __GLASGOW_HASKELL__ >= 700
    [xhamlet|
#else
    [$xhamlet|
#endif
    <item
        <title>#{feedEntryTitle arg}
        <link>@{feedEntryLink arg}
        <guid>@{feedEntryLink arg}
        <pubDate>#{formatRFC822 $ feedEntryUpdated arg}
        <description>#{feedEntryContent arg}
    |]
entryTemplate arg = 
#if __GLASGOW_HASKELL__ >= 700
    [xhamlet|
#else
    [$xhamlet|
#endif
    <item
        <title>#{feedEntryTitle arg}
        <link>@{feedEntryLink arg}
        <guid>@{feedEntryLink arg}
        <pubDate>#{formatRFC822 $ feedEntryUpdated arg}
        <description>#{feedEntryContent arg}
    |]