Zend Framework

Use Zend_Service_Yahoo localSearch to use V3.

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Zend_Service_Yahoo
  • Labels:
    None

Description

There is a new version of the local search, V3. Retrieving Longitude and Latitude information will not work otherwise.

Need to update Zend/Service/Yahoo.php at line 210 with below.

$response = $this->_rest->restGet('/LocalSearchService/V3/localSearch', $options);

Also need to add this to the Zend/Service/Yahoo/LocalResult.php file

/**

  • The Longitude coordinates for the result.
    *
  • @var string
    */
    public $Longitude;

/**

  • The Latitude coordinates for the result.
  • @var string
    */
    public $Latitude;

$this->_fields = array('Address','City', 'City', 'State', 'Phone', 'Rating', 'Distance', 'MapUrl',
'BusinessUrl', 'BusinessClickUrl', 'Latitude', 'Longitude');

Activity

Hide
Satoru Yoshida added a comment -

Other functions no need to update?

Show
Satoru Yoshida added a comment - Other functions no need to update?

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: