[Comoblog-commit] modules/mod_rss2/include mod_rss2.inc.php,1.1,1.2
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2006-02-16 23:09:39
|
Update of /cvsroot/comoblog/modules/mod_rss2/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23969/mod_rss2/include Modified Files: mod_rss2.inc.php Log Message: RSS FEEDS FOR POSTS AND COMMENTS changed the templates so that they validate, removed the latest comments from the side bar and put them into there own module (mod_latest_comments) Index: mod_rss2.inc.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_rss2/include/mod_rss2.inc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_rss2.inc.php 28 Nov 2005 11:05:36 -0000 1.1 +++ mod_rss2.inc.php 16 Feb 2006 23:09:35 -0000 1.2 @@ -14,11 +14,14 @@ $posts = array(); while ($row = mysql_fetch_array($res)) { $row['post_permalink'] = CFG_SITE_URL.'post.php'.$iisbug.'/'.$row['post_id']; - #$row['post_permalink'] = CFG_SITE_URL.'post/'.$row['post_id']; + $row['post_permalink'] = CFG_SITE_URL.'/'.$row['post_id'] ."/". $row['post_mail_subject']; $row['post_trackback_ping_url'] = CFG_SITE_URL.'trackback.php'.$iisbug.'/'.$row['post_id']; $row['post_trackback_list'] = CFG_SITE_URL.'trackback.php'.$iisbug.'/'.$row['post_id'].'?__mode=list'; $row['post_trackback_list_rss'] = CFG_SITE_URL.'trackback.php'.$iisbug.'/'.$row['post_id'].'?__mode=rss'; - $row['post_mail_from'] = "hidden"; + $row['post_mail_from'] = "hidden"; + //echo $row['post_mail_date']; + $row['post_mail_date_rss'] = gmstrftime("%a, %d %b %Y %T %Z",$row['post_mail_date']); + //echo $row['post_mail_date']; $posts[] = $row; } |