RSS Feed (json)

Discuss issues and requests related with the forum software
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

RSS Feed (json)

25 Nov 2015, 06:00

How about to switch the Forum Feed from xml to json?
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
joedf
Posts: 8978
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: RSS Feed (json)

25 Nov 2015, 12:32

Hmm... I'll see if I can do something about that tonight
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
lexikos
Posts: 9621
Joined: 30 Sep 2013, 04:07
Contact:

Re: RSS Feed (json)

25 Nov 2015, 21:43

Why?

Do RSS readers typically support JSON? Can it even be called RSS if it's not XML?
User avatar
joedf
Posts: 8978
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: RSS Feed (json)

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.
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
lexikos
Posts: 9621
Joined: 30 Sep 2013, 04:07
Contact:

Re: RSS Feed (json)

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".
User avatar
joedf
Posts: 8978
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: RSS Feed (json)

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
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: RSS Feed (json)

26 Nov 2015, 03:02

easy to handle with and fat-free ^^
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
lexikos
Posts: 9621
Joined: 30 Sep 2013, 04:07
Contact:

Re: RSS Feed (json)

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.

Return to “Forum Issues”

Who is online

Users browsing this forum: No registered users and 18 guests