diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2011-10-15 00:10:59 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2011-10-15 00:10:59 -0400 |
commit | 9bfc84849bbada61f6f830bad01e19cf8b19c07f (patch) | |
tree | d052845c642b4febd2c46c2f4e902c29ab6e8f77 | |
parent | 6f9d6b7e22bbf2abd63b57a6e586a3b38598c167 (diff) | |
download | pillowcase-9bfc84849bbada61f6f830bad01e19cf8b19c07f.tar.gz pillowcase-9bfc84849bbada61f6f830bad01e19cf8b19c07f.tar.bz2 pillowcase-9bfc84849bbada61f6f830bad01e19cf8b19c07f.zip |
Fixed comic publish date display in RSS feed
-rwxr-xr-x | rss.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rss.php b/rss.php index 4b710aa..7950430 100755 --- a/rss.php +++ b/rss.php | |||
@@ -1,6 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | include('includes/db.php'); | 3 | include('includes/db.php'); |
4 | include('includes/functions.php'); | ||
4 | include('includes/update.php'); | 5 | include('includes/update.php'); |
5 | 6 | ||
6 | echo('<?xml version="1.0"?>'); | 7 | echo('<?xml version="1.0"?>'); |
@@ -23,7 +24,7 @@ while ($getitems3 = mysql_fetch_array($getitems2)) | |||
23 | <title><?php echo($getitems3['title']); ?></title> | 24 | <title><?php echo($getitems3['title']); ?></title> |
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('r',strtotime(get_meta($getitems3['id'], 'pubDate')))); ?></pubDate> |
27 | </item> | 28 | </item> |
28 | <?php | 29 | <?php |
29 | } | 30 | } |