summaryrefslogtreecommitdiff
path: root/sfeed_opml_export
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2012-08-03 21:13:17 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2012-08-03 21:13:17 +0200
commitc5ce7a565f1972dc02170e8a7e53af447972cbd7 (patch)
treed070559a40ef76220d2c54bebe7473d5b7cf7ca7 /sfeed_opml_export
parent4a4bb045c8fa85604bb8ca3b72dc660a0c82083b (diff)
sfeed_opml_export: output items on a single line
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'sfeed_opml_export')
-rwxr-xr-xsfeed_opml_export6
1 files changed, 1 insertions, 5 deletions
diff --git a/sfeed_opml_export b/sfeed_opml_export
index cfd746f..d3dea8b 100755
--- 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.