sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit c5ce7a565f1972dc02170e8a7e53af447972cbd7
parent 4a4bb045c8fa85604bb8ca3b72dc660a0c82083b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  3 Aug 2012 21:13:17 +0200

sfeed_opml_export: output items on a single line

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Msfeed_opml_export | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sfeed_opml_export b/sfeed_opml_export @@ -25,11 +25,7 @@ loadconfig() { # override feeds function to ouput opml XML. # feed(name, feedurl, basesiteurl, [encoding]) feed() { - cat <<! - <outline - title="$1" text="$1" - xmlUrl="$2" htmlUrl="$3"/> -! + printf '\t\t<outline title="%s" text="%s" xmlUrl="%s" htmlUrl="%s"/>\n' "$1" "$1" "$2" "$3" } # load config file.