Services_Trackback: autodiscover submitting url?
| From: | Sven Fuchs | Date: | Fri, 12 May 2006 01:58:09 +0000 |
| Subject: | Services_Trackback: autodiscover submitting url? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24050@lists.php.net to get a copy of this message | ||
Services_Trackback insists to autodiscover() the sending blog, which
doesn't seems to make any sense to me. Am I getting things completly
wrong here?
The doc for Services_Trackback::send() says:
* 'url' URL of the weblog entry sending the trackback.* 'trackback_url' URL to send the trackback to. And in Services_Trackback::autodiscover() there is: $necessaryData = array('url'); $res = $this->_checkData($necessaryData); if (PEAR::isError($res)) {
return $res;} $url = $this->_data['url']; autodiscover() then gets the url and parses the contents for the trackback:ping property in the autodiscovery RDF. I think, this should be $necessaryData = array('trackback_url'); [...] $url = $this->_data['trackback_url']; ... but I thought I'd ask before I file a bugreport. Maybe I'm completely on the wrong track here ;) -- Sven