getCompactHeadlines API

Post plugins and custom CSS snippets here
hrk
Bear Rating Disaster
Bear Rating Disaster
Posts: 75
Joined: 24 Apr 2013, 12:39

getCompactHeadlines API

Postby hrk » 25 Jul 2013, 22:24

Hi,

I've built a plugin which adds a new API, getCompactHeadlines, which was requested by the author of News+ (former GReader) Android app to allow two way synchronization. It is hosted on GitHub (https://github.com/hrk/tt-rss-newsplus-plugin) and it was a (more or less) quick & dirty rip of the official getHeadlines API call (hence the same license).

It returns a list of ID-s without any other data, without a limit on the requested items (even 10.000 if the client is configured this way).

Fox, you have already expressed multiple times that you didn't want to make such a limitless API because you liked a different approach, however since I made it, I want to ask if you'd accept this plugin in the official source or, if not, list it in the official page.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: getCompactHeadlines API

Postby fox » 25 Jul 2013, 22:31

I'll link to this thread on the plugin index wiki page, thanks!

hrk
Bear Rating Disaster
Bear Rating Disaster
Posts: 75
Joined: 24 Apr 2013, 12:39

Re: getCompactHeadlines API

Postby hrk » 25 Jul 2013, 23:37

Thank YOU for developing an application where I can add APIs you don't like through plugins. :)

User avatar
Cthulhux
BANNED_USERS
BANNED_USERS
Posts: 28
Joined: 16 Mar 2013, 05:31

Re: getCompactHeadlines API

Postby Cthulhux » 03 Oct 2013, 04:46

Update to latest TT-RSS broke this plug-in. I added it to the system plug-ins but I can't enable it:

Image

hrk
Bear Rating Disaster
Bear Rating Disaster
Posts: 75
Joined: 24 Apr 2013, 12:39

Re: getCompactHeadlines API

Postby hrk » 03 Oct 2013, 08:57

If you mean 1.10, I was holding back for 1.11 but I'll look into it.

@Fox: any pointer to changes in 1.10 which could cause this?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: getCompactHeadlines API

Postby fox » 03 Oct 2013, 09:15


User avatar
Cthulhux
BANNED_USERS
BANNED_USERS
Posts: 28
Joined: 16 Mar 2013, 05:31

Re: getCompactHeadlines API

Postby Cthulhux » 03 Oct 2013, 18:02

The instructions say: Globally enable it by adding it to the system plugins in the config. I did.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: getCompactHeadlines API

Postby fox » 03 Oct 2013, 18:23

If you did add it correctly, then either the plugin is somehow broken or it is too old and not compatible with api 2 added in 1.8 I think. You never specified the version you updated from so I can't tell if that is the case or not.

There were no plugin breaking changes in the few latest milestones, so there's that.

User avatar
Cthulhux
BANNED_USERS
BANNED_USERS
Posts: 28
Joined: 16 Mar 2013, 05:31

Re: getCompactHeadlines API

Postby Cthulhux » 03 Oct 2013, 18:27

Hm, I thought I always use the latest version, regularly checking the "Update" tab in the prefs. :) (I wish TTRSS had a changelog file with date stamps...)
I'd assume the plug-in to be broken then. As the dev is reading here, maybe he knows better... I'm currently running 1.10.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: getCompactHeadlines API

Postby fox » 03 Oct 2013, 18:45


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: getCompactHeadlines API

Postby fox » 03 Oct 2013, 18:46

btw you can see if the plugin uses older api if it doesn't have function api_version() in it, there are manuals on the forums on how to adapt those plugins.

e: wrong word

User avatar
Cthulhux
BANNED_USERS
BANNED_USERS
Posts: 28
Joined: 16 Mar 2013, 05:31

Re: getCompactHeadlines API

Postby Cthulhux » 03 Oct 2013, 18:48


User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: getCompactHeadlines API

Postby sleeper_service » 03 Oct 2013, 19:12


User avatar
Cthulhux
BANNED_USERS
BANNED_USERS
Posts: 28
Joined: 16 Mar 2013, 05:31

Re: getCompactHeadlines API

Postby Cthulhux » 03 Oct 2013, 19:18

Yes.

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: getCompactHeadlines API

Postby sleeper_service » 03 Oct 2013, 20:54



Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 4 guests