aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-25 08:54:10 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-25 08:54:10 +0100
commit4c717b38ae8eccaf9fa2ab4e6411b10c2d24afdf (patch)
tree1dd91abe675ad2b8c98dccba6930144e1f73b33c /include/Scrape.php
parent7e007b6c07d5395c59797999728fcde288ed79b1 (diff)
parentbb1afd867d1b7bd98930108727b88a066af9749d (diff)
downloadvolse-hubzilla-4c717b38ae8eccaf9fa2ab4e6411b10c2d24afdf.tar.gz
volse-hubzilla-4c717b38ae8eccaf9fa2ab4e6411b10c2d24afdf.tar.bz2
volse-hubzilla-4c717b38ae8eccaf9fa2ab4e6411b10c2d24afdf.zip
Merge branch 'master' of git://github.com/tobiasd/friendika
Diffstat (limited to 'include/Scrape.php')
-rw-r--r--include/Scrape.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Scrape.php b/include/Scrape.php
index 8478ea407..e4f7a0878 100644
--- a/include/Scrape.php
+++ b/include/Scrape.php
@@ -161,6 +161,8 @@ function scrape_feed($url) {
$x = $item->getAttribute('rel');
if(($x === 'alternate') && ($item->getAttribute('type') === 'application/atom+xml'))
$ret['feed_atom'] = $item->getAttribute('href');
+ if(($x === 'alternate') && ($item->getAttribute('type') === 'application/rss+xml'))
+ $ret['feed_rss'] = $item->getAttribute('href');
}
return $ret;