summaryrefslogtreecommitdiff
path: root/sfeed_opml_export
diff options
context:
space:
mode:
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.