config.js options for podcast

23 views
Skip to first unread message

Raffaele Angius

unread,
Nov 19, 2017, 9:03:56 AM11/19/17
to river5
Hi everybody, from today I'm the fortunate owner of my own river5 on a brand new server. I've been using it for months thanks to a friend who shared his own server, but it's time to grow and to learn new things! So my first noob question is: to make river5 not downloading any podcast am I supposed to "nano config.js" and to add

"flDownloadPodcasts": false

in it, right?

So it would be like:

{
    "maxRiverItems": 300,
    "flDownloadPodcasts": false
    "homePage": {
        "panels": [
            {
                "title": "Main",
                "river": "myOpmlFeeds.js"
                },
            {
                "title": "NYT",
                "river": "nyt.js"
                },
            {
                "title": "Hacker News",
                "river": "hn.js"
                }
            ]
        }
}

I'm sorry if this sounds like a dumb question, but it's my first moves in this field!
 

Dave Winer

unread,
Nov 19, 2017, 9:15:59 AM11/19/17
to riv...@googlegroups.com
First, it's not a dumb question. :-)

Second, yes that's correct, but you'd better put a comma at the end of the line you added, or it won't be valid JSON, and it won't work if it's not valid. 

I added the comma below. 


{
    "maxRiverItems": 300,
    "flDownloadPodcasts": false,
    "homePage": { 
        "panels": [
            {
                "title": "Main",
                "river": "myOpmlFeeds.js"
                },
            {
                "title": "NYT",
                "river": "nyt.js"
                },
            {
                "title": "Hacker News",
                "river": "hn.js"
                }
            ]
        }
}


You can check the validity of the JSON by using a syntax checker like https://jsonlint.com/.

Dave



 

--
Repo: https://github.com/scripting/river5
---
You received this message because you are subscribed to the Google Groups "river5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to river5+unsubscribe@googlegroups.com.
To post to this group, send email to riv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/river5/c6495f20-949a-4b6c-ad41-3badef53377b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raffaele Angius

unread,
Nov 19, 2017, 10:44:32 AM11/19/17
to river5
Thank you! It works perfectly
Reply all
Reply to author
Forward
0 new messages