PTFS-Europe / rebus-list-2

rebus:list 2+ issue tracker repository
0 stars 0 forks source link

Table Of Contents - Display #348

Closed mrenvoize closed 6 years ago

mrenvoize commented 7 years ago

The 'table of contents' option on journals is poorly formatted as raw xml.. This matches RL1, but we should do better in RL2.

AndrewIsh commented 7 years ago

Looking at the journaltoc API documentation, there's no way to get the data back in anything other than RDF.

On the upside, feedparser will parse RDF feeds. On the downside, it's a node app. On the upside, we could probably Browerify it, on the downside, that might not work.

We could create a small node powered web service that runs feedparser, that would be cleaner, but would be another service to maintain.

Need to ponder...

AndrewIsh commented 7 years ago

Aha! It's not just RDF, it's RSS! Things suddenly got much simpler. There's a number of ways we can do this, just need to choose one.

AndrewIsh commented 7 years ago

Right, more findings. angular-feeds seems like a possible way forward. However it, and seemingly every other RSS feed reading library is dependent on Google Feeds which was deprecated and was supposed to stop working at the end of 2016 (though to date still seems to be working). We actually only need something that can parse RSS into a something like JSON. Digging required...

AndrewIsh commented 7 years ago

https://www.raymondcamden.com/2015/12/08/parsing-rss-feeds-in-javascript-options

AndrewIsh commented 6 years ago

Closed in https://github.com/PTFS-Europe/rebus-list/pull/2466