diff options
author | Evan Prodromou <evan@status.net> | 2010-03-16 11:25:18 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-16 11:25:18 -0500 |
commit | f21f78364a9cbde2ca535a3983b384707ad097ae (patch) | |
tree | a9e0836d7aaa42d7a0f272213d11cbccef9e354b /plugins/OStatus/lib/feeddiscovery.php | |
parent | c1e96cbdefa66e66815c421378b9452d7c8d5548 (diff) |
Change the workflow to get better discovery
Tried to re-structure the workflow of discovery to get more and richer
data and hints.
Diffstat (limited to 'plugins/OStatus/lib/feeddiscovery.php')
-rw-r--r-- | plugins/OStatus/lib/feeddiscovery.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/lib/feeddiscovery.php b/plugins/OStatus/lib/feeddiscovery.php index ff76b229e..f9ea3e713 100644 --- a/plugins/OStatus/lib/feeddiscovery.php +++ b/plugins/OStatus/lib/feeddiscovery.php @@ -117,7 +117,7 @@ class FeedDiscovery return $this->discoverFromURL($target, false); } } - + return $this->initFromResponse($response); } @@ -202,7 +202,7 @@ class FeedDiscovery 'application/atom+xml' => false, 'application/rss+xml' => false, ); - + $nodes = $dom->getElementsByTagName('link'); for ($i = 0; $i < $nodes->length; $i++) { $node = $nodes->item($i); |