| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Reviewed: no -->
- <!-- EN-Revision: 24249 -->
- <sect1 id="zend.service.yahoo">
- <title>Zend_Service_Yahoo(日本語)</title>
- <sect2 id="zend.service.yahoo.introduction">
- <title>導入</title>
- <para>
- <classname>Zend_Service_Yahoo</classname> は、さまざまな Yahoo! REST <acronym>API</acronym>
- 群を使用するための単純な <acronym>API</acronym> です。
- <classname>Zend_Service_Yahoo</classname> を使用すると、
- Yahoo! Web search、Yahoo! News、Yahoo! Local、Yahoo! Images
- を検索できるようになります。 Yahoo! REST <acronym>API</acronym> を使用するには、
- Yahoo! Application ID が必要です。Application ID を取得するには、
- <ulink url="http://developer.yahoo.com/wsregapp/">Application ID リクエストフォーム</ulink>
- を使用してください。
- </para>
- </sect2>
- <sect2 id="zend.service.yahoo.websearch">
- <title>Yahoo! を使用したウェブの検索</title>
- <para>
- <classname>Zend_Service_Yahoo</classname> の <methodname>webSearch()</methodname>
- メソッドを使用すると、Yahoo! でウェブを検索できます。
- 最初の引数に検索パラメータ、
- オプションで二番目の引数に検索オプションの配列を指定します。
- 指定できるオプションの詳細については
- <ulink url="http://developer.yahoo.com/search/web/V1/webSearch.html">Yahoo! Web Search
- ドキュメント</ulink> を参照ください。<methodname>webSearch()</methodname> メソッドは
- <classname>Zend_Service_Yahoo_WebResultSet</classname> オブジェクトを返します。
- </para>
- <example id="zend.service.yahoo.websearch.example-1">
- <title>Yahoo! を使用したウェブの検索</title>
- <programlisting language="php"><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->webSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.imagesearch">
- <title>Yahoo! を使用した画像の検索</title>
- <para>
- <classname>Zend_Service_Yahoo</classname> の <methodname>imageSearch()</methodname>
- メソッドを使用すると、画像の検索ができます。
- <link linkend="zend.service.yahoo.websearch"><methodname>webSearch()</methodname> メソッド</link>
- と同様、最初の引数に検索パラメータ、
- オプションで二番目の引数に検索オプションの配列を指定します。
- 指定できるオプションの詳細については
- <ulink url="http://developer.yahoo.com/search/image/V1/imageSearch.html">Yahoo! Image Search
- ドキュメント</ulink> を参照ください。
- </para>
- <example id="zend.service.yahoo.imagesearch.example-1">
- <title>Yahoo! を使用した画像の検索</title>
- <programlisting language="php"><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->imageSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.videosearch">
- <title>Yahoo! を使用した動画の検索</title>
- <para>
- <classname>Zend_Service_Yahoo</classname> の <methodname>videoSearch()</methodname>
- メソッドを使用すると、Yahoo で動画を検索できます。
- 詳細は
- <ulink url="http://developer.yahoo.com/search/video/V1/videoSearch.html">Yahoo! Video Search
- ドキュメント</ulink> を参照ください。
- </para>
- <example id="zend.service.yahoo.videosearch.example-1">
- <title>Yahoo! を使用した動画の検索</title>
- <programlisting language="php"><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->videoSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.localsearch">
- <title>Yahoo! を使用した Local Businesses and Services の検索</title>
- <para>
- <methodname>localSearch()</methodname> メソッドを使用すると、
- Yahoo! で local businesses and services を検索できます。
- 詳細は
- <ulink url="http://developer.yahoo.com/search/local/V1/localSearch.html">Yahoo! Local Search
- ドキュメント</ulink> を参照ください。
- </para>
- <example id="zend.service.yahoo.localsearch.example-1">
- <title>Yahoo! を使用した Local Businesses and Services の検索</title>
- <programlisting language="php"><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->localSearch('Apple Computers', array('zip' => '95014'));
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.newssearch">
- <title>Yahoo! News の検索</title>
- <para>
- Yahoo! News を検索するのは簡単です。単に <methodname>newsSearch()</methodname>
- メソッドを下の例のように使用すればよいのです。詳細は
- <ulink url="http://developer.yahoo.com/search/news/V1/newsSearch.html">Yahoo! News Search
- ドキュメント</ulink> を参照ください。
- </para>
- <example id="zend.service.yahoo.newssearch.example-1">
- <title>Yahoo! News の検索</title>
- <programlisting language="php"><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->newsSearch('PHP');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.inlinkdatasearch">
- <title>Yahoo! Site Explorer Inbound Links の検索</title>
- <para>
- Yahoo! Site Explorer Inbound Links を検索するのは簡単です。
- 単に <methodname>inlinkDataSearch()</methodname>
- メソッドを下の例のように使用すればいいのです。詳細は
- <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/inlinkData.html">Yahoo!
- Site Explorer Inbound Links ドキュメント</ulink> を参照ください。
- </para>
- <example id="zend.service.yahoo.inlinkdatasearch.example-1">
- <title>Yahoo! Site Explorer Inbound Links の検索</title>
- <programlisting language="php"><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->inlinkDataSearch('http://framework.zend.com/');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.pagedatasearch">
- <title>Yahoo! Site Explorer の PageData の検索</title>
- <para>
- Yahoo! Site Explorer Inbound の PageDate を検索するのは簡単です。
- 単に <methodname>pageDataSearch()</methodname>
- メソッドを下の例のように使用すればいいのです。詳細は
- <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/pageData.html">Yahoo!
- Site Explorer PageData ドキュメント</ulink> を参照ください。
- </para>
- <example id="zend.service.yahoo.pagedatasearch.example-1">
- <title>Yahoo! Site Explorer の PageData の検索</title>
- <programlisting language="php"><![CDATA[
- $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
- $results = $yahoo->pageDataSearch('http://framework.zend.com/');
- foreach ($results as $result) {
- echo $result->Title .'<br />';
- }
- ]]></programlisting>
- </example>
- </sect2>
- <sect2 id="zend.service.yahoo.classes">
- <title>Zend_Service_Yahoo クラス群</title>
- <para>
- Yahoo! 検索から返される結果は、以下のクラスのいずれかとなります。
- 検索の種類によってそれに対応した結果セットが返され、
- そのセットを順に処理していくと、中には検索の種類に応じた結果オブジェクトが含まれます。
- すべての結果セットクラスは <classname>SeekableIterator</classname>
- インターフェイスを実装しています。
- そのため、順次処理だけでなく特定の結果の処理も簡単にできます。
- <itemizedlist>
- <listitem><para><link linkend="zend.service.yahoo.classes.resultset"><classname>Zend_Service_Yahoo_ResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.webresultset"><classname>Zend_Service_Yahoo_WebResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.imageresultset"><classname>Zend_Service_Yahoo_ImageResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.videoresultset"><classname>Zend_Service_Yahoo_VideoResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.localresultset"><classname>Zend_Service_Yahoo_LocalResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.newsresultset"><classname>Zend_Service_Yahoo_NewsResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresultset"><classname>Zend_Service_Yahoo_InlinkDataResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.pagedataresultset"><classname>Zend_Service_Yahoo_PageDataResultSet</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.result"><classname>Zend_Service_Yahoo_Result</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.webresult"><classname>Zend_Service_Yahoo_WebResult</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.imageresult"><classname>Zend_Service_Yahoo_ImageResult</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.videoresult"><classname>Zend_Service_Yahoo_VideoResult</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.localresult"><classname>Zend_Service_Yahoo_LocalResult</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.newsresult"><classname>Zend_Service_Yahoo_NewsResult</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresult"><classname>Zend_Service_Yahoo_InlinkDataResult</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.pagedataresult"><classname>Zend_Service_Yahoo_PageDataResult</classname></link></para></listitem>
- <listitem><para><link linkend="zend.service.yahoo.classes.image"><classname>Zend_Service_Yahoo_Image</classname></link></para></listitem>
- </itemizedlist>
- </para>
- <sect3 id="zend.service.yahoo.classes.resultset">
- <title>Zend_Service_Yahoo_ResultSet</title>
- <para>
- 検索の種類に応じた結果セットは、この基底クラスを継承したものです。
- </para>
- <para>
- 各結果セットは、検索の種類に応じた
- <link linkend="zend.service.yahoo.classes.result">Zend_Service_Yahoo_Result</link>
- オブジェクトを返します。
- </para>
- <sect4 id="zend.service.yahoo.classes.resultset.totalResults">
- <title>Zend_Service_Yahoo_ResultSet::totalResults()</title>
- <para>
- <methodsynopsis>
- <type>int</type>
- <methodname>totalResults</methodname>
- <void />
- </methodsynopsis>
- </para>
- <para>
- 検索結果として返された結果の総数を返します。
- </para>
- </sect4>
- <sect4 id="zend.service.yahoo.classes.resultset.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.resultset.properties.table-1">
- <title>Zend_Service_Yahoo_ResultSet</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>totalResultsAvailable</entry>
- <entry>int</entry>
- <entry>
- 見つかった結果の総数。
- </entry>
- </row>
- <row>
- <entry>totalResultsReturned</entry>
- <entry>int</entry>
- <entry>現在の結果セットに含まれる結果の総数。</entry>
- </row>
- <row>
- <entry>firstResultPosition</entry>
- <entry>int</entry>
- <entry>このセットの最初の結果の、結果全体の中での位置。</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.webresultset">
- <title>Zend_Service_Yahoo_WebResultSet</title>
- <para>
- <classname>Zend_Service_Yahoo_WebResultSet</classname> は Yahoo! Web Search
- の結果セットを表します。
- </para>
- <note>
- <para>
- <classname>Zend_Service_Yahoo_WebResultSet</classname> は
- <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- を継承しています。
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.imageresultset">
- <title>Zend_Service_Yahoo_ImageResultSet</title>
- <para>
- <classname>Zend_Service_Yahoo_ImageResultSet</classname> は、Yahoo! Image Search
- の結果セットを表します。
- </para>
- <note>
- <para>
- <classname>Zend_Service_Yahoo_ImageResultSet</classname> は
- <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- を継承しています。
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.videoresultset">
- <title>Zend_Service_Yahoo_VideoResultSet</title>
- <para>
- <classname>Zend_Service_Yahoo_VideoResultSet</classname> は、Yahoo! Video Search
- の結果セットを表します。
- </para>
- <note>
- <para>
- <classname>Zend_Service_Yahoo_VideoResultSet</classname> は
- <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- を継承しています。
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.localresultset">
- <title>Zend_Service_Yahoo_LocalResultSet</title>
- <para>
- <classname>Zend_Service_Yahoo_LocalResultSet</classname> は、Yahoo! Local Search
- の結果セットを表します。
- </para>
- <table id="zend.service.yahoo.classes.localresultset.table-1">
- <title>Zend_Service_Yahoo_LocalResultSet のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>resultSetMapURL</entry>
- <entry>string</entry>
- <entry>返される結果が記された地図画像を含むウェブページの <acronym>URL</acronym>。</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <note>
- <para>
- <classname>Zend_Service_Yahoo_LocalResultSet</classname> は
- <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- を継承しています。
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.newsresultset">
- <title>Zend_Service_Yahoo_NewsResultSet</title>
- <para>
- <classname>Zend_Service_Yahoo_NewsResultSet</classname> は、Yahoo! News Search
- の結果セットを表します。
- </para>
- <note>
- <para>
- <classname>Zend_Service_Yahoo_NewsResultSet</classname> は
- <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- を継承しています。
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.inlinkdataresultset">
- <title>Zend_Service_Yahoo_InlinkDataResultSet</title>
- <para>
- <classname>Zend_Service_Yahoo_InlinkDataResultSet</classname> は、
- Yahoo! Inbound Link Search の結果セットを表します。
- </para>
- <note>
- <para>
- <classname>Zend_Service_Yahoo_InlinkDataResultSet</classname> は
- <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- を継承しています。
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.pagedataresultset">
- <title>Zend_Service_Yahoo_PageDataResultSet</title>
- <para>
- <classname>Zend_Service_Yahoo_PageDataResultSet</classname> は、
- Yahoo! PageData Search の結果セットを表します。
- </para>
- <note>
- <para>
- <classname>Zend_Service_Yahoo_PageDataResultSet</classname> は
- <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
- を継承しています。
- </para>
- </note>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.result">
- <title>Zend_Service_Yahoo_Result</title>
- <para>
- 検索の種類に応じた検索結果は、この基底クラスを継承したものです。
- </para>
- <sect4 id="zend.service.yahoo.classes.result.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.result.properties.table-1">
- <title>Zend_Service_Yahoo_Result のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Title</entry>
- <entry>string</entry>
- <entry>結果項目のタイトル</entry>
- </row>
- <row>
- <entry>Url</entry>
- <entry>string</entry>
- <entry>結果項目の <acronym>URL</acronym></entry>
- </row>
- <row>
- <entry>ClickUrl</entry>
- <entry>string</entry>
- <entry>結果項目へリンクする <acronym>URL</acronym></entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.webresult">
- <title>Zend_Service_Yahoo_WebResult</title>
- <para>
- Web Search の結果は <classname>Zend_Service_Yahoo_WebResult</classname>
- オブジェクトとして返されます。
- </para>
- <sect4 id="zend.service.yahoo.classes.webresult.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.webresult.properties.table-1">
- <title>Zend_Service_Yahoo_WebResult のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>結果の概要</entry>
- </row>
- <row>
- <entry>MimeType</entry>
- <entry>string</entry>
- <entry>結果の <acronym>MIME</acronym> 型</entry>
- </row>
- <row>
- <entry>ModificationDate</entry>
- <entry>string</entry>
- <entry><acronym>UNIX</acronym> タイムスタンプで表した、結果の最終更新時刻</entry>
- </row>
- <row>
- <entry>CacheUrl</entry>
- <entry>string</entry>
- <entry>結果に対応する Yahoo! ウェブキャッシュの <acronym>URL</acronym> (もし存在すれば)</entry>
- </row>
- <row>
- <entry>CacheSize</entry>
- <entry>int</entry>
- <entry>キャッシュエントリの大きさ</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.imageresult">
- <title>Zend_Service_Yahoo_ImageResult</title>
- <para>
- Image Search の結果は <classname>Zend_Service_Yahoo_ImageResult</classname>
- オブジェクトとして返されます。
- </para>
- <sect4 id="zend.service.yahoo.classes.imageresult.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.imageresult.properties.table-1">
- <title>Zend_Service_Yahoo_ImageResult のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>結果の概要</entry>
- </row>
- <row>
- <entry>RefererUrl</entry>
- <entry>string</entry>
- <entry>画像を含むページの <acronym>URL</acronym></entry>
- </row>
- <row>
- <entry>FileSize</entry>
- <entry>int</entry>
- <entry>画像ファイルのバイト数</entry>
- </row>
- <row>
- <entry>FileFormat</entry>
- <entry>string</entry>
- <entry>画像の形式 (bmp、gif、jpeg、png など)</entry>
- </row>
- <row>
- <entry>Height</entry>
- <entry>int</entry>
- <entry>画像の高さ</entry>
- </row>
- <row>
- <entry>Width</entry>
- <entry>int</entry>
- <entry>画像の幅</entry>
- </row>
- <row>
- <entry>Thumbnail</entry>
- <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
- <entry>画像のサムネイル</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.videoresult">
- <title>Zend_Service_Yahoo_VideoResult</title>
- <para>
- Video Search の結果は<classname>Zend_Service_Yahoo_VideoResult</classname>
- オブジェクトとして返されます。
- </para>
- <sect4 id="zend.service.yahoo.classes.videoresult.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.videoresult.properties.table-1">
- <title>Zend_Service_Yahoo_VideoResult のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>結果の概要</entry>
- </row>
- <row>
- <entry>RefererUrl</entry>
- <entry>string</entry>
- <entry>動画を含むページの <acronym>URL</acronym></entry>
- </row>
- <row>
- <entry>FileSize</entry>
- <entry>int</entry>
- <entry>動画のサイズを表すバイト数</entry>
- </row>
- <row>
- <entry>FileFormat</entry>
- <entry>string</entry>
- <entry>動画のフォーマット (avi, flash, mpeg, msmedia, quicktime, realmedia, など)</entry>
- </row>
- <row>
- <entry>Height</entry>
- <entry>int</entry>
- <entry>動画の高さを表すピクセル数</entry>
- </row>
- <row>
- <entry>Width</entry>
- <entry>int</entry>
- <entry>動画の幅を表すピクセル数</entry>
- </row>
- <row>
- <entry>Duration</entry>
- <entry>int</entry>
- <entry>動画の長さを表す秒数</entry>
- </row>
- <row>
- <entry>Channels</entry>
- <entry>int</entry>
- <entry>動画の音声チャネル数</entry>
- </row>
- <row>
- <entry>Streaming</entry>
- <entry>boolean</entry>
- <entry>ストリーミング形式かどうか</entry>
- </row>
- <row>
- <entry>Thumbnail</entry>
- <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
- <entry>画像のサムネイル</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.localresult">
- <title>Zend_Service_Yahoo_LocalResult</title>
- <para>
- Local Search の結果は <classname>Zend_Service_Yahoo_LocalResult</classname>
- オブジェクトとして返されます。
- </para>
- <sect4 id="zend.service.yahoo.classes.localresult.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.localresult.properties.table-1">
- <title>Zend_Service_Yahoo_LocalResult のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Address</entry>
- <entry>string</entry>
- <entry>結果の番地</entry>
- </row>
- <row>
- <entry>City</entry>
- <entry>string</entry>
- <entry>結果が存在する市</entry>
- </row>
- <row>
- <entry>State</entry>
- <entry>string</entry>
- <entry>結果が存在する州</entry>
- </row>
- <row>
- <entry>Phone</entry>
- <entry>string</entry>
- <entry>結果の電話番号</entry>
- </row>
- <row>
- <entry>Rating</entry>
- <entry>int</entry>
- <entry>結果に対するユーザの評価</entry>
- </row>
- <row>
- <entry>Distance</entry>
- <entry>float</entry>
- <entry>指定した位置から結果の位置までの距離</entry>
- </row>
- <row>
- <entry>MapUrl</entry>
- <entry>string</entry>
- <entry>結果の地図の <acronym>URL</acronym></entry>
- </row>
- <row>
- <entry>BusinessUrl</entry>
- <entry>string</entry>
- <entry>ビジネスウェブサイトの <acronym>URL</acronym> (もしわかれば)</entry>
- </row>
- <row>
- <entry>BusinessClickUrl</entry>
- <entry>string</entry>
- <entry>ビジネスウェブサイトへのリンク用の <acronym>URL</acronym> (もしわかれば)</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.newsresult">
- <title>Zend_Service_Yahoo_NewsResult</title>
- <para>
- News Search の結果は <classname>Zend_Service_Yahoo_NewsResult</classname>
- オブジェクトとして返されます。
- </para>
- <sect4 id="zend.service.yahoo.classes.newsresult.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.newsresult.properties.table-1">
- <title>Zend_Service_Yahoo_NewsResult のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Summary</entry>
- <entry>string</entry>
- <entry>結果の概要</entry>
- </row>
- <row>
- <entry>NewsSource</entry>
- <entry>string</entry>
- <entry>記事を配信した会社</entry>
- </row>
- <row>
- <entry>NewsSourceUrl</entry>
- <entry>string</entry>
- <entry>記事を配信した会社の <acronym>URL</acronym></entry>
- </row>
- <row>
- <entry>Language</entry>
- <entry>string</entry>
- <entry>記事が記述されている言語</entry>
- </row>
- <row>
- <entry>PublishDate</entry>
- <entry>string</entry>
- <entry><acronym>UNIX</acronym> タイムスタンプで表した、記事の配信時刻</entry>
- </row>
- <row>
- <entry>ModificationDate</entry>
- <entry>string</entry>
- <entry><acronym>UNIX</acronym> タイムスタンプで表した、記事の最終更新時刻</entry>
- </row>
- <row>
- <entry>Thumbnail</entry>
- <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
- <entry>記事の画像サムネイル (もしあれば)</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.inlinkdataresult">
- <title>Zend_Service_Yahoo_InlinkDataResult</title>
- <para>
- Inbound Link Search の結果の各項目は
- <classname>Zend_Service_Yahoo_InlinkDatabResult</classname> オブジェクトで返されます。
- </para>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.pagedataresult">
- <title>Zend_Service_Yahoo_PageDataResult</title>
- <para>
- Page Data Search の結果の各項目は
- <classname>Zend_Service_Yahoo_PageDatabResult</classname> オブジェクトで返されます。
- </para>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect3>
- <sect3 id="zend.service.yahoo.classes.image">
- <title>Zend_Service_Yahoo_Image</title>
- <para>
- Yahoo! Image Search あるいは Yahoo! News Search が返すすべての画像は
- <classname>Zend_Service_Yahoo_Image</classname> オブジェクトで表されます。
- </para>
- <sect4 id="zend.service.yahoo.classes.image.properties">
- <title>プロパティ</title>
- <table id="zend.service.yahoo.classes.image.properties.table-1">
- <title>Zend_Service_Yahoo_Image のプロパティ</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>名前</entry>
- <entry>型</entry>
- <entry>説明</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Url</entry>
- <entry>string</entry>
- <entry>画像の <acronym>URL</acronym></entry>
- </row>
- <row>
- <entry>Width</entry>
- <entry>int</entry>
- <entry>画像の幅</entry>
- </row>
- <row>
- <entry>Height</entry>
- <entry>int</entry>
- <entry>画像の高さ</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <para>
- <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
- </para>
- </sect4>
- </sect3>
- </sect2>
- </sect1>
- <!--
- vim:se ts=4 sw=4 et:
- -->
|