Coder Social home page Coder Social logo

redwoodtj / tt-rss-newsplus-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from voidstern/tt-rss-newsplus-plugin

0.0 1.0 0.0 35 KB

Tiny-Tiny-RSS plugin to allow two way synchronization with the News+ Android app

License: GNU General Public License v3.0

PHP 100.00%

tt-rss-newsplus-plugin's Introduction

TT-RSS News+ plugin

This is a plugin for Tiny-Tiny-RSS web based news feed reader and aggregator.

It adds a new API (getCompactHeadlines) to allow faster two-way synchronzation between an instance of TT-RSS and the News+ Android app or Fiery Feeds on iOS.

The plugin requires (at least) version 1.8 of Tiny-Tiny-RSS.

API Reference

getCompactHeadlines

Returns a JSON-encoded list of IDs of headlines matching the input parameters.

Parameters:

  • feed_id (integer/string) - only output articles for this feed (see below)
  • limit (integer) - limits the amount of returned articles (see below)
  • skip (integer) - skip this amount of feeds first
  • view_mode (string = all_articles, unread, adaptive, marked, updated)
  • since_id (integer) - only return articles with id greater than since_id

Notes:

  • Limit: contrary to the standard getHeadlines API call, there is no hardcoded limit. If not specified, the default is set to 20.
  • feed_id: feeds between -10 and 0 have a special meaning.
  • 0: archived
  • -1: starred
  • -2: published
  • -3: fresh
  • -4: all articles
  • -6: recently read
  • IDs < -10: labels
  • textual feed_id: browsing by tags

Installation

To install this plugin you can either clone the repository or download a zip file, then extract it in your own tt-rss/plugin/ directory.

You should have a new "api_newsplus" directory under plugins.

Configuration for a single user

Log-in to your TT-RSS instance and go into the preferences. Scroll to plugins and enable "api_newsplus". It will be listed under the system plugins.

Automatic configuration for every user

Edit your config.php and add "api_newsplus" to the list of system plugins. It will be automatically enabled for every user.

License

This code is licensed under GPLv3. Although I am not a personal fan of the v3, since this code was built upon the existing source of TT-RSS, it inherits the same license.

tt-rss-newsplus-plugin's People

Contributors

hrk avatar voidstern avatar gregthib avatar afischer211 avatar powerivq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.