update readme and dependencies

This commit is contained in:
Dylan Greene
2014-12-08 10:19:29 +02:00
parent b921efd1fa
commit a897ab0248
4 changed files with 63 additions and 31 deletions

View File

@@ -25,6 +25,8 @@ var feed = new RSS(feedOptions);
* `pubDate` _optional_ **Date object or date string** The publication date for content in the feed
* `ttl` _optional_ **integer** Number of minutes feed can be cached before refreshing from source.
* `hub` _optional_ **PubSubHubbub hub url** Where is the PubSubHub hub located.
* `custom_namespaces` _optional_ **object** Put additional namespaces in <rss> element (without 'xmlns:' prefix)
* `custom_elements` _optional_ **array** Put additional elements in the feed (node-xml syntax)
### Add items to a feed
@@ -52,6 +54,7 @@ feed.item(itemOptions);
if the content should be presented as unread.
* `lat` _optional_ **number** The latitude coordinate of the item.
* `long` _optional_ **number** The longitude coordinate of the item.
* `custom_elements` _optional_ **array** Put additional elements in the item (node-xml syntax)
#### Feed XML