diff options
Diffstat (limited to 'http')
| -rw-r--r-- | http/src/blog/rss.uppxml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/http/src/blog/rss.uppxml b/http/src/blog/rss.uppxml index 93955a9..66683e4 100644 --- a/http/src/blog/rss.uppxml +++ b/http/src/blog/rss.uppxml @@ -29,7 +29,14 @@ DATE_PUBLISHED_RFC_822="$(TZ=UT date --date="${POST_ID}" +"%a, %d %b %Y %H:%M:%S <description>${POST_DESCRIPTION:-${POST_TITLE}}</description> <content:encoded> #! -pp "${SRC}/blog/$post" "${SITE_URL}" +pp "${SRC}/blog/$post" "${SITE_URL}" \ + | sed "s/&/\\&/g" \ + | sed "s/</\\</g" \ + | sed "s/>/\\>/g" \ + | sed "s/\"/\\"/g" \ + | sed "s/'/\\'/g" \ + | sed "s/\`/\\`/g" \ + | sed "s/\\\$/\\\\\$/g" #! </content:encoded> <author>Joe Carstairs</author> |
