summary refs log tree commit diff stats
path: root/rss.php
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2011-10-15 00:10:59 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2011-10-15 00:10:59 -0400
commit9bfc84849bbada61f6f830bad01e19cf8b19c07f (patch)
treed052845c642b4febd2c46c2f4e902c29ab6e8f77 /rss.php
parent6f9d6b7e22bbf2abd63b57a6e586a3b38598c167 (diff)
downloadpillowcase-9bfc84849bbada61f6f830bad01e19cf8b19c07f.tar.gz
pillowcase-9bfc84849bbada61f6f830bad01e19cf8b19c07f.tar.bz2
pillowcase-9bfc84849bbada61f6f830bad01e19cf8b19c07f.zip
Fixed comic publish date display in RSS feed
Diffstat (limited to 'rss.php')
-rwxr-xr-xrss.php3
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
3include('includes/db.php'); 3include('includes/db.php');
4include('includes/functions.php');
4include('includes/update.php'); 5include('includes/update.php');
5 6
6echo('<?xml version="1.0"?>'); 7echo('<?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}