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 19:06 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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 29 - 27 = ?

 
 [2005-09-17 19: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 18: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 19: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().