RSS Feed (json)

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: RSS Feed (json)

Re: RSS Feed (json)

Post by lexikos » 27 Nov 2015, 05:10

joedf wrote:... I cant simply change it since it was already in place.
That doesn't make sense. If it wasn't already in place, you would have to put it in place before you could change it. Whether you can do it simply is another matter.
jNizM wrote:easy to handle with and fat-free ^^
Is that supposed to be an answer to my question?

That's only relevant if you're going to develop an app or script which consumes the data. The forum feed is primarily for the users, using one of many RSS readers which have already been developed. It doesn't make sense to implement a JSON feed just so that you can develop a new reader which could probably only be used on this forum.

XML is not hard to handle, especially with the aid of MSXML.

I suppose that the amount of "fat" "trimmed off" by using JSON rather than XML for the feed markup would be negligible.

Re: RSS Feed (json)

Post by jNizM » 26 Nov 2015, 03:02

easy to handle with and fat-free ^^

Re: RSS Feed (json)

Post by joedf » 26 Nov 2015, 02:06

Ahhh no, no I know that. It's a question only jNizM can answer haha ;)
Agreed, however I actually was going to look for any options to add it as an additional output option. Naturally, the xml version has to be kept since it is the standard and, I cant simply change it since it was already in place. :P

Re: RSS Feed (json)

Post by lexikos » 26 Nov 2015, 01:56

I wasn't asking why JSON feeds exist. I was asking why the forum feed should be changed to JSON. Don't go changing it without a reason.

Also, "jFeed" appears to be a JavaScript library for RSS; are you sure it has something to do with JSON? The example uses "rss.xml".

Re: RSS Feed (json)

Post by joedf » 26 Nov 2015, 01:33

@Lexikos I know... It's weird.
But, apparently it isn't new... since even 2007? https://github.com/jfhovinne/jFeed http://scripting.com/stories/2012/09/10 ... rReal.html
I imagine it's for the same reason as for simply deprecating XML metadata and use JSON instead, because it is more lightweight?

@jNizM
There's no setting for it... maybe a mod could do it. :(
Anyhow, in this case... since it is a non-standard, I would recommend a conversion on the client side.

Re: RSS Feed (json)

Post by lexikos » 25 Nov 2015, 21:43

Why?

Do RSS readers typically support JSON? Can it even be called RSS if it's not XML?

Re: RSS Feed (json)

Post by joedf » 25 Nov 2015, 12:32

Hmm... I'll see if I can do something about that tonight

RSS Feed (json)

Post by jNizM » 25 Nov 2015, 06:00

How about to switch the Forum Feed from xml to json?

Top