mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-02-04 12:06:20 +00:00
update readme and dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user