rss_sync v0.2.0 RssSync.Sync
Summary
Functions
Takes an RSS feed_url
and saves it to the Storage server.
Returns {:ok, feed_url}
Takes a feed_url
, deletes it from the Storage server, and returns :ok
Starts the Sync server. Should only be called from a Supervisor
Ensures that the state of the Storage server corresponds to all its
stored remotes, then asks the Storage server to persist its data.
Returns :ok
Types
Functions
Takes an RSS feed_url
and saves it to the Storage server.
Returns {:ok, feed_url}
.
This function is basically a convenience wrapper around Storage.put
,
removing the need for manually adding meta
and entries
when saving.
Specs
delete(url) :: :ok
Takes a feed_url
, deletes it from the Storage server, and returns :ok
Specs
start_link :: {:ok, pid} | {:error, term}
Starts the Sync server. Should only be called from a Supervisor.