[Openfirst-cvscommit] news/rss rss.php,1.9,1.10
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:54:07
|
Update of /cvsroot/openfirst/news/rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20619/news/rss Modified Files: rss.php Log Message: -Corrected usage of $home -Added $server Index: rss.php =================================================================== RCS file: /cvsroot/openfirst/news/rss/rss.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** rss.php 19 Jan 2004 23:49:40 -0000 1.9 --- rss.php 14 Mar 2005 00:53:57 -0000 1.10 *************** *** 65,69 **** $date = (string) date('Y-m-d\TH:i:sO'); $language = (string) 'en'; ! $rights = (string) 'Copyright © 2003 '.$title.' ('.$home.')'; $coverage = (string) ''; // spatial location , temporal period or jurisdiction $contributor = (string) ''; // person, an organization, or a service --- 65,69 ---- $date = (string) date('Y-m-d\TH:i:sO'); $language = (string) 'en'; ! $rights = (string) 'Copyright © 2003 '.$title.' ('.$server.$basepath.')'; $coverage = (string) ''; // spatial location , temporal period or jurisdiction $contributor = (string) ''; // person, an organization, or a service *************** *** 80,87 **** // Data for a single RSS item ! $query = ofirst_dbquery("SELECT * FROM ofirst_news ORDER BY `date` LIMIT ".$limit); while($news = ofirst_dbfetch_object($query)){ ! $about = $link = $home.'/news/readnews.php?ID='.$news->ID; $title = strip_tags($news->title); if (function_exists('html_entity_decode')){ --- 80,87 ---- // Data for a single RSS item ! $query = ofirst_dbquery("SELECT * FROM ofirst_news ORDER BY `date` LIMIT $limit"); while($news = ofirst_dbfetch_object($query)){ ! $about = $link = $server.$basepath.'/news/readnews.php?ID='.$news->ID; $title = strip_tags($news->title); if (function_exists('html_entity_decode')){ |