Diff of /mambo/branches/4.6/includes/feedcreator.class.php
Parent Directory
|
Revision Log
|
Patch
| revision 470, Thu Apr 13 10:02:43 2006 UTC | revision 471, Thu Apr 13 13:29:26 2006 UTC | |
|---|---|---|
| # | Line 1181 | Line 1181 |
| 1181 | $feed.= " <title type=\"text\">".htmlspecialchars($this->title)."</title>\n"; | $feed.= " <title type=\"text\">".htmlspecialchars($this->title)."</title>\n"; |
| 1182 | $feed.= " <subtitle>".htmlspecialchars($this->description)."</subtitle>\n"; | $feed.= " <subtitle>".htmlspecialchars($this->description)."</subtitle>\n"; |
| 1183 | $feed.= " <link rel=\"alternate\" type=\"text/html\" hreflang=\"en\" href=\"".htmlspecialchars($this->link)."\"/>\n"; | $feed.= " <link rel=\"alternate\" type=\"text/html\" hreflang=\"en\" href=\"".htmlspecialchars($this->link)."\"/>\n"; |
| 1184 | $feed.= " <link rel=\"self\" type=\"application/atom+xml\" hreflang=\"en\" href=\"".htmlspecialchars($this->link)."/index2.php\"/>\n"; | $feed.= " <link rel=\"self\" type=\"application/atom+xml\" hreflang=\"en\" href=\"".htmlspecialchars($this->link)."/index2.php?option=com_rss&feed=ATOM1.0&no_html=1\"/>\n"; |
| 1185 | $feed.= " <id>".htmlspecialchars($this->link)."/</id>\n"; | $feed.= " <id>".htmlspecialchars($this->link)."/</id>\n"; |
| 1186 | $feed.= " <updated>".htmlspecialchars($now->iso8601())."</updated>\n"; | $feed.= " <updated>".htmlspecialchars($now->iso8601())."</updated>\n"; |
| 1187 | ||
| # | Line 1199 | Line 1199 |
| 1199 | ||
| 1200 | for ($i=0;$i<count($this->items);$i++) { | for ($i=0;$i<count($this->items);$i++) { |
| 1201 | ||
| if ($this->items[$i]->created=="") { | ||
| 1202 | $this->items[$i]->created = time(); | $this->items[$i]->created = time(); |
| } | ||
| 1203 | $itemDate = new FeedDate($this->items[$i]->created); | $itemDate = new FeedDate($this->items[$i]->created); |
| 1204 | ||
| 1205 | $feed.= " <entry>\n"; | $feed.= " <entry>\n"; |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

