diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2010-03-22 20:04:32 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2010-03-22 20:04:32 -0400 |
commit | 6c2c1e9c0eba2c51c05ffb0e7444635f0eb2ba37 (patch) | |
tree | 7b2aeae8e7a66220088b8ed62006aefe0aacacf6 | |
parent | 6f9d6b7e22bbf2abd63b57a6e586a3b38598c167 (diff) | |
download | pillowcase-6c2c1e9c0eba2c51c05ffb0e7444635f0eb2ba37.tar.gz pillowcase-6c2c1e9c0eba2c51c05ffb0e7444635f0eb2ba37.tar.bz2 pillowcase-6c2c1e9c0eba2c51c05ffb0e7444635f0eb2ba37.zip |
Added author to RSS
-rwxr-xr-x | rss.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rss.php b/rss.php index 4b710aa..6a6b80f 100755 --- a/rss.php +++ b/rss.php | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | include('includes/db.php'); | 3 | include('includes/db.php'); |
4 | include('includes/update.php'); | 4 | include('includes/update.php'); |
5 | include('includes/functions.php'); | ||
5 | 6 | ||
6 | echo('<?xml version="1.0"?>'); | 7 | echo('<?xml version="1.0"?>'); |
7 | 8 | ||
@@ -24,6 +25,7 @@ while ($getitems3 = mysql_fetch_array($getitems2)) | |||
24 | <link>http://pillowcase.fourisland.com/comic<?php echo($getitems3['comic_id']); ?>.htm</link> | 25 | <link>http://pillowcase.fourisland.com/comic<?php echo($getitems3['comic_id']); ?>.htm</link> |
25 | <description><![CDATA[<IMG SRC="http://pillowcase.fourisland.com/images/comics/<?php echo($getitems3['filename']); ?> ALT="<?php echo($getitems3['title']); ?>"><p><?php echo($getitems3['text']); ?></p>]]></description> | 26 | <description><![CDATA[<IMG SRC="http://pillowcase.fourisland.com/images/comics/<?php echo($getitems3['filename']); ?> ALT="<?php echo($getitems3['title']); ?>"><p><?php echo($getitems3['text']); ?></p>]]></description> |
26 | <pubDate><?php echo(date('D, d M Y H:i:s O',strtotime($getitems3['pubDate']))); ?></pubDate> | 27 | <pubDate><?php echo(date('D, d M Y H:i:s O',strtotime($getitems3['pubDate']))); ?></pubDate> |
28 | <author><?php echo(has_meta($getitems3['comic_id'], 'author') ? get_meta($getitems3['comic_id'], 'author') : 'Starla Insigna'); ?></author> | ||
27 | </item> | 29 | </item> |
28 | <?php | 30 | <?php |
29 | } | 31 | } |