aboutsummaryrefslogtreecommitdiff
path: root/www/mod_index_rss
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-08-02 02:36:11 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-08-02 02:36:11 +0000
commitc2d82a9ad673ccef3c783db5a09b71a1f88036e0 (patch)
tree81e11a9f97e19fded46d8a8934c871e69bec40af /www/mod_index_rss
parent08ba0589fe0019be4deab6f1264975c0ceb2a81a (diff)
downloadports-c2d82a9ad673ccef3c783db5a09b71a1f88036e0.tar.gz
ports-c2d82a9ad673ccef3c783db5a09b71a1f88036e0.zip
Notes
Diffstat (limited to 'www/mod_index_rss')
-rw-r--r--www/mod_index_rss/files/patch-mod_index_rss.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/mod_index_rss/files/patch-mod_index_rss.c b/www/mod_index_rss/files/patch-mod_index_rss.c
new file mode 100644
index 000000000000..be8be4ae653f
--- /dev/null
+++ b/www/mod_index_rss/files/patch-mod_index_rss.c
@@ -0,0 +1,31 @@
+--- mod_index_rss.c.orig Tue Jul 22 04:37:54 2003
++++ mod_index_rss.c Tue Jul 22 04:39:22 2003
+@@ -11,18 +11,18 @@
+
+ #define TIME_FORMAT "%a %b %d %H:%M:%S %Y"
+ /* This is the XML header file */
+-#define HEADER "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
+-
+-<!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"
+- \"http://www.scripting.com/dtd/rss-0_91.dtd\">
+-
+-<rss version=\"0.91\">
+-
+-<channel>
++#define HEADER "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
++\n\
++<!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"\n\
++ \"http://www.scripting.com/dtd/rss-0_91.dtd\">\n\
++\n\
++<rss version=\"0.91\">\n\
++\n\
++<channel>\n\
+ "
+
+-#define FOOTER "</channel>
+-</rss>
++#define FOOTER "</channel>\n\
++</rss>\n\
+ "
+
+