diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-12-09 12:46:35 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-12-09 12:46:35 +0100 |
commit | 7d1a09873ed080ad438adf4ad4d2800f93cc0271 (patch) | |
tree | 8eed9373533f439ee949091088b94ca7623e4e88 | |
parent | d552d04dbdd45497ea28654b9ec3a01ef2c6fb67 (diff) |
sfeed_opml_export: remove a level of indentation
-rwxr-xr-x | sfeed_opml_export | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sfeed_opml_export b/sfeed_opml_export index 74e6de7..9665792 100755 --- a/sfeed_opml_export +++ b/sfeed_opml_export @@ -25,7 +25,8 @@ loadconfig() { # override feeds function to ouput opml XML. # feed(name, feedurl, [basesiteurl], [encoding]) feed() { - printf '\t\t<outline title="%s" text="%s" xmlUrl="%s" htmlUrl="%s"/>\n' "$1" "$1" "$2" "$3" + printf '\t<outline title="%s" text="%s" xmlUrl="%s" htmlUrl="%s"/>\n' \ + "$1" "$1" "$2" "$3" } # load config file. @@ -34,10 +35,10 @@ loadconfig "$1" cat <<! <?xml version="1.0" encoding="UTF-8"?> <opml version="1.0"> - <head> - <title>opml export from sfeed</title> - </head> - <body> +<head> + <title>opml export from sfeed</title> +</head> +<body> ! feeds @@ -45,6 +46,6 @@ feeds wait cat <<! - </body> +</body> </opml> ! |