]> git.mxchange.org Git - friendica.git/blobdiff - include/feed.php
frio + core: some restructure in profiles.php + frio template for profiles settings
[friendica.git] / include / feed.php
index 293de3cc965ed6b892599db7edd17c5aad6e12d4..15e5f65366d939d7f351a5a3b4fe09e292b6a151 100644 (file)
@@ -47,7 +47,7 @@ function feed_import($xml,$importer,&$contact, &$hub, $simulate = false) {
        }
 
        // Is it Atom?
-       if ($xpath->query('/atom:feed/atom:entry')->length > 0) {
+       if ($xpath->query('/atom:feed')->length > 0) {
                $alternate = $xpath->query("atom:link[@rel='alternate']")->item(0)->attributes;
                if (is_object($alternate))
                        foreach($alternate AS $attributes)