Skip to content

Commit

Permalink
Merge pull request jaspervdj#72 from crodjer/master
Browse files Browse the repository at this point in the history
A tiny changeset and add my site
  • Loading branch information
jaspervdj committed Jul 13, 2012
2 parents 3e6a8ba + ca5fb13 commit 0f19aa9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/templates/atom.xml
Expand Up @@ -6,6 +6,7 @@
<id>$root$$url$</id>
<author>
<name>$authorName$</name>
<email>$authorEmail$</email>
</author>
<updated>$updated$</updated>
$body$
Expand Down
3 changes: 3 additions & 0 deletions src/Hakyll/Web/Feed.hs
Expand Up @@ -45,6 +45,8 @@ data FeedConfiguration = FeedConfiguration
feedDescription :: String
, -- | Name of the feed author.
feedAuthorName :: String
, -- | Email of the feed author.
feedAuthorEmail :: String
, -- | Absolute root URL of the feed site (e.g. @http://jaspervdj.be@)
feedRoot :: String
} deriving (Show, Eq)
Expand All @@ -65,6 +67,7 @@ createFeed feedTemplate itemTemplate url configuration items =
$ trySetField "title" (feedTitle configuration)
$ trySetField "description" (feedDescription configuration)
$ trySetField "authorName" (feedAuthorName configuration)
$ trySetField "authorEmail" (feedAuthorEmail configuration)
$ trySetField "root" (feedRoot configuration)
$ trySetField "url" url
$ fromBody body
Expand Down
2 changes: 2 additions & 0 deletions web/examples.markdown
Expand Up @@ -52,3 +52,5 @@ this list. This list has no particular ordering.
[source](http://gitorious.org/shakthimaan-blog)
- <http://www.alfredodinapoli.com/>,
[source](https://github.com/CharlesStain/alfredodinapoli.com)
- <http://www.rohanjain.in/>,
[source](https://github.com/crodjer/rohanjain.in)

0 comments on commit 0f19aa9

Please sign in to comment.