Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.0

Request #5442 Services_Yahoo_Search_AbstractSearch->parameters probably shouldn't be an array
Submitted: 2005-09-17 14:06 UTC Modified: 2005-09-30 14:00 UTC
From: jacobc at gmail dot com Assigned: mj
Status: Closed Package: Services_Yahoo
PHP Version: 5.0.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-09-17 14:06 UTC] jacobc at gmail dot com
Description: ------------ I could be completely wrong about this, but I think that the property Services_Yahoo_Search_AbstractSearch->parameters shouldn't be implemented as an associative array. This is because it doesn't seem possible to implement the Site, Subscription, and License request parameters supported by the Yahoo web search API, as these request parameter types allow multiple values to be submitted. See: http://developer.yahoo.net/search/web/V1/webSearch.html

Comments

 [2005-09-30 13:02 UTC] mj
You're right about that. I've committed some proof-of-concept code to CVS that might solve this, but it'll need a bit more massaging.
 [2005-09-30 14:00 UTC] mj
This bug has been fixed. There is no documentation for this yet, but you can try it out by calling $search->setSites(array("wikipedia.org", "cnn.com")) $search->setLicenses(array("cc_commerical", "cc_modifiable")); before submitting your search with $search->submit().