yesod-newsfeed version bump
This commit is contained in:
parent
c5533f8a6c
commit
107dd60205
@ -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.
|
* 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
|
* `url`: Defines the URL to the logi image
|
||||||
@ -12,12 +12,12 @@
|
|||||||
* `Int`: Is the content size in bytes. RSS requires this.
|
* `Int`: Is the content size in bytes. RSS requires this.
|
||||||
* `Text`: Is the MIME-type of the enclosed file. 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 `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.
|
* 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 `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
|
* modified `entryTemplate` function to append an `<enclosure type=mime length=length url=url>` to the feed entry
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: yesod-newsfeed
|
name: yesod-newsfeed
|
||||||
version: 1.4.0.1
|
version: 1.5
|
||||||
license: MIT
|
license: MIT
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Michael Snoyman, Patrick Brisbin
|
author: Michael Snoyman, Patrick Brisbin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user