sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 303b26115fa995808b9238f1b4814fd7a7eb2f13
parent b38fc714cd030758c56e2ce1490143bb828fbef8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 25 May 2015 21:27:05 +0200

sfeed_update: dont sort on feedurl

feed urls sometimes change and is not important for the order.

Diffstat:
Msfeed_update | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed_update b/sfeed_update @@ -35,10 +35,10 @@ loadconfig() { # merge(oldfile, newfile) merge() { # unique sort by id, link, title. - # order by feedname (asc), feedurl (asc) and timestamp (desc). + # order by feedname (asc), timestamp (desc). (cat "$1" "$2" 2> /dev/null) | sort -t ' ' -u -k7,7 -k4,4 -k3,3 | - sort -t ' ' -k10,10 -k11,11 -k1r,1 + sort -t ' ' -k10,10 -k1r,1 } # fetch a feed via HTTP/HTTPS etc.