Implementing TTRSS: Subscribe to a Feed #92
Labels
No labels
admin tools
api
bug
documentation
duplicate
enhancement
feature
help wanted
in progress
internals
invalid
packaging
question
testing
trivial
wontfix
No project
No assignees
1 participant
Notifications
Due date
-
Dependencies
No dependencies set.
Reference: MensBeam/Arsse#92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
subscribeToFeed (API level 5 - version:1.7.6)
Subscribes to specified feed, returns a status code. See
subscribe_to_feed() in functions.php for details.
Parameters:
The return codes are:
Additionally, it -does- also return the added subscription ID for codes 0 or 1.
Because TTRSS returns the existing subscription ID upon duplication, we'll need a backend function to discover a feed URL manually (picoFeed does expose the functionality, though not terribly cleanly), probably as a static method of the Feed class.
Example output: