Changeset 151 for www/aktuality/rss_generator.php
- Timestamp:
- Feb 16, 2009, 1:04:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/aktuality/rss_generator.php
r129 r151 6 6 { 7 7 global $Config; 8 8 9 9 $Result = '<?xml version="1.0" encoding="'.$Config['Web']['Charset'].'" ?>'."\n". //<? 10 10 '<rss version="2.0">'."\n". … … 15 15 " <language>cs</language>\n". 16 16 " <webMaster>".$Data['WebmasterEmail']."</webMaster>\n". 17 " <pubDate>".date('r')."</pubDate>\n". 17 " <pubDate>".date('r')."</pubDate>\n". 18 18 " <ttl>20</ttl>\n"; 19 19 foreach($Data['Items'] as $Item) … … 22 22 ' <title>'.htmlspecialchars($Item['Title'])."</title>\n". 23 23 ' <description>'.htmlspecialchars($Item['Description'])."</description>\n". 24 25 24 ' <pubDate>'.date('r',$Item['Time'])."</pubDate>\n". 25 ' <link>'.$Item['Link']."</link>\n". 26 26 " </item>\n"; 27 27 }
Note:
See TracChangeset
for help on using the changeset viewer.