Invalid JSON and a quick bugfix

4 views
Skip to first unread message

Les Orchard

unread,
Nov 2, 2011, 12:11:13 AM11/2/11
to river2, Dave Winer
Heya, just getting back into river2 after the Google Readerpocalypse.
I ran into an issue with invalid JSON on my river page with a feed
whose title was ""groovymother"" (quotes and all).

I managed to fix it with a tweak to river2Suite.viewJsonNews3, like
so:

add ("\"feedTitle\": \"" + encode(adrfeedinfo^.title) + "\",") //
Added the encode()

Dave Winer

unread,
Nov 2, 2011, 9:54:59 AM11/2/11
to river2
Reply all
Reply to author
Forward
0 new messages