Forked from Redha, given here: http://tt-rss.org/forum/viewtopic.php?f=16&t=2795, updated to work with tt-rss v1.12