Ticket #62 (closed task: fixed)

Opened 3 years ago

Last modified 1 year ago

painting

Reported by: anonymous Assigned to: fox
Priority: blocker Milestone: 1.2.13
Component: interface Version: 1.1.2
Keywords: painting Cc: painting

Description

i think it would be a good idea to expose an api. This would make it so integrating to tt-rss would be easy. For example, lets say I use Feedreader X (some random rss feed reader) at home because I love the ui/experience, but I can't install it on my work computer. So, at work i use tt-rss. I don't want to reread the articles i read while at work when I go home, so it would be nice if it kept these in sync. If you exposed the api, someone could write a plugin to their favorite feedreader to do this.

In addition, with FireFox?2.0 coming around soon, there is an option to subscribe to feeds. TT-RSS's API could then be used to allow subscriptions that way.

Change History

05/15/06 20:01:45 changed by fox

  • status changed from new to assigned.

It's a nice idea. Although I won't promise it soon, I'm very tied up at the moment.

And, frankly, backend API is a mess, although it allows for both things you mentioned.

05/15/06 20:41:02 changed by anonymous

hopefully you will get it done one of these days, it might be the thing that puts tt-rss on the map

05/15/06 21:46:44 changed by fox

Started work in ApiReference. Any willing parties are welcome to join, as usual.

05/16/06 07:36:11 changed by anonymous

I found this(http://dasblog.info/blogger.aspx) for another online rss reader. it seems pretty thorough. it uses xml-rpc. There are other programs that already integrate to it. It might not be a bad idea to implement this...

05/16/06 08:00:23 changed by anonymous

sorry i didn't mean that last one, i meant: http://www.bloglines.com/services/api/sync

05/16/06 15:36:19 changed by fox

XML-RPC server seems like a good idea. I have added method to subscribe feed into dev. version (see ApiReference). Any other method ideas are welcome.

05/16/06 18:22:20 changed by anonymous

what about some sort of way to mark an entry read/unread and a way to get entries out, kinda like the bloglines one

05/16/06 20:15:19 changed by fox

Added several methods (getFeedHeadlines, getArticle, articleSetMarked/Unread)

05/16/06 21:04:53 changed by fox

  • milestone set to 1.1.7.

05/23/06 08:02:21 changed by Syntoad

I think the arguments to the functions need to be reversed, making user and password the last arguments. Otherwise they will be unusable if you have login disabled.

05/23/06 13:46:57 changed by fox

In single user mode login & password are ignored, default user is assumed automatically (I'll mention it in the wiki)

05/24/06 18:33:41 changed by Syntoad

Even if they are ignored it just makes more sense to me to do: rss.subscribeToFeed("http://blah.com/rss.xml") instead of rss.subscribeToFeed("none", "none", "http://blah.com/rss.xml") Or is there some reason for the order?

05/24/06 18:41:47 changed by fox

As far as I undersdand it, xml-rpc method signature will force you to call rss.subscribeToFeed("url", "none", "none") anyway, at least my test client tells me that parameter count is incorrect otherwise.

There is no big reason, but I don't see an improvement and am kind of lazy to change all methods anyway.

06/13/06 21:51:40 changed by fox

  • status changed from assigned to closed.
  • resolution set to fixed.

Any suggestions can still go here, just don't reopen the ticket.

07/07/07 05:17:43 changed by anonymous

  • priority changed from wishlist to blocker.
  • type changed from enhancement to task.
  • version set to 1.1.2.
  • component changed from backend to interface.
  • milestone changed from 1.2.0 to 1.2.13.