diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-01-25 10:16:47 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-01-25 10:16:47 +0100 |
commit | 1f95ba5c344a1b17c735bf2760a169beeff864c2 (patch) | |
tree | 576774009b9c9a9f8828538865d2ff8d9bbe3596 /include/Scrape.php | |
parent | f2789132ce13c92166f41992dd8955f667cab440 (diff) | |
parent | b0ab3e468b5c20cfe369ff282b7906d1690a3510 (diff) | |
download | volse-hubzilla-1f95ba5c344a1b17c735bf2760a169beeff864c2.tar.gz volse-hubzilla-1f95ba5c344a1b17c735bf2760a169beeff864c2.tar.bz2 volse-hubzilla-1f95ba5c344a1b17c735bf2760a169beeff864c2.zip |
Merge remote branch 'friendika-master/master'
Diffstat (limited to 'include/Scrape.php')
-rw-r--r-- | include/Scrape.php | 2 |
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; |