aboutsummaryrefslogtreecommitdiffstats
path: root/include/Scrape.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-24 19:36:20 -0800
committerFriendika <info@friendika.com>2011-01-24 19:36:20 -0800
commit08d6fe5ae74cc223e4385344f8e0edfde4208a23 (patch)
tree82b471c1b0bdbe6666ced3121165a8174f7d7dde /include/Scrape.php
parent8e3c2634cb3065837cfef09c3435f85a15dc6755 (diff)
downloadvolse-hubzilla-08d6fe5ae74cc223e4385344f8e0edfde4208a23.tar.gz
volse-hubzilla-08d6fe5ae74cc223e4385344f8e0edfde4208a23.tar.bz2
volse-hubzilla-08d6fe5ae74cc223e4385344f8e0edfde4208a23.zip
allow RSS for feed contacts, but no comments
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;