On 19/01/14 16:47, David Smith wrote: > Hello! > How did you add this feed? Did you click the New Subscription button or > did you use some other way? I tried clicking the new subscription > button and I pasted in > > https://fsfe.org/news/news.en.rss > > And it result in no problems or errors and the feed loaded ok. > > Also, do you have an HTTP proxy configured in your settings? >
Hey, I forgot to say this was using the 'liferea-add-feed' script as called by iceweasel, no HTTP Proxy. I've done some investigation and this is what I've found... Iceweasel sends a normal unencrypted http url to `liferea-add-feed` with 'feed:' syntax : e.g. "http://silentcircle.wordpress.com/feed/" becomes: "feed://silentcircle.wordpress.com/feed/" BUT an https:// URL is badly formatted: "https://fsfe.org/news/news.en.rss" becomes: "feed:https://fsfe.org/news/news.en.rss" ...which liferea doesn't handle well. I managed to change the liferea-add-feed script to support the https URL's, though it seems it is actually iceweasel providing a strange URL? Attached is new version of liferea-add-feed which makes it work how I expect if you're interested. Thanks for such a quick response!
#!/bin/sh # This script can be used to automatically add # subscriptions to Liferea. Just supply a valid # and correctly escaped feed URL as parameter. if [ $# -ne 1 ]; then echo "Wrong parameter count!" echo "" echo "Syntax: $0 <feed URL>" echo "" exit 1 fi URL=$1 if ! pgrep -x liferea >/dev/null 2>&1; then echo "Liferea is not running! You need to start it first." exit 1 fi NEWURL=`echo "$URL" | sed 's/feed\:https/https/'` /usr/bin/liferea --add-feed "$NEWURL"