Check the global contacts every 90 days/Better handling in item creation
This commit is contained in:
parent
62ca636612
commit
cea445b6f3
4 changed files with 79 additions and 26 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue