poketo / poketo-reader

Web app for reading and following manga series
https://poketo.app
MIT License
34 stars 10 forks source link

Add JSON Feed Support #44

Closed rosszurowski closed 5 years ago

rosszurowski commented 5 years ago

This PR introduces a new route to the API to allow sharing series data as a JSON Feed.

Why bother?

Poketo's aims to democratize the reading of manga series. That might mean not using Poketo's reader. By publishing Poketo's series information as an open standard like JSON Feed, it allows people to read and get updates to manga in an RSS Reader of choice (eg. Feedbin).

Why JSON Feed?

Because it is easy to implement, and works in a few different RSS readers. It also doesn't preclude the potential to support other formats like RSS or Atom in the future.

How do I use this?

You can access a series' feed from two different places:

  1. From a series page, click on the "Open Feed" link in the header
  2. Go directly to https://poketo.app/feed/:series.json

To-do

rosszurowski commented 5 years ago

Hmm. In doing some testing, it seems like fetching full image data can't be done fast enough for timeouts in RSS readers. I'll still publish this as a way of receiving notifications, but I don't think we'll be able to respond fast enough without some aggressive caching.