Yahoo! Multi-Search

imageSearch($keywords, array("results" => 5)); if ($results->totalResults() > 0) { echo '
'; echo '

Image Search Results

'; foreach ($results as $result) { echo ""; } echo '
'; } $results = $yahoo->webSearch($keywords); if ($results->totalResults() > 0) { echo '
'; echo '

Web Search Results

'; foreach ($results as $result) { echo "

{$result->Title}

"; echo "

{$result->Summary}
[Cached Version]

"; } echo '
'; } $results = $yahoo->newsSearch($keywords); if ($results->totalResults() > 0) { echo '
'; echo '

News Search Results

'; foreach ($results as $result) { echo "

{$result->Title}

"; echo "

{$result->Summary}

"; } echo '
'; } } catch (Zend_Service_Exception $e) { echo '

An error occured, please try again later.

'; } } ?>

Powered by the Zend Framework