[PEPr] +1 for Web Services::Services_Yadis
| From: | Adam Harvey | Date: | Thu, 19 Jul 2007 17:14:19 +0000 |
| Subject: | [PEPr] +1 for Web Services::Services_Yadis | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47639@lists.php.net to get a copy of this message | ||
Adam Harvey (http://pear.php.net/user/aharvey) has voted +1 on the proposal for Web
Services::Services_Yadis.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=499
Vote information:
http://pear.php.net/pepr/pepr-vote-show.php?id=499&handle=aharvey
This vote is conditional. The condition is:
+1 assuming a couple of minor issues are fixed:
- Services_Yadis_Service::getDomObject() fails at present. Changing $this->serviceNode to
$this->_serviceNode corrects this. I also suspect that using the approach in http://au2.php.net/manual/en/function.dom-import-simplexml.php#66996
for the SimpleXML to DOM conversion will be quicker, too, given that it avoids a reparse.
- The example refers to $service->getXmlObject(); presumably this should be getSimpleXmlObject().
Furthermore, it attempts to load Priority as a child element, rather than an attribute: changing the
line to the following worked for me:
echo 'Priority is ', $service->getSimpleXmlObject()->attributes()->priority,
PHP_EOL;
All in all, though, it's the usual good work, Pádraic, and I'm sure people wanting to use
OpenID are encouraged by the continuing progress to that end.
--
Sent by PEPr, the automatic proposal system at http://pear.php.net