// If we've hit a collision just rerun it with caching disabled
elseif (isset($this->data
['url'
]) &&
$this->data
['url'
] !==
$this->feed_url
) { $cache = false;
$this->data = array
();
} // If we've got a non feed_url stored (if the page isn't actually a feed, or is a redirect) use that URL.
elseif (isset($this->data
['feed_url'
])) { // If the autodiscovery cache is still valid use it.
if ($cache->
mtime() +
$this->autodiscovery_cache_duration >
time()) { // Do not need to do feed autodiscovery yet.
if ($this->data
['feed_url'
] !==
$this->data
['url'
]) { $this->
set_feed_url($this->data
['feed_url'
]);
return $this->
init();
} $cache->
unlink();
$this->data = array
();
} }