add basic rss support

This commit is contained in:
Andrew Dolgov
2013-05-01 17:38:16 +04:00
parent cd07592c29
commit 04d2f9c831
4 changed files with 138 additions and 6 deletions
+4 -1
View File
@@ -17,8 +17,11 @@ class FeedItem_Atom {
}
function get_date() {
$updated = $this->elem->getElementsByTagName("updated")->item(0);
if ($updated) {
return strtotime($updated->nodeValue);
}
}
function get_link() {