Feeds

Maintainer:Nick Jennings ni.nosp@m.ck@silverbu.nosp@m.cket.net
Version:1.0.0

This module stores RSS/Atom feeds.  It is used by https://dogfeed.5apps.com/

Summary
Feeds
Functions
removeRemove the record, as specified by url.
createAdd a new record.
updateUpdate an existing record.
getGet a record by url

Functions

remove

remove: function (url)

Remove the record, as specified by url.

Parameters

urlurl of record to remove

Returns

return a promise which is resolved upon successful deletion of record.

create

create: function (obj)

Add a new record.

Parameters

objthe JSON object to use

Returns

return a promise which is resolved with the saved object upon completion (with fields `id` and `date_created` etc.)

update

update: function (obj)

Update an existing record.

Parameters

objthe JSON object to use (must contain existing ID)

Returns

return a promise which is resolved with the updated object upon completion

get

get: function (url)

Get a record by url

Parameters

urlurl of record to fetch.

Returns

return a promise which is resolved with the desired object if it exists.

remove: function (url)
Remove the record, as specified by url.
create: function (obj)
Add a new record.
update: function (obj)
Update an existing record.
get: function (url)
Get a record by url
Close