This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

liferea: ssl/https support

workaround for https feed
Added by over 3 years ago

Old way

I am using Liferea 1.4.28 with GNUTLS support. This means that I can use feed URL which is started by https://. In fact, Liferea reported error when parsing the following feed:

https://xx.xx.xx.xx/dmirror/http/www.voanews.com/vietnamese/customCF/RecentStoriesRSS.cfm?keyword=TopStories

(this is a mirror site of http://voanews.com/)

Luckily that Liferea allows me to change to way the feed is fetched from server. Instead of downloading feed by the internal process of Liferea, we may bypass the problem by using curl:

curl -k <feed_url>

(You can do this by go to "Feed properties / Source / Use command")

Cool :)

Updated

The problem is almost solved... except that the article's links aren't transformed. So we should use a local command for this task

#!/bin/bash

src="https://xx.xx.xx.xx/dmirror/http/www.voanews.com/vietnamese/customCF/RecentStoriesRSS.cfm?keyword=TopStories" 

curl -s -k $src \
|sed -e s#http://www.voanews.com/#https://xx.xx.xx.xx/dmirror/http/www.voanews.com/#g

Reference: http://liferea.sourceforge.net/scraping.htm


Comments