shithub: werc

Download patch

ref: 0e8cdf69637e1b8b514c985e2589d02e1d0cb1ce
parent: c29a925bfb02812fe05f7661026ce0326b04ccb9
author: kris <kris@engel.se.cat-v.org>
date: Mon Jun 4 02:20:23 EDT 2007

Fixed RSS.

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -167,24 +167,25 @@
 
 # Should be in a separate file.
 cat <<'!' | template
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <rss version="2.0">
 	<channel>
-		<title>%($blogTitle%)</title>
+		<title>%($siteTitle%)</title>
 		<link>%($uri%)</link>
 		<description>%($blogDesc%)</description>
 		<language>en-us</language>
 		<generator>Tom Duff's rc, and Kris Maglione's clever hackery</generator>
-		<webMaster>Uriel %lt;uriel99@gmail.com&gt;</webMaster>
+		<webMaster>Uriel Mangado &lt;uriel99@gmail.com&gt;</webMaster>
 %{
 		for(f in `{sortedBlogPostList $blogDirs}) {
 			statpost $f
 %}		<item>
 			<title>%($title%)</title>
-			<author>%($by%)</author>
+			<author>%($by%)@noreply.cat-v.org</author>
 			<link>%($uri%)</link>
+                        <guid isPermaLink="true">%($uri%)</guid>
 			<pubDate>%($date%)</pubDate>
-			<description><![CDATA[%($summary%)]]</description>
+			<description><![CDATA[%($summary%)]]></description>
 		</item>
 %		}
 	</channel>