yesod-newsfeed version bump

This commit is contained in:
Greg Weber 2015-10-05 11:07:26 -07:00
parent c5533f8a6c
commit 107dd60205
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
#Changelog
# Changelog
##2015-09-30:
## 1.5
###Yesod/FeedTypes.hs
### Yesod/FeedTypes.hs
* added `feedLogo` field to `Feed` type as `Maybe (url, Text)`. Should this field result in `Nothing`, nothing will be added to the feed.
* `url`: Defines the URL to the logi image
@ -12,12 +12,12 @@
* `Int`: Is the content size in bytes. RSS requires this.
* `Text`: Is the MIME-type of the enclosed file. RSS requires this
###Yesod/AtomFeed.hs
### Yesod/AtomFeed.hs
* modified `template` function to append an `<logo>url</logo>` tag at the end of the feed, when the provided `feedLogo` is not `Nothing`. This might look awkward, since it will be appended *after* the entries.
* modified `entryTemplate` to append an `<link rel="enclosure" href=url>` to the feed entry.
###Yesod/RssFeed.hs
### Yesod/RssFeed.hs
* modified `template` function to append an `<image>` tag with its three required components `<url>`, `<title>` and `<link>`. `<url>` and `<title>` will be filled from `feedLogo`, `<link>` will be `feedLinkHome`.
* modified `entryTemplate` function to append an `<enclosure type=mime length=length url=url>` to the feed entry

View File

@ -1,5 +1,5 @@
name: yesod-newsfeed
version: 1.4.0.1
version: 1.5
license: MIT
license-file: LICENSE
author: Michael Snoyman, Patrick Brisbin