/[LeafOK_CVS]/fenglin/www/rss.php
ViewVC logotype

Diff of /fenglin/www/rss.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Thu Dec 20 04:29:22 2012 UTC Revision 1.7 by sysadm, Fri Jul 28 11:45:21 2023 UTC
# Line 113  while($row=mysql_fetch_array($rs)) Line 113  while($row=mysql_fetch_array($rs))
113          mysql_free_result($rs_content);          mysql_free_result($rs_content);
114  ?>  ?>
115          <item>          <item>
116                  <title><? echo htmlspecialchars($row["title"]).(ord(substr($row["title"],strlen($row["title"])-1,1))>127?" ":""); ?></title>                  <title><? echo htmlspecialchars($row["title"], ENT_COMPAT | ENT_HTML401, 'GB2312').(ord(substr($row["title"],strlen($row["title"])-1,1))>127?" ":""); ?></title>
117                  <link><? echo $base_url."/bbs/view_article.php?id=".($row["TID"]==0?$row["AID"]:$row["TID"]."#".$row["AID"]); ?></link>                  <link><? echo $base_url."/bbs/view_article.php?id=".($row["TID"]==0?$row["AID"]:$row["TID"]."#".$row["AID"]); ?></link>
118                  <guid><? echo $base_url."/bbs/view_article.php?id=".($row["TID"]==0?$row["AID"]:$row["TID"]."#".$row["AID"]); ?></guid>                  <guid><? echo $base_url."/bbs/view_article.php?id=".($row["TID"]==0?$row["AID"]:$row["TID"]."#".$row["AID"]); ?></guid>
119                  <description><? echo htmlspecialchars(str_replace("\n","<br/>",str_replace("\r\n","\n",LML(str_replace("\x14"," ",str_replace("\x1B"," ",$content)),false)))); ?></description>                  <description><? echo htmlspecialchars(str_replace("\n","<br/>",str_replace("\r\n","\n",LML(str_replace("\x14"," ",str_replace("\x1B"," ",$content)),false))),
120                  <author><? echo $row["username"]." (".htmlspecialchars($row["nickname"]).")"; ?></author>                                                                                  ENT_COMPAT | ENT_HTML401, 'GB2312'); ?></description>
121                  <pubDate><? echo gmstrftime("%a, %d %b %Y %H:%M:%S GMT",strtotime($row["sub_dt"])); ?></pubDate>                  <author><? echo $row["username"]." (".htmlspecialchars($row["nickname"], ENT_COMPAT | ENT_HTML401, 'GB2312').")"; ?></author>
122                    <pubDate><? echo gmdate("D, d M Y H:i:s T",strtotime($row["sub_dt"])); ?></pubDate>
123                  <annotate:reference><? echo $base_url."/bbs/view_article.php?id=".($row["TID"]==0?$row["AID"]:$row["TID"]); ?></annotate:reference>                  <annotate:reference><? echo $base_url."/bbs/view_article.php?id=".($row["TID"]==0?$row["AID"]:$row["TID"]); ?></annotate:reference>
124          </item>          </item>
125  <?  <?


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1