Make phlog-index great again, fix atom formatting. - annna - Annna the nice fri… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 46c4b74a4c56658b70caaa285c38d055ca3a54a3 | |
parent ab13aa5ab91f433578504bff1eb5e94a4967199a | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 12 Feb 2019 19:39:21 +0100 | |
Make phlog-index great again, fix atom formatting. | |
Diffstat: | |
M phlog-index | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/phlog-index b/phlog-index | |
@@ -72,8 +72,8 @@ do | |
printf "\t\t<title><![CDATA[%s]]></title>\n" "$title" | |
printf "\t\t<link href=\"%s\" />\n" "$furi" | |
printf "\t\t<author><name>%s</name></author>\n" "$user" | |
- printf "\t\t<content><![CDATA[" | |
- cat $fpath | sed 's,$,<br/>,g' | |
+ printf "\t\t<content type=\"text\"><![CDATA[" | |
+ cat $fpath | |
printf "]]></content>\n" | |
printf "\t\t<updated>%s</updated>\n" "$updated" | |
printf "\t\t</entry>\n" |