Forráskód Böngészése

Merge pull request #553 from froschdesign/hotfix/552

Removes Zend_Service_Technorati - Fixes #552
Rob Allen 10 éve
szülő
commit
3287a6754d
100 módosított fájl, 0 hozzáadás és 13662 törlés
  1. 0 1
      documentation/manual/de/module_specs/Zend_Service.xml
  2. 0 1045
      documentation/manual/de/module_specs/Zend_Service_Technorati.xml
  3. 0 1
      documentation/manual/en/manual-print2.xml.in
  4. 0 5
      documentation/manual/en/manual.xml.in
  5. 0 6
      documentation/manual/en/module_specs/Zend_Service.xml
  6. 0 1021
      documentation/manual/en/module_specs/Zend_Service_Technorati.xml
  7. 0 108
      documentation/manual/en/ref/requirements-dependencies-table.xml
  8. 0 12
      documentation/manual/en/ref/requirements-zendcomponents-table.xml
  9. 0 95
      documentation/manual/es/ref/requirements-dependencies-table.xml
  10. 0 11
      documentation/manual/es/ref/requirements-zendcomponents-table.xml
  11. 0 6
      documentation/manual/fr/module_specs/Zend_Service.xml
  12. 0 46
      documentation/manual/he/ref/requirements.xml
  13. 0 108
      documentation/manual/hu/ref/requirements-dependencies-table.xml
  14. 0 12
      documentation/manual/hu/ref/requirements-zendcomponents-table.xml
  15. 0 27
      documentation/manual/id/ref/requirements.xml
  16. 0 6
      documentation/manual/ja/module_specs/Zend_Service.xml
  17. 0 799
      documentation/manual/ja/module_specs/Zend_Service_Technorati.xml
  18. 0 27
      documentation/manual/pl/ref/requirements.xml
  19. 0 6
      documentation/manual/pt-br/module_specs/Zend_Service.xml
  20. 0 1035
      library/Zend/Service/Technorati.php
  21. 0 242
      library/Zend/Service/Technorati/Author.php
  22. 0 161
      library/Zend/Service/Technorati/BlogInfoResult.php
  23. 0 152
      library/Zend/Service/Technorati/CosmosResult.php
  24. 0 176
      library/Zend/Service/Technorati/CosmosResultSet.php
  25. 0 93
      library/Zend/Service/Technorati/DailyCountsResult.php
  26. 0 125
      library/Zend/Service/Technorati/DailyCountsResultSet.php
  27. 0 39
      library/Zend/Service/Technorati/Exception.php
  28. 0 103
      library/Zend/Service/Technorati/GetInfoResult.php
  29. 0 118
      library/Zend/Service/Technorati/KeyInfoResult.php
  30. 0 121
      library/Zend/Service/Technorati/Result.php
  31. 0 289
      library/Zend/Service/Technorati/ResultSet.php
  32. 0 150
      library/Zend/Service/Technorati/SearchResult.php
  33. 0 79
      library/Zend/Service/Technorati/SearchResultSet.php
  34. 0 171
      library/Zend/Service/Technorati/TagResult.php
  35. 0 110
      library/Zend/Service/Technorati/TagResultSet.php
  36. 0 93
      library/Zend/Service/Technorati/TagsResult.php
  37. 0 67
      library/Zend/Service/Technorati/TagsResultSet.php
  38. 0 136
      library/Zend/Service/Technorati/Utils.php
  39. 0 486
      library/Zend/Service/Technorati/Weblog.php
  40. 0 2
      tests/Zend/Service/AllTests.php
  41. 0 94
      tests/Zend/Service/Technorati/AllTests.php
  42. 0 138
      tests/Zend/Service/Technorati/AuthorTest.php
  43. 0 92
      tests/Zend/Service/Technorati/BlogInfoResultTest.php
  44. 0 170
      tests/Zend/Service/Technorati/CosmosResultSetTest.php
  45. 0 129
      tests/Zend/Service/Technorati/CosmosResultTest.php
  46. 0 88
      tests/Zend/Service/Technorati/DailyCountsResultSetTest.php
  47. 0 76
      tests/Zend/Service/Technorati/DailyCountsResultTest.php
  48. 0 76
      tests/Zend/Service/Technorati/GetInfoResultTest.php
  49. 0 90
      tests/Zend/Service/Technorati/KeyInfoResultTest.php
  50. 0 131
      tests/Zend/Service/Technorati/ResultSetTest.php
  51. 0 80
      tests/Zend/Service/Technorati/ResultTest.php
  52. 0 84
      tests/Zend/Service/Technorati/SearchResultSetTest.php
  53. 0 91
      tests/Zend/Service/Technorati/SearchResultTest.php
  54. 0 90
      tests/Zend/Service/Technorati/TagResultSetTest.php
  55. 0 86
      tests/Zend/Service/Technorati/TagResultTest.php
  56. 0 85
      tests/Zend/Service/Technorati/TagsResultSetTest.php
  57. 0 83
      tests/Zend/Service/Technorati/TagsResultTest.php
  58. 0 638
      tests/Zend/Service/Technorati/TechnoratiTest.php
  59. 0 159
      tests/Zend/Service/Technorati/TestCase.php
  60. 0 102
      tests/Zend/Service/Technorati/UtilsTest.php
  61. 0 277
      tests/Zend/Service/Technorati/WeblogTest.php
  62. 0 15
      tests/Zend/Service/Technorati/_files/MISSING
  63. 0 14
      tests/Zend/Service/Technorati/_files/TestAuthor.xml
  64. 0 12
      tests/Zend/Service/Technorati/_files/TestAuthorNullFields.xml
  65. 0 16
      tests/Zend/Service/Technorati/_files/TestBlogInfoError.xml
  66. 0 19
      tests/Zend/Service/Technorati/_files/TestBlogInfoErrorUrlNotWeblog.xml
  67. 0 31
      tests/Zend/Service/Technorati/_files/TestBlogInfoResult.xml
  68. 0 32
      tests/Zend/Service/Technorati/_files/TestBlogInfoResultUrlWithInvalidSchema.xml
  69. 0 31
      tests/Zend/Service/Technorati/_files/TestBlogInfoSuccess.xml
  70. 0 16
      tests/Zend/Service/Technorati/_files/TestBlogPostTagsError.xml
  71. 0 24
      tests/Zend/Service/Technorati/_files/TestBlogPostTagsErrorUrlNotWeblog.xml
  72. 0 103
      tests/Zend/Service/Technorati/_files/TestBlogPostTagsSuccess.xml
  73. 0 16
      tests/Zend/Service/Technorati/_files/TestCosmosError.xml
  74. 0 57
      tests/Zend/Service/Technorati/_files/TestCosmosResultSet.xml
  75. 0 303
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogLink.xml
  76. 0 348
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogLinkClaim.xml
  77. 0 252
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblog.xml
  78. 0 266
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblogClaim.xml
  79. 0 293
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblogClaim2.xml
  80. 0 62
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteLink.xml
  81. 0 56
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteUrlWithInvalidSchema.xml
  82. 0 54
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteWeblog.xml
  83. 0 55
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteWeblogWithMissingInboundblogs.xml
  84. 0 47
      tests/Zend/Service/Technorati/_files/TestCosmosSuccess.xml
  85. 0 16
      tests/Zend/Service/Technorati/_files/TestDailyCountsError.xml
  86. 0 47
      tests/Zend/Service/Technorati/_files/TestDailyCountsResultSet.xml
  87. 0 747
      tests/Zend/Service/Technorati/_files/TestDailyCountsSuccess.xml
  88. 0 15
      tests/Zend/Service/Technorati/_files/TestError.xml
  89. 0 16
      tests/Zend/Service/Technorati/_files/TestGetInfoError.xml
  90. 0 55
      tests/Zend/Service/Technorati/_files/TestGetInfoResult.xml
  91. 0 114
      tests/Zend/Service/Technorati/_files/TestGetInfoSuccess.xml
  92. 0 16
      tests/Zend/Service/Technorati/_files/TestKeyInfoError.xml
  93. 0 16
      tests/Zend/Service/Technorati/_files/TestKeyInfoResult.xml
  94. 0 16
      tests/Zend/Service/Technorati/_files/TestKeyInfoSuccess.xml
  95. 0 70
      tests/Zend/Service/Technorati/_files/TestSearchResultSet.xml
  96. 0 55
      tests/Zend/Service/Technorati/_files/TestSearchSuccess.xml
  97. 0 16
      tests/Zend/Service/Technorati/_files/TestTagError.xml
  98. 0 87
      tests/Zend/Service/Technorati/_files/TestTagResultSet.xml
  99. 0 70
      tests/Zend/Service/Technorati/_files/TestTagSuccess.xml
  100. 0 35
      tests/Zend/Service/Technorati/_files/TestTagsResultSet.xml

+ 0 - 1
documentation/manual/de/module_specs/Zend_Service.xml

@@ -35,7 +35,6 @@
         <listitem><para><link linkend="zend.service.recaptcha">ReCaptcha</link></para></listitem>
         <listitem><para><link linkend="zend.service.slideshare">SlideShare</link></para></listitem>
         <listitem><para><link linkend="zend.service.strikeiron">StrikeIron</link></para></listitem>
-        <listitem><para><link linkend="zend.service.technorati">Technorati</link></para></listitem>
         <listitem><para><link linkend="zend.service.twitter">Twitter</link></para></listitem>
 
         <listitem>

+ 0 - 1045
documentation/manual/de/module_specs/Zend_Service_Technorati.xml

@@ -1,1045 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 24249 -->
-<!-- Reviewed: no -->
-<sect1 id="zend.service.technorati">
-    <title>Zend_Service_Technorati</title>
-
-    <sect2 id="zend.service.technorati.introduction">
-        <title>Einführung</title>
-
-        <para>
-            <classname>Zend_Service_Technorati</classname> bietet ein einfaches, intuitives und
-            objekt-orientiertes Interface für die Verwendung der Technorati <acronym>API</acronym>.
-            Es bietet Zugriff zu allen vorhandenen <ulink
-                url="http://technorati.com/developers/api/">Technorati <acronym>API</acronym>
-                Abfragen</ulink> und gibt die originalen <acronym>XML</acronym> Antworten als
-            freundliches <acronym>PHP</acronym> Objekt zurück.
-        </para>
-
-        <para>
-            <ulink url="http://technorati.com/">Technorati</ulink> ist eine der populärsten Blog
-            Suchmaschinen. Das <acronym>API</acronym> Interface ermöglicht es Entwicklern
-            Informationen über einen spezifischen Blog zu erhalten, Blogs zu suchen die einem
-            einzelnen Tag oder einer Phrase entsprechen und Informationen über einen spezifischen
-            Author (Blogger) erhalten. Für eine komplette Liste von vorhandenen Abfragen kann in die
-            <ulink url="http://technorati.com/developers/api/">Technorati <acronym>API</acronym>
-                Dokumentation</ulink> oder die <link
-                linkend="zend.service.technorati.queries">vorhandenen Technorati Abfragen</link>
-            Sektion dieses Dokuments gesehen werden.
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.getting-started">
-        <title>Anfangen</title>
-
-        <para>
-            Technorati benötigt einen gültigen <acronym>API</acronym> Schlüssel zur Verwendung. Um
-            einen eigenen <acronym>API</acronym> Schlüssel zu erhalten muss <ulink
-                url="http://technorati.com/signup/">ein neuer Technorati Account erstellt
-                werden</ulink>, und anschließend die <ulink
-                url="http://technorati.com/developers/apikey.html">API Schlüssel Sektion</ulink>
-            besucht werden.
-        </para>
-
-        <note>
-            <title>API Schlüssel Beschränkungen</title>
-
-            <para>
-                Es können bis zu 500 Technirati <acronym>API</acronym> Aufrufe pro Tag durchgeführt
-                werden ohne das Kosten anfallen. Andere Limitationen der Verwendung können vorhanden
-                sein, abhängig von der aktuellen Technorati <acronym>API</acronym> Lizenz.
-            </para>
-        </note>
-
-        <para>
-            Sobald man einen gültigen <acronym>API</acronym> Schlüssel hat, kann man beginnen
-            <classname>Zend_Service_Technorati</classname> zu verwenden.
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.making-first-query">
-        <title>Die erste Abfrage durchführen</title>
-
-        <para>
-            Um eine Abfrage durchzuführen, benötigt man zuerst eine
-            <classname>Zend_Service_Technorati</classname> Instanz mit einem gültigen
-            <acronym>API</acronym> Schlüssel. Dann kann eine der vorhandenen Abfragemethoden
-            ausgewählt werden, und durch Angabe der benötigen Argumente aufgerufen werden.
-        </para>
-
-        <example id="zend.service.technorati.making-first-query.example-1">
-            <title>Die erste Abfragen senden</title>
-
-            <programlisting language="php"><![CDATA[
-// ein neues Zend_Service_Technorati mit einem gültigen API_KEY erstellen
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati nach dem Schlüsselwort PHP durchsuchen
-$resultSet = $technorati->search('PHP');
-]]></programlisting>
-        </example>
-
-        <para>
-            Jede Abfragemethode akzeptiert ein Array von optionalen Parametern die verwendet werden
-            kann um die Abfrage zu verfeinern.
-        </para>
-
-        <example id="zend.service.technorati.making-first-query.example-2">
-            <title>Verfeinern der Abfrage</title>
-
-            <programlisting language="php"><![CDATA[
-// ein neues Zend_Service_Technorati mit einem gültigen API_KEY erstellen
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Die Abfrage nach Ergebnissen mit etwas Authority filtern
-// (Ergebnisse von Blogs mit einer Handvoll Links)
-$options = array('authority' => 'a4');
-
-// Technorati nach dem Schlüsselwort PHP durchsuchen
-$resultSet = $technorati->search('PHP', $options);
-]]></programlisting>
-        </example>
-
-        <para>
-            Eine <classname>Zend_Service_Technorati</classname> Instanz ist kein einmal zu
-            verwendendes Objekt. Deswegen muß keine neue Instanz für jede Abfrage erstellt werden;
-            es kann einfach das aktuelle <classname>Zend_Service_Technorati</classname> Objekt
-            solange verwendet werden wie es benötigt wird.
-        </para>
-
-        <example id="zend.service.technorati.making-first-query.example-3">
-            <title>
-                Mehrfache Abfragen mit der gleichen Zend_Service_Technorati Instanz senden
-            </title>
-
-            <programlisting language="php"><![CDATA[
-// ein neues Zend_Service_Technorati mit einem gültigen API_KEY erstellen
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati nach dem Schlüsselwort PHP durchsuchen
-$search = $technorati->search('PHP');
-
-// Top Tags die von Technorati indiziert wurden erhalten
-$topTags = $technorati->topTags();
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.consuming-results">
-        <title>Ergebnisse verarbeiten</title>
-
-        <para>
-            Es kann einer von zwei Typen von Ergebnisobjekten als Antwort auf eine Abfrage empfangen
-            werden.
-        </para>
-
-        <para>
-            Die erste Gruppe wird durch <classname>Zend_Service_Technorati_*ResultSet</classname>
-            Objekte repräsentiert. Ein Ergebnisset Objekt ist grundsätzlich eine Kollektion von
-            Ergebnisobjekten. Es erweitert die grundsätzliche
-            <classname>Zend_Service_Technorati_ResultSet</classname> Klasse und implementiert das
-            <acronym>PHP</acronym> Interface <classname>SeekableIterator</classname>. Der beste Weg
-            um ein Ergebnisset Objekt zu verarbeiten ist dieses mit einem <acronym>PHP</acronym>
-            <methodname>foreach()</methodname> Statement zu durchlaufen.
-        </para>
-
-        <example id="zend.service.technorati.consuming-results.example-1">
-            <title>Ein Ergebnisset Objekt verarbeiten</title>
-
-            <programlisting language="php"><![CDATA[
-// ein neues Zend_Service_Technorati mit einem gültigen API_KEY erstellen
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati nach dem PHP Schlüsselwort durchsuchen
-// $resultSet ist eine Instanz von Zend_Service_Technorati_SearchResultSet
-$resultSet = $technorati->search('PHP');
-
-// Alle Ergebnisobjekte durchlaufen
-foreach ($resultSet as $result) {
-    // $result ist eine Instanz von Zend_Service_Technorati_SearchResult
-}
-]]></programlisting>
-        </example>
-
-        <para>
-            Weil <classname>Zend_Service_Technorati_ResultSet</classname> das
-            <classname>SeekableIterator</classname> Interface implementiert, kann ein spezifisches
-            Ergebnisobjekt gesucht werden indem dessen Position in der Ergebnissammlung verwendet
-            wird.
-        </para>
-
-        <example id="zend.service.technorati.consuming-results.example-2">
-            <title>Ein spezifisches Ergebnisset Objekt suchen</title>
-
-            <programlisting language="php"><![CDATA[
-// ein neues Zend_Service_Technorati mit einem gültigen API_KEY erstellen
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati nach dem PHP Schlüsselwort durchsuchen
-// $resultSet ist eine Instanz von Zend_Service_Technorati_SearchResultSet
-$resultSet = $technorati->search('PHP');
-
-// $result ist eine Instanz von Zend_Service_Technorati_SearchResult
-$resultSet->seek(1);
-$result = $resultSet->current();
-]]></programlisting>
-        </example>
-
-        <note>
-            <para>
-                <classname>SeekableIterator</classname> arbeitet als Array und zählt Positionen
-                beginnend vom Index 0. Das Holen der Position 1 bedeutet das man das zweite Ergebnis
-                der Kollektion erhält.
-            </para>
-        </note>
-
-        <para>
-            Die zweite Gruppe wird durch spezielle alleinstehende Ergebnisobjekte repräsentiert.
-            <classname>Zend_Service_Technorati_GetInfoResult</classname>,
-            <classname>Zend_Service_Technorati_BlogInfoResult</classname> und
-            <classname>Zend_Service_Technorati_KeyInfoResult</classname> funktionieren als Wrapper
-            für zusätzliche Objekte, wie <classname>Zend_Service_Technorati_Author</classname> und
-            <classname>Zend_Service_Technorati_Weblog</classname>.
-        </para>
-
-        <example id="zend.service.technorati.consuming-results.example-3">
-            <title>Ein alleinstehendes Ergebnisobjekt verarbeiten</title>
-
-            <programlisting language="php"><![CDATA[
-// ein neues Zend_Service_Technorati mit einem gültigen API_KEY erstellen
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Infos über weppos Author erhalten
-$result = $technorati->getInfo('weppos');
-
-$author = $result->getAuthor();
-echo '<h2>Blogs authorisiert von ' . $author->getFirstName() . " " .
-          $author->getLastName() . '</h2>';
-echo '<ol>';
-foreach ($result->getWeblogs() as $weblog) {
-    echo '<li>' . $weblog->getName() . '</li>';
-}
-echo "</ol>";
-]]></programlisting>
-        </example>
-
-        <para>
-            Bitte lesen Sie das
-            <link linkend="zend.service.technorati.classes">Zend_Service_Technorati Klassen</link>
-            Kapitel für weitere Details über Antwortklassen.
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.handling-errors">
-        <title>Fehler behandeln</title>
-
-        <para>
-            Jede <classname>Zend_Service_Technorati</classname> Abfragemethode wirft bei einem
-            Fehler eine <classname>Zend_Service_Technorati_Exception</classname> Ausnahme mit einer
-            bedeutungsvollen Fehlermeldung.
-        </para>
-
-        <para>
-            Es gibt verschiedene Gründe die Verursachen können das eine
-            <classname>Zend_Service_Technorati</classname> Abfrage fehlschlägt.
-            <classname>Zend_Service_Technorati</classname> prüft alle Parameter für jegliche
-            Abfrageanfragen. Wenn ein Parameter ungültig ist oder er einen ungültigen Wert enthält,
-            wird eine neue <classname>Zend_Service_Technorati_Exception</classname> Ausnahme
-            geworfen. Zusätzlich kann das Technorati <acronym>API</acronym> Interface temporär
-            unerreichbar sein, oder es kann eine Antwort zurückgeben die nicht gültig ist.
-        </para>
-
-        <para>
-            Eine Technorati Abfrage sollte immer mit einem <command>try ... catch</command>
-            Block umhüllt werden.
-        </para>
-
-        <example id="zend.service.technorati.handling-errors.example-1">
-            <title>Eine Abfrageausnahme behandeln</title>
-
-            <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-try {
-    $resultSet = $technorati->search('PHP');
-} catch(Zend_Service_Technorati_Exception $e) {
-    echo "Ein Fehler ist aufgetreten: " $e->getMessage();
-}
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.checking-api-daily-usage">
-        <title>Prüfen der täglichen Verwendung des eigenen API Schlüssels</title>
-
-        <para>
-            Von Zeit zu Zeit wird man die tägliche Verwendung des <acronym>API</acronym> Schlüssels
-            prüfen wollen. Standardmäßig limitiert Technorati die <acronym>API</acronym> Verwendung
-            auf 500 Aufrufe pro Tag, und eine Ausnahme wird durch
-            <classname>Zend_Service_Technorati</classname> zurückgegeben wenn versucht wird dieses
-            Limit zu überschreiten. Man kann diese Information über die Verwendung des eigenen
-            <acronym>API</acronym> Schlüssels erhalten indem die
-            <methodname>Zend_Service_Technorati::keyInfo()</methodname> Methode verwendet wird.
-        </para>
-
-        <para>
-            <methodname>Zend_Service_Technorati::keyInfo()</methodname> gibt ein
-            <classname>Zend_Service_Technorati_KeyInfoResult</classname> Object zurück. Für
-            vollständige Details kann im <ulink url="http://framework.zend.com/apidoc/core/">API
-                Referenz Guide</ulink> nachgesehen werden.
-        </para>
-
-        <example id="zend.service.technorati.checking-api-daily-usage.example-1">
-            <title>Die Information über die tägliche Verwendung des API Schlüssels erhalten</title>
-
-            <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$key = $technorati->keyInfo();
-
-echo "API Schlüssel: " . $key->getApiKey() . "<br />";
-echo "Tägliche Verwendung: " . $key->getApiQueries() . "/" .
-     $key->getMaxQueries() . "<br />";
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.queries">
-        <title>Vorhandene Technorati Abfragen</title>
-
-        <para>
-            <classname>Zend_Service_Technorati</classname> bietet Unterstützung für die folgenden
-            Abfragen:
-
-            <itemizedlist>
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.cosmos">Cosmos</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.search">Search</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.tag">Tag</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.dailycounts">DailyCounts</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.toptags">TopTags</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.bloginfo">BlogInfo</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.blogposttags">BlogPostTags</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.getinfo">GetInfo</link>
-                    </para>
-                </listitem>
-            </itemizedlist>
-        </para>
-
-        <sect3 id="zend.service.technorati.queries.cosmos">
-            <title>Technorati Cosmos</title>
-
-            <para>
-                Eine <ulink url="http://technorati.com/developers/api/cosmos.html">Cosmos</ulink>
-                Abfrage lässt einen Sehen welche Blog zu einer gegebenen <acronym>URL</acronym>
-                verknüpft sind. Sie gibt ein <link
-                    linkend="zend.service.technorati.classes.cosmosresultset"><classname>Zend_Service_Technorati_CosmosResultSet</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::cosmos()</methodname> im <ulink
-                    url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.cosmos.example-1">
-                <title>Cosmos Abfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->cosmos('http://devzone.zend.com/');
-
-echo "<p>Liest " . $resultSet->totalResults() .
-     " von " . $resultSet->totalResultsAvailable() .
-     " vorhandenen Ergebnissen</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.search">
-            <title>Technorati Search</title>
-
-            <para>
-                Die <ulink url="http://technorati.com/developers/api/search.html">Search</ulink>
-                Abfrage lässt einen Sehen welche Blogs einen gegebenen Suchstring enthalten. Sie
-                gibt ein <link
-                    linkend="zend.service.technorati.classes.searchresultset"><classname>Zend_Service_Technorati_SearchResultSet</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::search()</methodname> im <ulink
-                    url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.search.example-1">
-                <title>Suchabfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->search('zend framework');
-
-echo "<p>Liest " . $resultSet->totalResults() .
-     " von " . $resultSet->totalResultsAvailable() .
-     " vorhandenen Ergebnissen</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.tag">
-            <title>Technorati Tag</title>
-
-            <para>
-                Die <ulink url="http://technorati.com/developers/api/tag.html">Tag</ulink> Abfrage
-                lässt einen Sehen welche Antworten mit einem gegebenen Tag assoziiert sind. Sie gibt
-                ein <link
-                    linkend="zend.service.technorati.classes.tagresultset"><classname>Zend_Service_Technorati_TagResultSet</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::tag()</methodname> im <ulink
-                    url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.tag.example-1">
-                <title>Tag Abfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->tag('php');
-
-echo "<p>Liest " . $resultSet->totalResults() .
-     " von " . $resultSet->totalResultsAvailable() .
-     " vorhandenen Ergebnissen</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.dailycounts">
-            <title>Technorati DailyCounts</title>
-
-            <para>
-                Die <ulink
-                    url="http://technorati.com/developers/api/dailycounts.html">DailyCounts</ulink>
-                Abfrage bietet tägliche Anzahlen von Antworten die ein abgefragtes Schlüsselwort
-                enthalten. Sie gibt ein <link
-                    linkend="zend.service.technorati.classes.dailycountsresultset"><classname>Zend_Service_Technorati_DailyCountsResultSet</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::dailyCounts()</methodname> im
-                <ulink url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.dailycounts.example-1">
-                <title>DailyCounts Abfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->dailyCounts('php');
-
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getDate() .
-         "(" . $result->getCount() . ")</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.toptags">
-            <title>Technorati TopTags</title>
-
-            <para>
-                Die <ulink url="http://technorati.com/developers/api/toptags.html">TopTags</ulink>
-                Abfrage bietet Informationen über Top Tags die durch Technorati indiziert sind. Sie
-                gibt ein <link
-                    linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::topTags()</methodname> im
-                <ulink url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.toptags.example-1">
-                <title>TopTags Abfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->topTags();
-
-echo "<p>Liest " . $resultSet->totalResults() .
-     " von " . $resultSet->totalResultsAvailable() .
-     "  vorhandenen Ergebnissen</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getTag() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.bloginfo">
-            <title>Technorati BlogInfo</title>
-
-            <para>
-                Eine <ulink
-                    url="http://technorati.com/developers/api/bloginfo.html">BlogInfo</ulink>
-                Abfrage bietet Informationen darüber welcher Blog, wenn überhaupt, mit einer
-                gegebenen <acronym>URL</acronym> assoziiert ist. Sie gibt ein <link
-                    linkend="zend.service.technorati.classes.bloginforesult"><classname>Zend_Service_Technorati_BlogInfoResult</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::blogInfo()</methodname> im
-                <ulink url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.bloginfo.example-1">
-                <title>BlogInfo Abfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$result = $technorati->blogInfo('http://devzone.zend.com/');
-
-echo '<h2><a href="' . (string) $result->getWeblog()->getUrl() . '">' .
-     $result->getWeblog()->getName() . '</a></h2>';
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.blogposttags">
-            <title>Technorati BlogPostTags</title>
-
-            <para>
-                Eine <ulink
-                    url="http://technorati.com/developers/api/blogposttags.html">BlogPostTags</ulink>
-                Abfrage bietet Informationen über Top Tags die von einem spezifischen Blog verwendet
-                werden. Sie gibt ein <link
-                    linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::blogPostTags()</methodname> im
-                <ulink url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.blogposttags.example-1">
-                <title>BlogPostTags Abfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->blogPostTags('http://devzone.zend.com/');
-
-echo "<p>Liest " . $resultSet->totalResults() .
-     " von " . $resultSet->totalResultsAvailable() .
-     " vorhandenen Ergebnissen</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getTag() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.getinfo">
-            <title>Technorati GetInfo</title>
-
-            <para>
-                Eine <ulink url="http://technorati.com/developers/api/getinfo.html">GetInfo</ulink>
-                Abfrage teilt mit was Technorati über ein Mitglied weiß. Sie gibt ein <link
-                    linkend="zend.service.technorati.classes.getinforesult"><classname>Zend_Service_Technorati_GetInfoResult</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::getInfo()</methodname> im
-                <ulink url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-
-            <example id="zend.service.technorati.queries.getinfo.example-1">
-                <title>GetInfo Abfrage</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$result = $technorati->getInfo('weppos');
-
-$author = $result->getAuthor();
-echo "<h2>Blogs authorisiert von " . $author->getFirstName() . " " .
-     $author->getLastName() . "</h2>";
-echo "<ol>";
-foreach ($result->getWeblogs() as $weblog) {
-    echo "<li>" . $weblog->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.keyinfo">
-            <title>Technorati KeyInfo</title>
-
-            <para>
-                Die KeyInfo Abfrage bietet Informationen über die tägliche Verwendung eines
-                <acronym>API</acronym> Schlüssels. Sie gibt ein <link
-                    linkend="zend.service.technorati.classes.keyinforesult"><classname>Zend_Service_Technorati_KeyInfoResult</classname></link>
-                Objekt zurück. Für vollständige Details kann nach
-                <methodname>Zend_Service_Technorati::keyInfo()</methodname> im
-                <ulink url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink>
-                nachgesehen werden.
-            </para>
-        </sect3>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.classes">
-        <title>Zend_Service_Technorati Klassen</title>
-
-        <para>
-            Die folgenden Klassen werden von den verschiedenen Technorati Anfragen zurückgegeben.
-            Jede <classname>Zend_Service_Technorati_*ResultSet</classname> Klasse enthält ein
-            typ-spezifisches Ergebnisset welches einfach, mit jedem Ergebnis das in einem Typ
-            Ergebnisobjekt enthalten ist, iteriert werden kann. Alle Ergebnisset Klassen erweitern
-            die <classname>Zend_Service_Technorati_ResultSet</classname> Klasse und implementieren
-            das <classname>SeekableIterator</classname> Interface, welches eine einfache Iteration
-            und Suche nach einem spezifischen Ergebnis erlaubt.
-
-            <itemizedlist>
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.resultset"><classname>Zend_Service_Technorati_ResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.cosmosresultset"><classname>Zend_Service_Technorati_CosmosResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.searchresultset"><classname>Zend_Service_Technorati_SearchResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagresultset"><classname>Zend_Service_Technorati_TagResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.dailycountsresultset"><classname>Zend_Service_Technorati_DailyCountsResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.result"><classname>Zend_Service_Technorati_Result</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.cosmosresult"><classname>Zend_Service_Technorati_CosmosResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.searchresult"><classname>Zend_Service_Technorati_SearchResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagresult"><classname>Zend_Service_Technorati_TagResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.dailycountsresult"><classname>Zend_Service_Technorati_DailyCountsResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagsresult"><classname>Zend_Service_Technorati_TagsResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.getinforesult"><classname>Zend_Service_Technorati_GetInfoResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.bloginforesult"><classname>Zend_Service_Technorati_BlogInfoResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.keyinforesult"><classname>Zend_Service_Technorati_KeyInfoResult</classname></link>
-                    </para>
-                </listitem>
-            </itemizedlist>
-        </para>
-
-        <note>
-            <para>
-                <classname>Zend_Service_Technorati_GetInfoResult</classname>,
-                <classname>Zend_Service_Technorati_BlogInfoResult</classname> und
-                <classname>Zend_Service_Technorati_KeyInfoResult</classname> repräsentieren
-                Ausnahmen zu den obigen weil Sie nicht zu einem ergebnisset gehören und sie kein
-                Interface implementieren. Sie repräsentieren ein einzelnes Antwortobjekt und sie
-                funktionieren als Wrapper für zusätzliche
-                <classname>Zend_Service_Technorati</classname> Objekte, wie
-                <classname>Zend_Service_Technorati_Author</classname> und
-                <classname>Zend_Service_Technorati_Weblog</classname>.
-            </para>
-        </note>
-
-        <para>
-            Die <classname>Zend_Service_Technorati</classname> Bibliothek beinhaltet zusätzliche
-            bequeme Klassen die spezifische Antwortobjekte repräsentieren.
-            <classname>Zend_Service_Technorati_Author</classname> repräsentiert einen einzelnen
-            Technorati Account, welcher auch als Blog Author oder Blogger bekannt ist.
-            <classname>Zend_Service_Technorati_Weblog</classname> repräsentiert ein einzelnes Weblog
-            Objekt, zusätzlich mit allen spezifischen Weblog Eigenschaften die Feed
-            <acronym>URL</acronym>s oder Blog Namen. Für komplette Details kann nach
-            <classname>Zend_Service_Technorati</classname> im <ulink
-                url="http://framework.zend.com/apidoc/core/">API Referenz Guide</ulink> nachgesehen
-            werden.
-        </para>
-
-        <sect3 id="zend.service.technorati.classes.resultset">
-            <title>Zend_Service_Technorati_ResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_ResultSet</classname> ist das am meisten
-                essentielle Ergebnisset. Der Zweck dieser Klasse ist es von einer
-                abfrage-spezifischen Kind-Ergebnisset-Klasse erweitert zu werden, und sie sollte
-                niemals verwendet werden um ein alleinstehendes Objekt zu initialisieren. Jedes der
-                spezifischen Ergebnissets repräsentiert eine Kollektion von abfrage-spezifischen
-                <link
-                    linkend="zend.service.technorati.classes.result"><classname>Zend_Service_Technorati_Result</classname></link>
-                Objekte.
-            </para>
-
-            <para>
-                <classname>Zend_Service_Technorati_ResultSet</classname> Implementiert das
-                <acronym>PHP</acronym> <classname>SeekableIterator</classname> Interface, und man
-                kann durch alle Ergebnisobjekte mit dem <acronym>PHP</acronym> Statement
-                <methodname>foreach()</methodname> iterieren.
-            </para>
-
-            <example id="zend.service.technorati.classes.resultset.example-1">
-                <title>Über Ergebnisobjekte von einer Ergebnisset Kollektion iterieren</title>
-
-                <programlisting language="php"><![CDATA[
-// eine einfache Abfrage durchlaufen
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->search('php');
-
-// $resultSet ist jetzt eine Instanz von
-// Zend_Service_Technorati_SearchResultSet
-// sie erweitert Zend_Service_Technorati_ResultSet
-foreach ($resultSet as $result) {
-    // irgendwas mit dem Zend_Service_Technorati_SearchResult Objekt anfangen
-}
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.cosmosresultset">
-            <title>Zend_Service_Technorati_CosmosResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_CosmosResultSet</classname> repräsentiert ein
-                Technorati Cosmos Abfrage Ergebnisset.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_CosmosResultSet</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.searchresultset">
-            <title>Zend_Service_Technorati_SearchResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_SearchResultSet</classname> repräsentiert ein
-                Technorati Search Abfrage Ergebnisset.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_SearchResultSet</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagresultset">
-            <title>Zend_Service_Technorati_TagResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagResultSet</classname> repräsentiert ein
-                Technorati Tag Abfrage Ergebnisset.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagResultSet</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.dailycountsresultset">
-            <title>Zend_Service_Technorati_DailyCountsResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_DailyCountsResultSet</classname> repräsentiert
-                ein Technorati DailyCounts Abfrage Ergebnisset.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_DailyCountsResultSet</classname> erweitert
-                    <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagsresultset">
-            <title>Zend_Service_Technorati_TagsResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagsResultSet</classname> repräsentiert ein
-                Technorati TopTags oder BlogPostTags Abfrage Ergebnisset.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagsResultSet</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.result">
-            <title>Zend_Service_Technorati_Result</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_Result</classname> ist das wichtigste
-                Ergebnisobjekt. Der Zweck dieser Klasse ist es, durch eine abfrage-spezifische
-                Kind-Ergebnisklasse erweitert zu werden, und Sie sollte nie verwendet werden um ein
-                alleinstehendes Objekt zu initiieren.
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.cosmosresult">
-            <title>Zend_Service_Technorati_CosmosResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_CosmosResult</classname> repräsentiert ein
-                einzelnes Technorati Cosmos Abfrageobjekt. Es wird nie als alleinstehendes Objekt
-                zurückgegeben, aber es gehört immer einem gültigen <link
-                    linkend="zend.service.technorati.classes.cosmosresultset">Zend_Service_Technorati_CosmosResultSet</link>
-                Objekt an.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_CosmosResult</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.searchresult">
-            <title>Zend_Service_Technorati_SearchResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_SearchResult</classname> repräsentiert ein
-                einzelnes Technorati Search Abfrage Ergebnisobjekt. Es wird nie als alleinstehendes
-                Objekt zurückgegeben, aber es gehört immer einem gültigen <link
-                    linkend="zend.service.technorati.classes.searchresultset">Zend_Service_Technorati_SearchResultSet</link>
-                Objekt an.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_SearchResult</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagresult">
-            <title>Zend_Service_Technorati_TagResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagResult</classname> repräsentiert ein einzelnes
-                Technorati Tag Abfrage Ergebnisobjekt. Es wird nie als alleinstehendes Objekt
-                zurückgegeben, aber es gehört immer einem gültigen <link
-                    linkend="zend.service.technorati.classes.tagresultset">Zend_Service_Technorati_TagResultSet</link>
-                Objekt an.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagResult</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.dailycountsresult">
-            <title>Zend_Service_Technorati_DailyCountsResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_DailyCountsResult</classname> repräsentiert ein
-                einzelnes Technorati DailyCounts Abfrage Ergebnisobjekt. Es wird nie als
-                alleinstehendes Objekt zurückgegeben, aber es gehört immer einem gültigen <link
-                    linkend="zend.service.technorati.classes.dailycountsresultset">Zend_Service_Technorati_DailyCountsResultSet</link>
-                Objekt an.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_DailyCountsResult</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagsresult">
-            <title>Zend_Service_Technorati_TagsResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagsResult</classname> repräsentiert ein
-                einzelnes Technorati TopTags oder BlogPostTags Abfrage Ergebnisobjekt. Es wird nie
-                als alleinstehendes Objekt zurückgegeben, aber es gehört immer einem gültigen <link
-                    linkend="zend.service.technorati.classes.tagsresultset">Zend_Service_Technorati_TagsResultSet</link>
-                Objekt an.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagsResult</classname> erweitert <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.getinforesult">
-            <title>Zend_Service_Technorati_GetInfoResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_GetInfoResult</classname> repräsentiert ein
-                einzelnes Technorati GetInfo Abfrage Ergebnisobjekt.
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.bloginforesult">
-            <title>Zend_Service_Technorati_BlogInfoResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_BlogInfoResult</classname> repräsentiert ein
-                einzelnes Technorati BlogInfo Abfrage Ergebnisobjekt.
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.keyinforesult">
-            <title>Zend_Service_Technorati_KeyInfoResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_KeyInfoResult</classname> repräsentiert ein
-                einzelnes Technorati KeyInfo Abfrage Ergebnisobjekt. Es bietet Informationen über
-                die eigene <link linkend="zend.service.technorati.checking-api-daily-usage">tägliche
-                Verwendung des Technorati <acronym>API</acronym> Schlüssels</link>.
-            </para>
-        </sect3>
-    </sect2>
-</sect1>

+ 0 - 1
documentation/manual/en/manual-print2.xml.in

@@ -200,7 +200,6 @@
         <xi:include href="module_specs/Zend_Service_StrikeIron-Overview.xml" />
         <xi:include href="module_specs/Zend_Service_StrikeIron-BundledServices.xml" />
         <xi:include href="module_specs/Zend_Service_StrikeIron-AdvancedUses.xml" />
-        <xi:include href="module_specs/Zend_Service_Technorati.xml" />
         <xi:include href="module_specs/Zend_Service_Twitter.xml" parse="xml" />
         <xi:include href="module_specs/Zend_Service_Yahoo.xml" />
     </chapter>

+ 0 - 5
documentation/manual/en/manual.xml.in

@@ -2007,11 +2007,6 @@
                     <xi:include href="../en/module_specs/Zend_Service_StrikeIron-AdvancedUses.xml" />
                 </xi:fallback>
             </xi:include>
-            <xi:include href="module_specs/Zend_Service_Technorati.xml">
-                <xi:fallback>
-                    <xi:include href="../en/module_specs/Zend_Service_Technorati.xml" />
-                </xi:fallback>
-            </xi:include>
             <xi:include href="module_specs/Zend_Service_Twitter.xml" parse="xml">
                 <xi:fallback>
                     <xi:include href="../en/module_specs/Zend_Service_Twitter.xml" parse="xml" />

+ 0 - 6
documentation/manual/en/module_specs/Zend_Service.xml

@@ -89,12 +89,6 @@
 
         <listitem>
             <para>
-                <link linkend="zend.service.technorati">Technorati</link>
-            </para>
-        </listitem>
-
-        <listitem>
-            <para>
                 <link linkend="zend.service.twitter">Twitter</link>
             </para>
         </listitem>

+ 0 - 1021
documentation/manual/en/module_specs/Zend_Service_Technorati.xml

@@ -1,1021 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Reviewed: no -->
-<sect1 id="zend.service.technorati">
-    <title>Zend_Service_Technorati</title>
-
-    <sect2 id="zend.service.technorati.introduction">
-        <title>Introduction</title>
-
-        <para>
-            <classname>Zend_Service_Technorati</classname> provides an easy, intuitive and
-            object-oriented interface for using the Technorati <acronym>API</acronym>. It provides
-            access to all available <ulink url="http://technorati.com/developers/api/">Technorati
-            <acronym>API</acronym> queries</ulink> and returns the original <acronym>XML</acronym>
-            response as a friendly <acronym>PHP</acronym> object.
-        </para>
-
-        <para>
-            <ulink url="http://technorati.com/">Technorati</ulink> is one of the most popular blog
-            search engines. The <acronym>API</acronym> interface enables developers to retrieve
-            information about a specific blog, search blogs matching a single tag or phrase and get
-            information about a specific author (blogger). For a full list of available queries
-            please see the <ulink url="http://technorati.com/developers/api/">Technorati
-                <acronym>API</acronym> documentation</ulink> or the <link
-                linkend="zend.service.technorati.queries">Available Technorati queries</link>
-            section of this document.
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.getting-started">
-        <title>Getting Started</title>
-
-        <para>
-            Technorati requires a valid <acronym>API</acronym> key for usage. To get your own
-            <acronym>API</acronym> Key you first need to <ulink
-                url="http://technorati.com/signup/">create a new Technorati account</ulink>, then
-            visit the <ulink url="http://technorati.com/developers/apikey.html">API Key
-                section</ulink>.
-        </para>
-
-        <note>
-            <title>API Key limits</title>
-
-            <para>
-                You can make up to 500 Technorati <acronym>API</acronym> calls per day, at no
-                charge. Other usage limitations may apply, depending on the current Technorati
-                <acronym>API</acronym> license.
-            </para>
-        </note>
-
-        <para>
-            Once you have a valid <acronym>API</acronym> key, you're ready to start using
-            <classname>Zend_Service_Technorati</classname>.
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.making-first-query">
-        <title>Making Your First Query</title>
-
-        <para>
-            In order to run a query, first you need a <classname>Zend_Service_Technorati</classname>
-            instance with a valid <acronym>API</acronym> key. Then choose one of the available query
-            methods, and call it providing required arguments.
-        </para>
-
-        <example id="zend.service.technorati.making-first-query.example-1">
-            <title>Sending your first query</title>
-
-            <programlisting language="php"><![CDATA[
-// create a new Zend_Service_Technorati
-// with a valid API_KEY
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// search Technorati for PHP keyword
-$resultSet = $technorati->search('PHP');
-]]></programlisting>
-        </example>
-
-        <para>
-            Each query method accepts an array of optional parameters that can be used to refine
-            your query.
-        </para>
-
-        <example id="zend.service.technorati.making-first-query.example-2">
-            <title>Refining your query</title>
-
-            <programlisting language="php"><![CDATA[
-// create a new Zend_Service_Technorati
-// with a valid API_KEY
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// filter your query including only results
-// with some authority (Results from blogs with a handful of links)
-$options = array('authority' => 'a4');
-
-// search Technorati for PHP keyword
-$resultSet = $technorati->search('PHP', $options);
-]]></programlisting>
-        </example>
-
-        <para>
-            A <classname>Zend_Service_Technorati</classname> instance is not a single-use object.
-            That is, you don't need to create a new instance for each query call; simply use your
-            current <classname>Zend_Service_Technorati</classname> object as long as you need it.
-        </para>
-
-        <example id="zend.service.technorati.making-first-query.example-3">
-            <title>Sending multiple queries with the same Zend_Service_Technorati instance</title>
-
-            <programlisting language="php"><![CDATA[
-// create a new Zend_Service_Technorati
-// with a valid API_KEY
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// search Technorati for PHP keyword
-$search = $technorati->search('PHP');
-
-// get top tags indexed by Technorati
-$topTags = $technorati->topTags();
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.consuming-results">
-        <title>Consuming Results</title>
-
-        <para>
-            You can get one of two types of result object in response to a query.
-        </para>
-
-        <para>
-            The first group is represented by
-            <classname>Zend_Service_Technorati_*ResultSet</classname> objects. A result set object
-            is basically a collection of result objects. It extends the basic
-            <classname>Zend_Service_Technorati_ResultSet</classname> class and implements the
-            <classname>SeekableIterator</classname> <acronym>PHP</acronym> interface. The best way
-            to consume a result set object is to loop over it with the <acronym>PHP</acronym>
-            <methodname>foreach()</methodname> statement.
-        </para>
-
-        <example id="zend.service.technorati.consuming-results.example-1">
-            <title>Consuming a result set object</title>
-
-            <programlisting language="php"><![CDATA[
-// create a new Zend_Service_Technorati
-// with a valid API_KEY
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// search Technorati for PHP keyword
-// $resultSet is an instance of Zend_Service_Technorati_SearchResultSet
-$resultSet = $technorati->search('PHP');
-
-// loop over all result objects
-foreach ($resultSet as $result) {
-    // $result is an instance of Zend_Service_Technorati_SearchResult
-}
-]]></programlisting>
-        </example>
-
-        <para>
-            Because <classname>Zend_Service_Technorati_ResultSet</classname> implements the
-            <classname>SeekableIterator</classname> interface, you can seek a specific result
-            object using its position in the result collection.
-        </para>
-
-        <example id="zend.service.technorati.consuming-results.example-2">
-            <title>Seeking a specific result set object</title>
-
-            <programlisting language="php"><![CDATA[
-// create a new Zend_Service_Technorati
-// with a valid API_KEY
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// search Technorati for PHP keyword
-// $resultSet is an instance of Zend_Service_Technorati_SearchResultSet
-$resultSet = $technorati->search('PHP');
-
-// $result is an instance of Zend_Service_Technorati_SearchResult
-$resultSet->seek(1);
-$result = $resultSet->current();
-]]></programlisting>
-        </example>
-
-        <note>
-            <para>
-                <classname>SeekableIterator</classname> works as an array and counts positions
-                starting from index 0. Fetching position number 1 means getting the second result
-                in the collection.
-            </para>
-        </note>
-
-        <para>
-            The second group is represented by special standalone result objects.
-            <classname>Zend_Service_Technorati_GetInfoResult</classname>,
-            <classname>Zend_Service_Technorati_BlogInfoResult</classname> and
-            <classname>Zend_Service_Technorati_KeyInfoResult</classname> act as wrappers for
-            additional objects, such as <classname>Zend_Service_Technorati_Author</classname> and
-            <classname>Zend_Service_Technorati_Weblog</classname>.
-        </para>
-
-        <example id="zend.service.technorati.consuming-results.example-3">
-            <title>Consuming a standalone result object</title>
-
-            <programlisting language="php"><![CDATA[
-// create a new Zend_Service_Technorati
-// with a valid API_KEY
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// get info about weppos author
-$result = $technorati->getInfo('weppos');
-
-$author = $result->getAuthor();
-echo '<h2>Blogs authored by ' . $author->getFirstName() . " " .
-          $author->getLastName() . '</h2>';
-echo '<ol>';
-foreach ($result->getWeblogs() as $weblog) {
-    echo '<li>' . $weblog->getName() . '</li>';
-}
-echo "</ol>";
-]]></programlisting>
-        </example>
-
-        <para>
-            Please read the <link linkend="zend.service.technorati.classes">Zend_Service_Technorati
-                Classes</link> section for further details about response classes.
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.handling-errors">
-        <title>Handling Errors</title>
-
-        <para>
-            Each <classname>Zend_Service_Technorati</classname> query method throws a
-            <classname>Zend_Service_Technorati_Exception</classname> exception on failure with a
-            meaningful error message.
-        </para>
-
-        <para>
-            There are several reasons that may cause a
-            <classname>Zend_Service_Technorati</classname> query to fail.
-            <classname>Zend_Service_Technorati</classname> validates all parameters for any query
-            request. If a parameter is invalid or it contains an invalid value, a new
-            <classname>Zend_Service_Technorati_Exception</classname> exception is thrown.
-            Additionally, the Technorati <acronym>API</acronym> interface could be temporally
-            unavailable, or it could return a response that is not well formed.
-        </para>
-
-        <para>
-            You should always wrap a Technorati query with a <command>try ... catch</command>
-            block.
-        </para>
-
-        <example id="zend.service.technorati.handling-errors.example-1">
-            <title>Handling a Query Exception</title>
-
-            <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-try {
-    $resultSet = $technorati->search('PHP');
-} catch(Zend_Service_Technorati_Exception $e) {
-    echo "An error occurred: " $e->getMessage();
-}
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.checking-api-daily-usage">
-        <title>Checking Your API Key Daily Usage</title>
-
-        <para>
-            From time to time you probably will want to check your <acronym>API</acronym> key daily
-            usage. By default Technorati limits your <acronym>API</acronym> usage to 500 calls per
-            day, and an exception is returned by <classname>Zend_Service_Technorati</classname> if
-            you try to use it beyond this limit. You can get information about your
-            <acronym>API</acronym> key usage using the
-            <methodname>Zend_Service_Technorati::keyInfo()</methodname> method.
-        </para>
-
-        <para>
-            <methodname>Zend_Service_Technorati::keyInfo()</methodname> returns a
-            <classname>Zend_Service_Technorati_KeyInfoResult</classname> object. For full details
-            please see the <ulink url="http://framework.zend.com/apidoc/core/">API reference
-                guide</ulink>.
-        </para>
-
-        <example id="zend.service.technorati.checking-api-daily-usage.example-1">
-            <title>Getting API key daily usage information</title>
-
-            <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$key = $technorati->keyInfo();
-
-echo "API Key: " . $key->getApiKey() . "<br />";
-echo "Daily Usage: " . $key->getApiQueries() . "/" .
-     $key->getMaxQueries() . "<br />";
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.queries">
-        <title>Available Technorati Queries</title>
-
-        <para>
-            <classname>Zend_Service_Technorati</classname> provides support for the following
-            queries:
-
-            <itemizedlist>
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.cosmos">Cosmos</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.search">Search</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link linkend="zend.service.technorati.queries.tag">Tag</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.dailycounts">DailyCounts</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.toptags">TopTags</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.bloginfo">BlogInfo</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.blogposttags">BlogPostTags</link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.queries.getinfo">GetInfo</link>
-                    </para>
-                </listitem>
-            </itemizedlist>
-        </para>
-
-        <sect3 id="zend.service.technorati.queries.cosmos">
-            <title>Technorati Cosmos</title>
-
-            <para>
-                <ulink url="http://technorati.com/developers/api/cosmos.html">Cosmos</ulink> query
-                lets you see what blogs are linking to a given <acronym>URL</acronym>. It returns a
-                <link
-                    linkend="zend.service.technorati.classes.cosmosresultset"><classname>Zend_Service_Technorati_CosmosResultSet</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::cosmos()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.cosmos.example-1">
-                <title>Cosmos Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->cosmos('http://devzone.zend.com/');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.search">
-            <title>Technorati Search</title>
-
-            <para>
-                The <ulink url="http://technorati.com/developers/api/search.html">Search</ulink>
-                query lets you see what blogs contain a given search string. It returns a <link
-                    linkend="zend.service.technorati.classes.searchresultset"><classname>Zend_Service_Technorati_SearchResultSet</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::search()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.search.example-1">
-                <title>Search Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->search('zend framework');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.tag">
-            <title>Technorati Tag</title>
-
-            <para>
-                The <ulink url="http://technorati.com/developers/api/tag.html">Tag</ulink> query
-                lets you see what posts are associated with a given tag. It returns a <link
-                    linkend="zend.service.technorati.classes.tagresultset"><classname>Zend_Service_Technorati_TagResultSet</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::tag()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.tag.example-1">
-                <title>Tag Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->tag('php');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.dailycounts">
-            <title>Technorati DailyCounts</title>
-
-            <para>
-                The <ulink
-                    url="http://technorati.com/developers/api/dailycounts.html">DailyCounts</ulink>
-                query provides daily counts of posts containing the queried keyword. It returns a
-                <link
-                    linkend="zend.service.technorati.classes.dailycountsresultset"><classname>Zend_Service_Technorati_DailyCountsResultSet</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::dailyCounts()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.dailycounts.example-1">
-                <title>DailyCounts Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->dailyCounts('php');
-
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getDate() .
-         "(" . $result->getCount() . ")</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.toptags">
-            <title>Technorati TopTags</title>
-
-            <para>
-                The <ulink url="http://technorati.com/developers/api/toptags.html">TopTags</ulink>
-                query provides information on top tags indexed by Technorati. It returns a <link
-                    linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::topTags()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.toptags.example-1">
-                <title>TopTags Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->topTags();
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getTag() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.bloginfo">
-            <title>Technorati BlogInfo</title>
-
-            <para>
-                The <ulink url="http://technorati.com/developers/api/bloginfo.html">BlogInfo</ulink>
-                query provides information on what blog, if any, is associated with a given
-                <acronym>URL</acronym>. It returns a <link
-                    linkend="zend.service.technorati.classes.bloginforesult"><classname>Zend_Service_Technorati_BlogInfoResult</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::blogInfo()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.bloginfo.example-1">
-                <title>BlogInfo Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$result = $technorati->blogInfo('http://devzone.zend.com/');
-
-echo '<h2><a href="' . (string) $result->getWeblog()->getUrl() . '">' .
-     $result->getWeblog()->getName() . '</a></h2>';
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.blogposttags">
-            <title>Technorati BlogPostTags</title>
-
-            <para>
-                The <ulink
-                    url="http://technorati.com/developers/api/blogposttags.html">BlogPostTags</ulink>
-                query provides information on the top tags used by a specific blog. It returns a
-                <link
-                    linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::blogPostTags()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.blogposttags.example-1">
-                <title>BlogPostTags Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->blogPostTags('http://devzone.zend.com/');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getTag() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.getinfo">
-            <title>Technorati GetInfo</title>
-
-            <para>
-                The <ulink url="http://technorati.com/developers/api/getinfo.html">GetInfo</ulink>
-                query tells you things that Technorati knows about a member. It returns a <link
-                    linkend="zend.service.technorati.classes.getinforesult"><classname>Zend_Service_Technorati_GetInfoResult</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::getInfo()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-
-            <example id="zend.service.technorati.queries.getinfo.example-1">
-                <title>GetInfo Query</title>
-
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$result = $technorati->getInfo('weppos');
-
-$author = $result->getAuthor();
-echo "<h2>Blogs authored by " . $author->getFirstName() . " " .
-     $author->getLastName() . "</h2>";
-echo "<ol>";
-foreach ($result->getWeblogs() as $weblog) {
-    echo "<li>" . $weblog->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.keyinfo">
-            <title>Technorati KeyInfo</title>
-
-            <para>
-                The KeyInfo query provides information on daily usage of an <acronym>API</acronym>
-                key. It returns a <link
-                    linkend="zend.service.technorati.classes.keyinforesult"><classname>Zend_Service_Technorati_KeyInfoResult</classname></link>
-                object. For full details please see
-                <methodname>Zend_Service_Technorati::keyInfo()</methodname> in the
-                <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-            </para>
-        </sect3>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.classes">
-        <title>Zend_Service_Technorati Classes</title>
-
-        <para>
-            The following classes are returned by the various Technorati queries. Each
-            <classname>Zend_Service_Technorati_*ResultSet</classname> class holds a type-specific
-            result set which can be easily iterated, with each result being contained in a type
-            result object. All result set classes extend
-            <classname>Zend_Service_Technorati_ResultSet</classname> class and implement the
-            <classname>SeekableIterator</classname> interface, allowing for easy iteration and
-            seeking to a specific result.
-
-            <itemizedlist>
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.resultset"><classname>Zend_Service_Technorati_ResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.cosmosresultset"><classname>Zend_Service_Technorati_CosmosResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.searchresultset"><classname>Zend_Service_Technorati_SearchResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagresultset"><classname>Zend_Service_Technorati_TagResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.dailycountsresultset"><classname>Zend_Service_Technorati_DailyCountsResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.result"><classname>Zend_Service_Technorati_Result</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.cosmosresult"><classname>Zend_Service_Technorati_CosmosResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.searchresult"><classname>Zend_Service_Technorati_SearchResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagresult"><classname>Zend_Service_Technorati_TagResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.dailycountsresult"><classname>Zend_Service_Technorati_DailyCountsResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.tagsresult"><classname>Zend_Service_Technorati_TagsResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.getinforesult"><classname>Zend_Service_Technorati_GetInfoResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.bloginforesult"><classname>Zend_Service_Technorati_BlogInfoResult</classname></link>
-                    </para>
-                </listitem>
-
-                <listitem>
-                    <para>
-                        <link
-                            linkend="zend.service.technorati.classes.keyinforesult"><classname>Zend_Service_Technorati_KeyInfoResult</classname></link>
-                    </para>
-                </listitem>
-            </itemizedlist>
-        </para>
-
-        <note>
-            <para>
-                <classname>Zend_Service_Technorati_GetInfoResult</classname>,
-                <classname>Zend_Service_Technorati_BlogInfoResult</classname> and
-                <classname>Zend_Service_Technorati_KeyInfoResult</classname> represent exceptions to
-                the above because they don't belong to a result set and they don't implement any
-                interface. They represent a single response object and they act as a wrapper for
-                additional <classname>Zend_Service_Technorati</classname> objects, such as
-                <classname>Zend_Service_Technorati_Author</classname> and
-                <classname>Zend_Service_Technorati_Weblog</classname>.
-            </para>
-        </note>
-
-        <para>
-            The <classname>Zend_Service_Technorati</classname> library includes additional
-            convenient classes representing specific response objects.
-            <classname>Zend_Service_Technorati_Author</classname> represents a single Technorati
-            account, also known as a blog author or blogger.
-            <classname>Zend_Service_Technorati_Weblog</classname> represents a single weblog object,
-            along with all specific weblog properties such as feed <acronym>URL</acronym>s or blog
-            name. For full details please see <classname>Zend_Service_Technorati</classname> in the
-            <ulink url="http://framework.zend.com/apidoc/core/">API reference guide</ulink>.
-        </para>
-
-        <sect3 id="zend.service.technorati.classes.resultset">
-            <title>Zend_Service_Technorati_ResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_ResultSet</classname> is the most essential
-                result set. The scope of this class is to be extended by a query-specific child
-                result set class, and it should never be used to initialize a standalone object.
-                Each of the specific result sets represents a collection of query-specific <link
-                    linkend="zend.service.technorati.classes.result"><classname>Zend_Service_Technorati_Result</classname></link>
-                objects.
-            </para>
-
-            <para>
-                <classname>Zend_Service_Technorati_ResultSet</classname> implements the
-                <acronym>PHP</acronym> <classname>SeekableIterator</classname> interface, and you
-                can iterate all result objects via the <acronym>PHP</acronym>
-                <methodname>foreach()</methodname> statement.
-            </para>
-
-            <example id="zend.service.technorati.classes.resultset.example-1">
-                <title>Iterating result objects from a resultset collection</title>
-
-                <programlisting language="php"><![CDATA[
-// run a simple query
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->search('php');
-
-// $resultSet is now an instance of
-// Zend_Service_Technorati_SearchResultSet
-// it extends Zend_Service_Technorati_ResultSet
-foreach ($resultSet as $result) {
-    // do something with your
-    // Zend_Service_Technorati_SearchResult object
-}
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.cosmosresultset">
-            <title>Zend_Service_Technorati_CosmosResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_CosmosResultSet</classname> represents a
-                Technorati Cosmos query result set.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_CosmosResultSet</classname> extends <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.searchresultset">
-            <title>Zend_Service_Technorati_SearchResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_SearchResultSet</classname> represents a
-                Technorati Search query result set.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_SearchResultSet</classname> extends <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagresultset">
-            <title>Zend_Service_Technorati_TagResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagResultSet</classname> represents a Technorati
-                Tag query result set.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagResultSet</classname> extends <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.dailycountsresultset">
-            <title>Zend_Service_Technorati_DailyCountsResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_DailyCountsResultSet</classname> represents a
-                Technorati DailyCounts query result set.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_DailyCountsResultSet</classname> extends
-                    <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagsresultset">
-            <title>Zend_Service_Technorati_TagsResultSet</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagsResultSet</classname> represents a Technorati
-                TopTags or BlogPostTags queries result set.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagsResultSet</classname> extends
-                    <link
-                        linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.result">
-            <title>Zend_Service_Technorati_Result</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_Result</classname> is the most essential result
-                object. The scope of this class is to be extended by a query specific child result
-                class, and it should never be used to initialize a standalone object.
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.cosmosresult">
-            <title>Zend_Service_Technorati_CosmosResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_CosmosResult</classname> represents a single
-                Technorati Cosmos query result object. It is never returned as a standalone object,
-                but it always belongs to a valid <link
-                    linkend="zend.service.technorati.classes.cosmosresultset">Zend_Service_Technorati_CosmosResultSet</link>
-                object.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_CosmosResult</classname> extends <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.searchresult">
-            <title>Zend_Service_Technorati_SearchResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_SearchResult</classname> represents a single
-                Technorati Search query result object. It is never returned as a standalone object,
-                but it always belongs to a valid <link
-                    linkend="zend.service.technorati.classes.searchresultset">Zend_Service_Technorati_SearchResultSet</link>
-                object.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_SearchResult</classname> extends <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagresult">
-            <title>Zend_Service_Technorati_TagResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagResult</classname> represents a single
-                Technorati Tag query result object. It is never returned as a standalone object, but
-                it always belongs to a valid <link
-                    linkend="zend.service.technorati.classes.tagresultset">Zend_Service_Technorati_TagResultSet</link>
-                object.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagResult</classname> extends <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.dailycountsresult">
-            <title>Zend_Service_Technorati_DailyCountsResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_DailyCountsResult</classname> represents a single
-                Technorati DailyCounts query result object. It is never returned as a standalone
-                object, but it always belongs to a valid <link
-                    linkend="zend.service.technorati.classes.dailycountsresultset">Zend_Service_Technorati_DailyCountsResultSet</link>
-                object.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_DailyCountsResult</classname> extends <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagsresult">
-            <title>Zend_Service_Technorati_TagsResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_TagsResult</classname> represents a single
-                Technorati TopTags or BlogPostTags query result object. It is never returned as a
-                standalone object, but it always belongs to a valid <link
-                    linkend="zend.service.technorati.classes.tagsresultset">Zend_Service_Technorati_TagsResultSet</link>
-                object.
-            </para>
-
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagsResult</classname> extends <link
-                        linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>.
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.getinforesult">
-            <title>Zend_Service_Technorati_GetInfoResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_GetInfoResult</classname> represents a single
-                Technorati GetInfo query result object.
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.bloginforesult">
-            <title>Zend_Service_Technorati_BlogInfoResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_BlogInfoResult</classname> represents a single
-                Technorati BlogInfo query result object.
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.keyinforesult">
-            <title>Zend_Service_Technorati_KeyInfoResult</title>
-
-            <para>
-                <classname>Zend_Service_Technorati_KeyInfoResult</classname> represents a single
-                Technorati KeyInfo query result object. It provides information about your
-                <link linkend="zend.service.technorati.checking-api-daily-usage">Technorati
-                    <acronym>API</acronym> Key daily usage</link>.
-            </para>
-        </sect3>
-    </sect2>
-</sect1>

+ 0 - 108
documentation/manual/en/ref/requirements-dependencies-table.xml

@@ -4658,114 +4658,6 @@
                 </entry>
             </row>
             <row>
-                <entry morerows="11" valign="middle">
-                    <emphasis>
-                        <ulink
-                            url="&zf.manual.link;/zend.service.technorati.html">
-                            <classname>Zend_Service_Technorati</classname>
-                        </ulink>
-                    </emphasis>
-                </entry>
-                <entry morerows="4" valign="middle">&requirements.hard;</entry>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.date.html">
-                        <classname>Zend_Date</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.exception.html">
-                        <classname>Zend_Exception</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.http.html">
-                        <classname>Zend_Http</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.uri.html">
-                        <classname>Zend_Uri</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.locale.html">
-                        <classname>Zend_Locale</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>&requirements.soft;</entry>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.rest.html">
-                        <classname>Zend_Rest</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry morerows="3" valign="middle">&requirements.fix;</entry>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.loader.html">
-                        <classname>Zend_Loader</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.server.html">
-                        <classname>Zend_Server</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.service.html">
-                        <classname>Zend_Service</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.validate.html">
-                        <classname>Zend_Validate</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry morerows="1" valign="middle">&requirements.sub;</entry>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.filter.html">
-                        <classname>Zend_Filter</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="&zf.manual.link;/zend.registry.html">
-                        <classname>Zend_Registry</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
                 <entry morerows="13" valign="middle">
                     <emphasis>
                         <ulink

+ 0 - 12
documentation/manual/en/ref/requirements-zendcomponents-table.xml

@@ -1014,18 +1014,6 @@
                 <entry>
                     <emphasis>
                         <ulink
-                            url="&zf.manual.link;/zend.service.technorati.html">
-                            <classname>Zend_Service_Technorati</classname>
-                        </ulink>
-                    </emphasis>
-                </entry>
-                <entry>---</entry>
-                <entry>---</entry>
-            </row>
-            <row>
-                <entry>
-                    <emphasis>
-                        <ulink
                             url="&zf.manual.link;/zend.service.twitter.html">
                             <classname>Zend_Service_Twitter</classname>
                         </ulink>

+ 0 - 95
documentation/manual/es/ref/requirements-dependencies-table.xml

@@ -4058,101 +4058,6 @@
                 </entry>
             </row>
             <row>
-                <entry morerows="11" valign="middle">
-                    <emphasis>
-                        <ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html">
-                            <classname>Zend_Service_Technorati</classname>
-                        </ulink>
-                    </emphasis>
-                </entry>
-                <entry morerows="4" valign="middle">Hard</entry>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.date.html">
-                        <classname>Zend_Date</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.exception.html">
-                        <classname>Zend_Exception</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.http.html">
-                        <classname>Zend_Http</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.uri.html">
-                        <classname>Zend_Uri</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.locale.html">
-                        <classname>Zend_Locale</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>Soft</entry>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.rest.html">
-                        <classname>Zend_Rest</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry morerows="3" valign="middle">Fix</entry>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.loader.html">
-                        <classname>Zend_Loader</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.server.html">
-                        <classname>Zend_Server</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.service.html">
-                        <classname>Zend_Service</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.validate.html">
-                        <classname>Zend_Validate</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry morerows="1" valign="middle">Sub</entry>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.filter.html">
-                        <classname>Zend_Filter</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink url="http://framework.zend.com/manual/en/zend.registry.html">
-                        <classname>Zend_Registry</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
                 <entry morerows="13" valign="middle">
                     <emphasis>
                         <ulink url="http://framework.zend.com/manual/en/zend.service.twitter.html">

+ 0 - 11
documentation/manual/es/ref/requirements-zendcomponents-table.xml

@@ -858,17 +858,6 @@
             <row>
                 <entry>
                     <emphasis>
-                        <ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html">
-                            <classname>Zend_Service_Technorati</classname>
-                        </ulink>
-                    </emphasis>
-                </entry>
-                <entry>---</entry>
-                <entry>---</entry>
-            </row>
-            <row>
-                <entry>
-                    <emphasis>
                         <ulink url="http://framework.zend.com/manual/en/zend.service.twitter.html">
                             <classname>Zend_Service_Twitter</classname>
                         </ulink>

+ 0 - 6
documentation/manual/fr/module_specs/Zend_Service.xml

@@ -91,12 +91,6 @@
 
         <listitem>
             <para>
-                <link linkend="zend.service.technorati">Technorati</link>
-            </para>
-        </listitem>
-
-        <listitem>
-            <para>
                 <link linkend="zend.service.twitter">Twitter</link>
             </para>
         </listitem>

+ 0 - 46
documentation/manual/he/ref/requirements.xml

@@ -1039,11 +1039,6 @@
                             <entry><ulink url="http://www.php.net/manual/en/ref.soap.php"><code>soap</code></ulink></entry>
                         </row>
                         <row>
-                            <entry><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html"><code>Zend_Service_Technorati</code></ulink></emphasis></entry>
-                            <entry>---</entry>
-                            <entry>---</entry>
-                        </row>
-                        <row>
                             <entry><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.twitter.html"><code>Zend_Service_Twitter</code></ulink></emphasis></entry>
                             <entry>---</entry>
                             <entry>---</entry>
@@ -2889,47 +2884,6 @@
                             <entry><ulink url="http://framework.zend.com/manual/en/zend.registry.html"><code>Zend_Registry</code></ulink></entry>
                         </row>
                         <row>
-                            <entry morerows="11" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html"><code>Zend_Service_Technorati</code></ulink></emphasis></entry>
-                            <entry morerows="4" valign="middle">תלוי מאוד</entry>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.date.html"><code>Zend_Date</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.exception.html"><code>Zend_Exception</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.http.html"><code>Zend_Http</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.uri.html"><code>Zend_Uri</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.locale.html"><code>Zend_Locale</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry>לא תלוי</entry>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.rest.html"><code>Zend_Rest</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry morerows="3" valign="middle">תיקון</entry>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.loader.html"><code>Zend_Loader</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.server.html"><code>Zend_Server</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.service.html"><code>Zend_Service</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.validate.html"><code>Zend_Validate</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry morerows="1" valign="middle">תת</entry>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.filter.html"><code>Zend_Filter</code></ulink></entry>
-                        </row>
-                        <row>
-                            <entry><ulink url="http://framework.zend.com/manual/en/zend.registry.html"><code>Zend_Registry</code></ulink></entry>
-                        </row>
-                        <row>
                             <entry morerows="13" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.twitter.html"><code>Zend_Service_Twitter</code></ulink></emphasis></entry>
                             <entry morerows="5" valign="middle">תלוי מאוד</entry>
                             <entry><ulink url="http://framework.zend.com/manual/en/zend.exception.html"><code>Zend_Exception</code></ulink></entry>

+ 0 - 108
documentation/manual/hu/ref/requirements-dependencies-table.xml

@@ -4608,114 +4608,6 @@
                 </entry>
             </row>
             <row>
-                <entry morerows="11" valign="middle">
-                    <emphasis>
-                        <ulink
-                            url="http://framework.zend.com/manual/en/zend.service.technorati.html">
-                            <classname>Zend_Service_Technorati</classname>
-                        </ulink>
-                    </emphasis>
-                </entry>
-                <entry morerows="4" valign="middle">Erős</entry>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.date.html">
-                        <classname>Zend_Date</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.exception.html">
-                        <classname>Zend_Exception</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.http.html">
-                        <classname>Zend_Http</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.uri.html">
-                        <classname>Zend_Uri</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.locale.html">
-                        <classname>Zend_Locale</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>Gyenge</entry>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.rest.html">
-                        <classname>Zend_Rest</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry morerows="3" valign="middle">Állandó</entry>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.loader.html">
-                        <classname>Zend_Loader</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.server.html">
-                        <classname>Zend_Server</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.service.html">
-                        <classname>Zend_Service</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.validate.html">
-                        <classname>Zend_Validate</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry morerows="1" valign="middle">Al-</entry>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.filter.html">
-                        <classname>Zend_Filter</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
-                <entry>
-                    <ulink
-                        url="http://framework.zend.com/manual/en/zend.registry.html">
-                        <classname>Zend_Registry</classname>
-                    </ulink>
-                </entry>
-            </row>
-            <row>
                 <entry morerows="13" valign="middle">
                     <emphasis>
                         <ulink

+ 0 - 12
documentation/manual/hu/ref/requirements-zendcomponents-table.xml

@@ -966,18 +966,6 @@
                 <entry>
                     <emphasis>
                         <ulink
-                            url="http://framework.zend.com/manual/en/zend.service.technorati.html">
-                            <classname>Zend_Service_Technorati</classname>
-                        </ulink>
-                    </emphasis>
-                </entry>
-                <entry>–</entry>
-                <entry>–</entry>
-            </row>
-            <row>
-                <entry>
-                    <emphasis>
-                        <ulink
                             url="http://framework.zend.com/manual/en/zend.service.twitter.html">
                             <classname>Zend_Service_Twitter</classname>
                         </ulink>

+ 0 - 27
documentation/manual/id/ref/requirements.xml

@@ -1050,12 +1050,6 @@
                         <entry><ulink url="http://www.php.net/manual/en/ref.soap.php"><code>soap</code></ulink></entry>
                     </row>
                     <row>
-                        <entry><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html"><code>Zend_Service_Technorati</code></ulink></emphasis></entry>
-                        <entry>---</entry>
-                        <entry>---</entry>
-                        <entry>---</entry>
-                    </row>
-                    <row>
                         <entry morerows="1" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.yahoo.html"><code>Zend_Service_Yahoo</code></ulink></emphasis></entry>
                         <entry morerows="1" valign="middle">Hard</entry>
                         <entry morerows="1" valign="middle">---</entry>
@@ -1608,26 +1602,6 @@
                         <entry><ulink url="http://framework.zend.com/manual/en/zend.loader.html"><code>Zend_Loader</code></ulink></entry>
                     </row>
                     <row>
-                        <entry morerows="5" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html"><code>Zend_Service_Technorati</code></ulink></emphasis></entry>
-                        <entry morerows="5" valign="middle">Hard</entry>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.date.html"><code>Zend_Date</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.exception.html"><code>Zend_Exception</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.http.html"><code>Zend_Http</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.locale.html"><code>Zend_Locale</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.rest.html"><code>Zend_Rest</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.uri.html"><code>Zend_Uri</code></ulink></entry>
-                    </row>
-                    <row>
                         <entry morerows="3" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.yahoo.html"><code>Zend_Service_Yahoo</code></ulink></emphasis></entry>
                         <entry morerows="3" valign="middle">Hard</entry>
                         <entry><ulink url="http://framework.zend.com/manual/en/zend.exception.html"><code>Zend_Exception</code></ulink></entry>
@@ -1795,7 +1769,6 @@ Service_Delicious
 Service_Flickr
 Service_SlideShare
 Service_StrikeIron
-Service_Technorati
 Service_Yahoo
 Session
 TimeSync

+ 0 - 6
documentation/manual/ja/module_specs/Zend_Service.xml

@@ -82,12 +82,6 @@
             </para>
         </listitem>
 
-         <listitem>
-             <para>
-                <link linkend="zend.service.technorati">Technorati</link>
-            </para>
-        </listitem>
-
         <listitem>
             <para>
                 <link linkend="zend.service.twitter">Twitter</link>

+ 0 - 799
documentation/manual/ja/module_specs/Zend_Service_Technorati.xml

@@ -1,799 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Reviewed: no -->
-<!-- EN-Revision: 24249 -->
-<sect1 id="zend.service.technorati">
-    <title>Zend_Service_Technorati(日本語)</title>
-    <!-- Skip-EN-Revisions: 22768 -->
-    <para>注意:このドキュメントでは、英語版のリビジョン 22768 の更新内容をスキップしています。</para>
-    <sect2 id="zend.service.technorati.introduction">
-        <title>導入</title>
-        <para>
-            <classname>Zend_Service_Technorati</classname> は、Technorati <acronym>API</acronym>
-            を使うための簡単で直感的なオブジェクト指向インターフェイスを提供します。
-            利用可能なすべての
-            <ulink url="http://technorati.com/developers/api/">Technorati <acronym>API</acronym> クエリ</ulink>
-            にアクセスすることができ、<acronym>API</acronym> が返す XML
-            形式のレスポンスを <acronym>PHP</acronym> で扱いやすいオブジェクトで返します。
-        </para>
-        <para>
-            <ulink url="http://technorati.com/">Technorati</ulink>
-            は、人気のあるブログ検索エンジンのひとつです。その <acronym>API</acronym> を使用すると、
-            特定のブログについての情報を取得したり、
-            指定したタグやフレーズにマッチするブログの著者の情報を取得したりできます。
-            使用できるクエリの一覧は、
-            <ulink url="http://technorati.com/developers/api/">Technorati <acronym>API</acronym> ドキュメント</ulink>
-            あるいはこのドキュメントの
-            <link linkend="zend.service.technorati.queries">使用できる Technorati クエリ</link>
-            を参照ください。
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.getting-started">
-        <title>さあ始めましょう</title>
-        <para>
-            Technorati <acronym>API</acronym> を使用するには、キーが必要です。
-            <acronym>API</acronym> キーを取得するには、まず最初に
-            <ulink url="http://technorati.com/signup/">Technorati アカウントを作成</ulink>
-            し、それから
-            <ulink url="http://technorati.com/developers/apikey.html"><acronym>API</acronym> キーのセクション</ulink>
-            に行ってください。
-        </para>
-        <note>
-            <title>API キーの制限</title>
-            <para>
-                一日あたり最大 500 までの Technorati <acronym>API</acronym> コールを無料で行うことができます。
-                現在の Technorati <acronym>API</acronym> のライセンスによってはその他の使用制限が適用されるかもしれません。
-            </para>
-        </note>
-        <para>
-            <acronym>API</acronym> キーを取得したら、いよいよ <classname>Zend_Service_Technorati</classname>
-            を使うことができます。
-        </para>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.making-first-query">
-        <title>はじめてのクエリ</title>
-        <para>
-            クエリを実行するにはまず最初に <acronym>API</acronym> キーを使用して
-            <classname>Zend_Service_Technorati</classname> のインスタンスを作成します。
-            そしてクエリの形式を選択し、引数を指定したうえでそれをコールします。
-        </para>
-        <example id="zend.service.technorati.making-first-query.example-1">
-            <title>はじめてのクエリの実行</title>
-            <programlisting language="php"><![CDATA[
-// API_KEY を指定して
-// Zend_Service_Technorati を作成します
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati で PHP というキーワードを検索します
-$resultSet = $technorati->search('PHP');
-]]></programlisting>
-        </example>
-        <para>
-            検索用のメソッドにはオプションパラメータの配列を渡すことができます。
-            これを使用すると、クエリをさらに絞り込むことができます。
-        </para>
-        <example id="zend.service.technorati.making-first-query.example-2">
-            <title>クエリの精度の向上</title>
-            <programlisting language="php"><![CDATA[
-// API_KEY を指定して
-// Zend_Service_Technorati を作成します
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// クエリをフィルタリングし、あまり影響力のない
-// (あまり他からリンクされていない) ブログを結果から除外します
-$options = array('authority' => 'a4');
-
-// Technorati で PHP というキーワードを検索します
-$resultSet = $technorati->search('PHP', $options);
-]]></programlisting>
-        </example>
-        <para>
-            <classname>Zend_Service_Technorati</classname> のインスタンスは使い捨てのオブジェクトではありません。
-            したがって、クエリをコールするたびに毎回新たなインスタンスを作成するなどということは不要です。
-            一度作成した <classname>Zend_Service_Technorati</classname>
-            オブジェクトを、気の済むまで使い回せばいいのです。
-        </para>
-        <example id="zend.service.technorati.making-first-query.example-3">
-            <title>ひとつの Zend_Service_Technorati インスタンスでの複数のクエリの送信</title>
-            <programlisting language="php"><![CDATA[
-// API_KEY を指定して
-// Zend_Service_Technorati を作成します
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati で PHP というキーワードを検索します
-$search = $technorati->search('PHP');
-
-// Technorati で一番よく登録されているタブを取得します
-$topTags = $technorati->topTags();
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.consuming-results">
-        <title>結果の取得</title>
-        <para>
-            クエリの結果は、二種類の結果オブジェクトのうちのいずれかの形式で取得できます。
-        </para>
-        <para>
-            まず最初の形式は <classname>Zend_Service_Technorati_*ResultSet</classname>
-            オブジェクトで表されるものです。結果セットオブジェクトは、
-            基本的には結果オブジェクトのコレクションとなります。これは基底クラス
-            <classname>Zend_Service_Technorati_ResultSet</classname> を継承したもので、
-            <acronym>PHP</acronym> の <code>SeekableIterator</code> インターフェイスを実装しています。
-            この結果セットを使用するいちばんよい方法は、<acronym>PHP</acronym> の <code>foreach</code>
-            文を用いてループ処理することです。
-        </para>
-        <example id="zend.service.technorati.consuming-results.example-1">
-            <title>結果セットオブジェクトの取得</title>
-            <programlisting language="php"><![CDATA[
-// API_KEY を指定して
-// Zend_Service_Technorati を作成します
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati で PHP というキーワードを検索します
-// $resultSet は Zend_Service_Technorati_SearchResultSet のインスタンスです
-$resultSet = $technorati->search('PHP');
-
-// 結果オブジェクトをループします
-foreach ($resultSet as $result) {
-    // $result は Zend_Service_Technorati_SearchResult のインスタンスです
-}
-]]></programlisting>
-        </example>
-        <para>
-            <classname>Zend_Service_Technorati_ResultSet</classname> は <code>SeekableIterator</code>
-            インターフェイスを実装しているので、結果コレクション内での位置を指定して
-            特定の結果オブジェクトを取得することもできます。
-        </para>
-        <example id="zend.service.technorati.consuming-results.example-2">
-            <title>特定の結果セットオブジェクトの取得</title>
-            <programlisting language="php"><![CDATA[
-// API_KEY を指定して
-// Zend_Service_Technorati を作成します
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// Technorati で PHP というキーワードを検索します
-// $resultSet は Zend_Service_Technorati_SearchResultSet のインスタンスです
-$resultSet = $technorati->search('PHP');
-
-// $result は Zend_Service_Technorati_SearchResult のインスタンスです
-$resultSet->seek(1);
-$result = $resultSet->current();
-]]></programlisting>
-        </example>
-        <note>
-            <para>
-                <code>SeekableIterator</code> は配列として動作し、
-                そのインデックスは 0 から始まります。インデックス 1
-                を指定すると、コレクション内の 2 番目の結果を取得することになります。
-            </para>
-        </note>
-        <para>
-            2 番目の形式は、単体の特別な結果オブジェクトで表されるものです。
-            <classname>Zend_Service_Technorati_GetInfoResult</classname>、<classname>Zend_Service_Technorati_BlogInfoResult</classname>
-            および <classname>Zend_Service_Technorati_KeyInfoResult</classname> は、
-            <classname>Zend_Service_Technorati_Author</classname> や <classname>Zend_Service_Technorati_Weblog</classname>
-            といったオブジェクトのラッパーとして働きます。
-        </para>
-        <example id="zend.service.technorati.consuming-results.example-3">
-            <title>単体の結果オブジェクトの取得</title>
-            <programlisting language="php"><![CDATA[
-// API_KEY を指定して
-// Zend_Service_Technorati を作成します
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-
-// weppos についての情報を取得します
-$result = $technorati->getInfo('weppos');
-
-$author = $result->getAuthor();
-echo '<h2>' . $author->getFirstName() . ' ' . $author->getLastName() .
-     ' のブログ</h2>';
-echo '<ol>';
-foreach ($result->getWeblogs() as $weblog) {
-    echo '<li>' . $weblog->getName() . '</li>';
-}
-echo "</ol>";
-]]></programlisting>
-        </example>
-        <para>
-            レスポンスクラスの詳細については
-            <link linkend="zend.service.technorati.classes">Zend_Service_Technorati クラス</link>
-            のセクションを参照ください。
-        </para>
-
-    </sect2>
-
-    <sect2 id="zend.service.technorati.handling-errors">
-        <title>エラー処理</title>
-        <para>
-            <classname>Zend_Service_Technorati</classname> のクエリメソッドは、失敗したときには
-            <classname>Zend_Service_Technorati_Exception</classname> をスローします。
-            またその際にはわかりやすいエラーメッセージを提供します。
-        </para>
-        <para>
-            <classname>Zend_Service_Technorati</classname> のクエリが失敗する原因は、いくつか考えられます。
-            <classname>Zend_Service_Technorati</classname> は、クエリを送信する際にすべてのパラメータを検証します。
-            もし無効なパラメータや無効な値を指定していた場合は
-            <classname>Zend_Service_Technorati_Exception</classname> をスローします。
-            さらに、Technorati <acronym>API</acronym> が一時的に使用できなくなっていたり、
-            そのレスポンスが整形式でない場合もあり得るでしょう。
-        </para>
-        <para>
-            Technorati のクエリは、常に <code>try</code>...<code>catch</code>
-            ブロック内に記述するようにしましょう。
-        </para>
-        <example id="zend.service.technorati.handling-errors.example-1">
-            <title>クエリの例外処理</title>
-            <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-try {
-    $resultSet = $technorati->search('PHP');
-} catch(Zend_Service_Technorati_Exception $e) {
-    echo "エラーが発生しました: " $e->getMessage();
-}
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.checking-api-daily-usage">
-        <title>API キーの使用限度の確認</title>
-        <para>
-            今日は後何回 <acronym>API</acronym> キーが使えるのかを調べたいことも多々あるでしょう。
-            デフォルトでは、Technorati の <acronym>API</acronym> は 1 日あたり 500 回までしか使用することができません。
-            それを超えて使用しようとすると、<classname>Zend_Service_Technorati</classname>
-            は例外を返します。自分の <acronym>API</acronym> キーの使用状況を取得するには
-            <methodname>Zend_Service_Technorati::keyInfo()</methodname> メソッドを使用します。
-        </para>
-        <para>
-            <methodname>Zend_Service_Technorati::keyInfo()</methodname> は
-            <classname>Zend_Service_Technorati_KeyInfoResult</classname> オブジェクトを返します。
-            詳細は
-            <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-            を参照ください。
-        </para>
-        <example id="zend.service.technorati.checking-api-daily-usage.example-1">
-            <title>API キーの使用状況の取得</title>
-            <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$key = $technorati->keyInfo();
-
-echo "API Key: " . $key->getApiKey() . "<br />";
-echo "Daily Usage: " . $key->getApiQueries() . "/" .
-     $key->getMaxQueries() . "<br />";
-]]></programlisting>
-        </example>
-    </sect2>
-
-    <sect2 id="zend.service.technorati.queries">
-        <title>使用できる Technorati クエリ</title>
-        <para>
-            <classname>Zend_Service_Technorati</classname> は以下のクエリをサポートしています。
-            <itemizedlist>
-                <listitem><para><link linkend="zend.service.technorati.queries.cosmos"><code>Cosmos</code></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.queries.search"><code>Search</code></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.queries.tag"><code>Tag</code></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.queries.dailycounts"><code>DailyCounts</code></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.queries.toptags"><code>TopTags</code></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.queries.bloginfo"><code>BlogInfo</code></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.queries.blogposttags"><code>BlogPostTags</code></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.queries.getinfo"><code>GetInfo</code></link></para></listitem>
-            </itemizedlist>
-        </para>
-
-        <sect3 id="zend.service.technorati.queries.cosmos">
-            <title>Technorati Cosmos</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/cosmos.html">Cosmos</ulink>
-                クエリは、指定した URL にリンクしているブログを探します。このクエリは
-                <link linkend="zend.service.technorati.classes.cosmosresultset"><classname>Zend_Service_Technorati_CosmosResultSet</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::cosmos()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.cosmos.example-1">
-                <title>Cosmos クエリ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->cosmos('http://devzone.zend.com/');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.search">
-            <title>Technorati Search</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/search.html">Search</ulink>
-                クエリは、指定した検索文字列を含むブログを探します。このクエリは
-                <link linkend="zend.service.technorati.classes.searchresultset"><classname>Zend_Service_Technorati_SearchResultSet</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::search()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.search.example-1">
-                <title>Search クエリ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->search('zend framework');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.tag">
-            <title>Technorati Tag</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/tag.html">Tag</ulink>
-                クエリは、指定したタグがつけられている投稿を探します。このクエリは
-                <link linkend="zend.service.technorati.classes.tagresultset"><classname>Zend_Service_Technorati_TagResultSet</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::tag()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.tag.example-1">
-                <title>Tag クエリ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->tag('php');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getWeblog()->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.dailycounts">
-            <title>Technorati DailyCounts</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/dailycounts.html">DailyCounts</ulink>
-                クエリは、指定したキーワードを含む投稿の 1 日あたりの数を返します。このクエリは
-                <link linkend="zend.service.technorati.classes.dailycountsresultset"><classname>Zend_Service_Technorati_DailyCountsResultSet</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::dailyCounts()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.dailycounts.example-1">
-                <title>DailyCounts クエリ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->dailyCounts('php');
-
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getDate() .
-         "(" . $result->getCount() . ")</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.toptags">
-            <title>Technorati TopTags</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/toptags.html">TopTags</ulink>
-                クエリは、Technorati にもっとも多く登録されているタグの情報を返します。このクエリは
-                <link linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::topTags()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.toptags.example-1">
-                <title>TopTags タグ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->topTags();
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getTag() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.bloginfo">
-            <title>Technorati BlogInfo</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/bloginfo.html">BlogInfo</ulink>
-                は、指定した URL に関連するブログの情報を返します。このクエリは
-                <link linkend="zend.service.technorati.classes.bloginforesult"><classname>Zend_Service_Technorati_BlogInfoResult</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::blogInfo()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.bloginfo.example-1">
-                <title>BlogInfo クエリ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$result = $technorati->blogInfo('http://devzone.zend.com/');
-
-echo '<h2><a href="' . (string) $result->getWeblog()->getUrl() . '">' .
-     $result->getWeblog()->getName() . '</a></h2>';
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.blogposttags">
-            <title>Technorati BlogPostTags</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/blogposttags.html">BlogPostTags</ulink>
-                クエリは、そのブログでよく使われているタグの情報を返します。このクエリは
-                <link linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::blogPostTags()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.blogposttags.example-1">
-                <title>BlogPostTags クエリ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->blogPostTags('http://devzone.zend.com/');
-
-echo "<p>Reading " . $resultSet->totalResults() .
-     " of " . $resultSet->totalResultsAvailable() .
-     " available results</p>";
-echo "<ol>";
-foreach ($resultSet as $result) {
-    echo "<li>" . $result->getTag() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.getinfo">
-            <title>Technorati GetInfo</title>
-            <para>
-                <ulink url="http://technorati.com/developers/api/getinfo.html">GetInfo</ulink>
-                クエリは、あるメンバーについて Technorati が把握している情報を返します。このクエリは
-                <link linkend="zend.service.technorati.classes.getinforesult"><classname>Zend_Service_Technorati_GetInfoResult</classname></link>
-                オブジェクトを返します。詳細は
-                <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-                の <classname>Zend_Service_Technorati::getInfo()</classname> を参照ください。
-            </para>
-            <example id="zend.service.technorati.queries.getinfo.example-1">
-                <title>GetInfo クエリ</title>
-                <programlisting language="php"><![CDATA[
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$result = $technorati->getInfo('weppos');
-
-$author = $result->getAuthor();
-echo "<h2>Blogs authored by " . $author->getFirstName() . " " .
-     $author->getLastName() . "</h2>";
-echo "<ol>";
-foreach ($result->getWeblogs() as $weblog) {
-    echo "<li>" . $weblog->getName() . "</li>";
-}
-echo "</ol>";
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.queries.keyinfo">
-            <title>Technorati KeyInfo</title>
-            <para>
-               KeyInfo クエリは、<acronym>API</acronym> キーの使用状況についての情報を返します。このクエリは
-               <link linkend="zend.service.technorati.classes.keyinforesult"><classname>Zend_Service_Technorati_KeyInfoResult</classname></link>
-               オブジェクトを返します。詳細は
-               <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-               の <classname>Zend_Service_Technorati::keyInfo()</classname> を参照ください。
-            </para>
-        </sect3>
-
-    </sect2>
-
-    <sect2 id="zend.service.technorati.classes">
-        <title>Zend_Service_Technorati クラス</title>
-        <para>
-            以下のクラスは、Technorati の各種クエリから返されるものです。
-            <classname>Zend_Service_Technorati_*ResultSet</classname> 系のクラスは、
-            それぞれの形式にあわせた結果セットを保持します。
-            その中身は形式にあわせた結果オブジェクトであり、容易に処理できます。
-            これらの結果セットクラスはすべて
-            <classname>Zend_Service_Technorati_ResultSet</classname> クラスを継承しており、かつ
-            <code>SeekableIterator</code> インターフェイスを実装しています。
-            これによって、結果のループ処理や特定の結果の取り出しが簡単にできるようになります。
-            <itemizedlist>
-                <listitem><para><link linkend="zend.service.technorati.classes.resultset"><classname>Zend_Service_Technorati_ResultSet</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.cosmosresultset"><classname>Zend_Service_Technorati_CosmosResultSet</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.searchresultset"><classname>Zend_Service_Technorati_SearchResultSet</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.tagresultset"><classname>Zend_Service_Technorati_TagResultSet</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.dailycountsresultset"><classname>Zend_Service_Technorati_DailyCountsResultSet</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.tagsresultset"><classname>Zend_Service_Technorati_TagsResultSet</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.result"><classname>Zend_Service_Technorati_Result</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.cosmosresult"><classname>Zend_Service_Technorati_CosmosResult</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.searchresult"><classname>Zend_Service_Technorati_SearchResult</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.tagresult"><classname>Zend_Service_Technorati_TagResult</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.dailycountsresult"><classname>Zend_Service_Technorati_DailyCountsResult</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.tagsresult"><classname>Zend_Service_Technorati_TagsResult</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.getinforesult"><classname>Zend_Service_Technorati_GetInfoResult</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.bloginforesult"><classname>Zend_Service_Technorati_BlogInfoResult</classname></link></para></listitem>
-                <listitem><para><link linkend="zend.service.technorati.classes.keyinforesult"><classname>Zend_Service_Technorati_KeyInfoResult</classname></link></para></listitem>
-            </itemizedlist>
-        </para>
-        <note>
-            <para>
-                <classname>Zend_Service_Technorati_GetInfoResult</classname>、
-                <classname>Zend_Service_Technorati_BlogInfoResult</classname>
-                そして <classname>Zend_Service_Technorati_KeyInfoResult</classname>
-                には上にあげたクラスと異なる点があります。これらは結果セットに属しておらず、
-                インターフェイスを実装していません。これらは単一のレスポンスオブジェクトを表し、
-                <classname>Zend_Service_Technorati_Author</classname> や <classname>Zend_Service_Technorati_Weblog</classname>
-                といった <classname>Zend_Service_Technorati</classname> のオブジェクトのラッパーとして働きます。
-            </para>
-        </note>
-        <para>
-            <classname>Zend_Service_Technorati</classname> には、これ以外にも
-            特定のレスポンスオブジェクトを表す便利なクラスが含まれています。
-            <classname>Zend_Service_Technorati_Author</classname> は、Technorati のアカウント
-            (ブログの著者、いわゆるブロガー) を表します。
-            <classname>Zend_Service_Technorati_Weblog</classname> は単一のウェブログオブジェクトを表します。
-            ここには、フィードの URL やブログ名などの情報が含まれます。詳細は
-            <ulink url="http://framework.zend.com/apidoc/core/"><acronym>API</acronym> リファレンスガイド</ulink>
-            の <classname>Zend_Service_Technorati</classname> を参照ください。
-        </para>
-
-        <sect3 id="zend.service.technorati.classes.resultset">
-            <title>Zend_Service_Technorati_ResultSet</title>
-            <para>
-                <classname>Zend_Service_Technorati_ResultSet</classname> は最も重要な結果セットです。
-                クエリ固有の結果セットクラス群はこのクラスを継承して作成しています。
-                このクラス自体のインスタンスを直接作成してはいけません。
-                各子クラスは、クエリの種類に応じた
-                <link linkend="zend.service.technorati.classes.result"><classname>Zend_Service_Technorati_Result</classname></link>
-                オブジェクトのコレクションを表します。
-            </para>
-            <para>
-                <classname>Zend_Service_Technorati_ResultSet</classname> は <acronym>PHP</acronym> の <code>SeekableIterator</code>
-                インターフェイスを実装しており、<code>foreach</code>
-                文で結果を処理できます。
-            </para>
-            <example id="zend.service.technorati.classes.resultset.example-1">
-                <title>結果セットコレクション内の結果オブジェクトの反復処理</title>
-                <programlisting language="php"><![CDATA[
-// 単純なクエリを実行します
-$technorati = new Zend_Service_Technorati('VALID_API_KEY');
-$resultSet = $technorati->search('php');
-
-// $resultSet は Zend_Service_Technorati_SearchResultSet
-// のインスタンスです
-// これは Zend_Service_Technorati_ResultSet を継承しています
-foreach ($resultSet as $result) {
-    // Zend_Service_Technorati_SearchResult オブジェクトに対して
-    // 何らかの操作をします
-}
-]]></programlisting>
-            </example>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.cosmosresultset">
-            <title>Zend_Service_Technorati_CosmosResultSet</title>
-            <para>
-                <classname>Zend_Service_Technorati_CosmosResultSet</classname> は
-                Technorati Cosmos クエリの結果セットを表します。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_CosmosResultSet</classname> は
-                    <link linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.searchresultset">
-            <title>Zend_Service_Technorati_SearchResultSet</title>
-            <para>
-                <classname>Zend_Service_Technorati_SearchResultSet</classname> は
-                Technorati Search クエリの結果セットを表します。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_SearchResultSet</classname> は
-                    <link linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagresultset">
-            <title>Zend_Service_Technorati_TagResultSet</title>
-            <para>
-                <classname>Zend_Service_Technorati_TagResultSet</classname> は
-                Technorati Tag クエリの結果セットを表します。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagResultSet</classname> は
-                    <link linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.dailycountsresultset">
-            <title>Zend_Service_Technorati_DailyCountsResultSet</title>
-            <para>
-                <classname>Zend_Service_Technorati_DailyCountsResultSet</classname> は
-                Technorati DailyCounts クエリの結果セットを表します。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_DailyCountsResultSet</classname> は
-                    <link linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagsresultset">
-            <title>Zend_Service_Technorati_TagsResultSet</title>
-            <para>
-                <classname>Zend_Service_Technorati_TagsResultSet</classname> は
-                Technorati TopTags あるいは BlogPostTags クエリの結果セットを表します。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagsResultSet</classname> は
-                    <link linkend="zend.service.technorati.classes.resultset">Zend_Service_Technorati_ResultSet</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.result">
-            <title>Zend_Service_Technorati_Result</title>
-            <para>
-                <classname>Zend_Service_Technorati_Result</classname> は最も重要な結果オブジェクトです。
-                クエリ固有の結果クラス群はこのクラスを継承して作成しています。
-                このクラス自体のインスタンスを直接作成してはいけません。
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.cosmosresult">
-            <title>Zend_Service_Technorati_CosmosResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_CosmosResult</classname> は
-                Technorati Cosmos クエリの単一の結果オブジェクトを表します。
-                単体のオブジェクトとして返されることはなく、常に
-                <link linkend="zend.service.technorati.classes.cosmosresultset">Zend_Service_Technorati_CosmosResultSet</link>
-                オブジェクトに含まれる形式で返されます。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_CosmosResult</classname> は
-                    <link linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.searchresult">
-            <title>Zend_Service_Technorati_SearchResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_SearchResult</classname> は
-                Technorati Search クエリの単一の結果オブジェクトを表します。
-                単体のオブジェクトとして返されることはなく、常に
-                <link linkend="zend.service.technorati.classes.searchresultset">Zend_Service_Technorati_SearchResultSet</link>
-                オブジェクトに含まれる形式で返されます。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_SearchResult</classname> は
-                    <link linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagresult">
-            <title>Zend_Service_Technorati_TagResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_TagResult</classname> は
-                Technorati Tag クエリの単一の結果オブジェクトを表します。
-                単体のオブジェクトとして返されることはなく、常に
-                <link linkend="zend.service.technorati.classes.tagresultset">Zend_Service_Technorati_TagResultSet</link>
-                オブジェクトに含まれる形式で返されます。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagResult</classname> は
-                    <link linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.dailycountsresult">
-            <title>Zend_Service_Technorati_DailyCountsResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_DailyCountsResult</classname> は
-                Technorati DailyCounts クエリの単一の結果オブジェクトを表します。
-                単体のオブジェクトとして返されることはなく、常に
-                <link linkend="zend.service.technorati.classes.dailycountsresultset">Zend_Service_Technorati_DailyCountsResultSet</link>
-                オブジェクトに含まれる形式で返されます。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_DailyCountsResult</classname> は
-                    <link linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.tagsresult">
-            <title>Zend_Service_Technorati_TagsResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_TagsResult</classname> は
-                Technorati TopTags あるいは BlogPostTags クエリの単一の結果オブジェクトを表します。
-                単体のオブジェクトとして返されることはなく、常に
-                <link linkend="zend.service.technorati.classes.tagsresultset">Zend_Service_Technorati_TagsResultSet </link>
-                オブジェクトに含まれる形式で返されます。
-            </para>
-            <note>
-                <para>
-                    <classname>Zend_Service_Technorati_TagsResult</classname> は
-                    <link linkend="zend.service.technorati.classes.result">Zend_Service_Technorati_Result</link>
-                    を継承しています。
-                </para>
-            </note>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.getinforesult">
-            <title>Zend_Service_Technorati_GetInfoResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_GetInfoResult</classname> は
-                Technorati GetInfo クエリの単一の結果オブジェクトを表します。
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.bloginforesult">
-            <title>Zend_Service_Technorati_BlogInfoResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_BlogInfoResult</classname> は
-                Technorati BlogInfo クエリの単一の結果オブジェクトを表します。
-            </para>
-        </sect3>
-
-        <sect3 id="zend.service.technorati.classes.keyinforesult">
-            <title>Zend_Service_Technorati_KeyInfoResult</title>
-            <para>
-                <classname>Zend_Service_Technorati_KeyInfoResult</classname> は
-                Technorati KeyInfo クエリの単一の結果オブジェクトを表します。
-                これは
-                <link linkend="zend.service.technorati.checking-api-daily-usage">Technorati <acronym>API</acronym> キーの使用状況</link>
-                についての情報を提供します。
-            </para>
-        </sect3>
-
-    </sect2>
-
-</sect1>

+ 0 - 27
documentation/manual/pl/ref/requirements.xml

@@ -1059,12 +1059,6 @@
                         <entry><ulink url="http://www.php.net/manual/en/ref.soap.php"><code>soap</code></ulink></entry>
                     </row>
                     <row>
-                        <entry><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html"><code>Zend_Service_Technorati</code></ulink></emphasis></entry>
-                        <entry>---</entry>
-                        <entry>---</entry>
-                        <entry>---</entry>
-                    </row>
-                    <row>
                         <entry morerows="1" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.yahoo.html"><code>Zend_Service_Yahoo</code></ulink></emphasis></entry>
                         <entry morerows="1" valign="middle">Silna</entry>
                         <entry morerows="1" valign="middle">---</entry>
@@ -1617,26 +1611,6 @@
                         <entry><ulink url="http://framework.zend.com/manual/en/zend.loader.html"><code>Zend_Loader</code></ulink></entry>
                     </row>
                     <row>
-                        <entry morerows="5" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.technorati.html"><code>Zend_Service_Technorati</code></ulink></emphasis></entry>
-                        <entry morerows="5" valign="middle">Silna</entry>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.date.html"><code>Zend_Date</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.exception.html"><code>Zend_Exception</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.http.html"><code>Zend_Http</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.locale.html"><code>Zend_Locale</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.rest.html"><code>Zend_Rest</code></ulink></entry>
-                    </row>
-                    <row>
-                        <entry><ulink url="http://framework.zend.com/manual/en/zend.uri.html"><code>Zend_Uri</code></ulink></entry>
-                    </row>
-                    <row>
                         <entry morerows="3" valign="middle"><emphasis role="strong"><ulink url="http://framework.zend.com/manual/en/zend.service.yahoo.html"><code>Zend_Service_Yahoo</code></ulink></emphasis></entry>
                         <entry morerows="3" valign="middle">Silna</entry>
                         <entry><ulink url="http://framework.zend.com/manual/en/zend.exception.html"><code>Zend_Exception</code></ulink></entry>
@@ -1804,7 +1778,6 @@ Service_Delicious
 Service_Flickr
 Service_SlideShare
 Service_StrikeIron
-Service_Technorati
 Service_Yahoo
 Session
 TimeSync

+ 0 - 6
documentation/manual/pt-br/module_specs/Zend_Service.xml

@@ -91,12 +91,6 @@
 
         <listitem>
             <para>
-                <link linkend="zend.service.technorati">Technorati</link>
-            </para>
-        </listitem>
-
-        <listitem>
-            <para>
                 <link linkend="zend.service.twitter">Twitter</link>
             </para>
         </listitem>

+ 0 - 1035
library/Zend/Service/Technorati.php

@@ -1,1035 +0,0 @@
-<?php
-
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-/** @see Zend_Xml_Security */
-require_once 'Zend/Xml/Security.php';
-
-/**
- * Zend_Service_Technorati provides an easy, intuitive and object-oriented interface
- * for using the Technorati API.
- *
- * It provides access to all available Technorati API queries
- * and returns the original XML response as a friendly PHP object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati
-{
-    /** Base Technorati API URI */
-    const API_URI_BASE = 'http://api.technorati.com';
-
-    /** Query paths */
-    const API_PATH_COSMOS           = '/cosmos';
-    const API_PATH_SEARCH           = '/search';
-    const API_PATH_TAG              = '/tag';
-    const API_PATH_DAILYCOUNTS      = '/dailycounts';
-    const API_PATH_TOPTAGS          = '/toptags';
-    const API_PATH_BLOGINFO         = '/bloginfo';
-    const API_PATH_BLOGPOSTTAGS     = '/blogposttags';
-    const API_PATH_GETINFO          = '/getinfo';
-    const API_PATH_KEYINFO          = '/keyinfo';
-
-    /** Prevent magic numbers */
-    const PARAM_LIMIT_MIN_VALUE = 1;
-    const PARAM_LIMIT_MAX_VALUE = 100;
-    const PARAM_DAYS_MIN_VALUE  = 1;
-    const PARAM_DAYS_MAX_VALUE  = 180;
-    const PARAM_START_MIN_VALUE = 1;
-
-
-    /**
-     * Technorati API key
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_apiKey;
-
-    /**
-     * Zend_Rest_Client instance
-     *
-     * @var     Zend_Rest_Client
-     * @access  protected
-     */
-    protected $_restClient;
-
-
-    /**
-     * Constructs a new Zend_Service_Technorati instance
-     * and setup character encoding.
-     *
-     * @param  string $apiKey  Your Technorati API key
-     */
-    public function __construct($apiKey)
-    {
-        if (PHP_VERSION_ID < 50600) {
-            iconv_set_encoding('output_encoding', 'UTF-8');
-            iconv_set_encoding('input_encoding', 'UTF-8');
-            iconv_set_encoding('internal_encoding', 'UTF-8');
-        } else {
-            ini_set('output_encoding', 'UTF-8');
-            ini_set('input_encoding', 'UTF-8');
-            ini_set('default_charset', 'UTF-8');
-        }
-        $this->_apiKey = $apiKey;
-    }
-
-
-    /**
-     * Cosmos query lets you see what blogs are linking to a given URL.
-     *
-     * On the Technorati site, you can enter a URL in the searchbox and
-     * it will return a list of blogs linking to it.
-     * The API version allows more features and gives you a way
-     * to use the cosmos on your own site.
-     *
-     * Query options include:
-     *
-     * 'type'       => (link|weblog)
-     *      optional - A value of link returns the freshest links referencing your target URL.
-     *      A value of weblog returns the last set of unique weblogs referencing your target URL.
-     * 'limit'      => (int)
-     *      optional - adjust the size of your result from the default value of 20
-     *      to between 1 and 100 results.
-     * 'start'      => (int)
-     *      optional - adjust the range of your result set.
-     *      Set this number to larger than zero and you will receive
-     *      the portion of Technorati's total result set ranging from start to start+limit.
-     *      The default start value is 1.
-     * 'current'    => (true|false)
-     *      optional - the default setting of true
-     *      Technorati returns links that are currently on a weblog's homepage.
-     *      Set this parameter to false if you would like to receive all links
-     *      to the given URL regardless of their current placement on the source blog.
-     *      Internally the value is converted in (yes|no).
-     * 'claim'      => (true|false)
-     *      optional - the default setting of FALSE returns no user information
-     *      about each weblog included in the result set when available.
-     *      Set this parameter to FALSE to include Technorati member data
-     *      in the result set when a weblog in your result set
-     *      has been successfully claimed by a member of Technorati.
-     *      Internally the value is converted in (int).
-     * 'highlight'  => (true|false)
-     *      optional - the default setting of TRUE
-     *      highlights the citation of the given URL within the weblog excerpt.
-     *      Set this parameter to FALSE to apply no special markup to the blog excerpt.
-     *      Internally the value is converted in (int).
-     *
-     * @param   string $url     the URL you are searching for. Prefixes http:// and www. are optional.
-     * @param   array $options  additional parameters to refine your query
-     * @return  Zend_Service_Technorati_CosmosResultSet
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/cosmos.html Technorati API: Cosmos Query reference
-     */
-    public function cosmos($url, $options = null)
-    {
-        static $defaultOptions = array( 'type'      => 'link',
-                                        'start'     => 1,
-                                        'limit'     => 20,
-                                        'current'   => 'yes',
-                                        'format'    => 'xml',
-                                        'claim'     => 0,
-                                        'highlight' => 1,
-                                        );
-
-        $options['url'] = $url;
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateCosmos($options);
-        $response = $this->_makeRequest(self::API_PATH_COSMOS, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_CosmosResultSet
-         */
-        require_once 'Zend/Service/Technorati/CosmosResultSet.php';
-        return new Zend_Service_Technorati_CosmosResultSet($dom, $options);
-    }
-
-    /**
-     * Search lets you see what blogs contain a given search string.
-     *
-     * Query options include:
-     *
-     * 'language'   => (string)
-     *      optional - a ISO 639-1 two character language code
-     *      to retrieve results specific to that language.
-     *      This feature is currently beta and may not work for all languages.
-     * 'authority'  => (n|a1|a4|a7)
-     *      optional - filter results to those from blogs with at least
-     *      the Technorati Authority specified.
-     *      Technorati calculates a blog's authority by how many people link to it.
-     *      Filtering by authority is a good way to refine your search results.
-     *      There are four settings:
-     *      - n  => Any authority: All results.
-     *      - a1 => A little authority: Results from blogs with at least one link.
-     *      - a4 => Some authority: Results from blogs with a handful of links.
-     *      - a7 => A lot of authority: Results from blogs with hundreds of links.
-     * 'limit'      => (int)
-     *      optional - adjust the size of your result from the default value of 20
-     *      to between 1 and 100 results.
-     * 'start'      => (int)
-     *      optional - adjust the range of your result set.
-     *      Set this number to larger than zero and you will receive
-     *      the portion of Technorati's total result set ranging from start to start+limit.
-     *      The default start value is 1.
-     * 'claim'      => (true|false)
-     *      optional - the default setting of FALSE returns no user information
-     *      about each weblog included in the result set when available.
-     *      Set this parameter to FALSE to include Technorati member data
-     *      in the result set when a weblog in your result set
-     *      has been successfully claimed by a member of Technorati.
-     *      Internally the value is converted in (int).
-     *
-     * @param   string $query   the words you are searching for.
-     * @param   array $options  additional parameters to refine your query
-     * @return  Zend_Service_Technorati_SearchResultSet
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/search.html Technorati API: Search Query reference
-     */
-    public function search($query, $options = null)
-    {
-        static $defaultOptions = array( 'start'     => 1,
-                                        'limit'     => 20,
-                                        'format'    => 'xml',
-                                        'claim'     => 0);
-
-        $options['query'] = $query;
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateSearch($options);
-        $response = $this->_makeRequest(self::API_PATH_SEARCH, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_SearchResultSet
-         */
-        require_once 'Zend/Service/Technorati/SearchResultSet.php';
-        return new Zend_Service_Technorati_SearchResultSet($dom, $options);
-    }
-
-    /**
-     * Tag lets you see what posts are associated with a given tag.
-     *
-     * Query options include:
-     *
-     * 'limit'          => (int)
-     *      optional - adjust the size of your result from the default value of 20
-     *      to between 1 and 100 results.
-     * 'start'          => (int)
-     *      optional - adjust the range of your result set.
-     *      Set this number to larger than zero and you will receive
-     *      the portion of Technorati's total result set ranging from start to start+limit.
-     *      The default start value is 1.
-     * 'excerptsize'    => (int)
-     *      optional - number of word characters to include in the post excerpts.
-     *      By default 100 word characters are returned.
-     * 'topexcerptsize' => (int)
-     *      optional - number of word characters to include in the first post excerpt.
-     *      By default 150 word characters are returned.
-     *
-     * @param   string $tag     the tag term you are searching posts for.
-     * @param   array $options  additional parameters to refine your query
-     * @return  Zend_Service_Technorati_TagResultSet
-     * @throws  Zend_Service_Technorati_Exception
-     *  @link    http://technorati.com/developers/api/tag.html Technorati API: Tag Query reference
-     */
-    public function tag($tag, $options = null)
-    {
-        static $defaultOptions = array( 'start'          => 1,
-                                        'limit'          => 20,
-                                        'format'         => 'xml',
-                                        'excerptsize'    => 100,
-                                        'topexcerptsize' => 150);
-
-        $options['tag'] = $tag;
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateTag($options);
-        $response = $this->_makeRequest(self::API_PATH_TAG, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_TagResultSet
-         */
-        require_once 'Zend/Service/Technorati/TagResultSet.php';
-        return new Zend_Service_Technorati_TagResultSet($dom, $options);
-    }
-
-    /**
-     * TopTags provides daily counts of posts containing the queried keyword.
-     *
-     * Query options include:
-     *
-     * 'days'       => (int)
-     *      optional - Used to specify the number of days in the past
-     *      to request daily count data for.
-     *      Can be any integer between 1 and 180, default is 180
-     *
-     * @param   string $q       the keyword query
-     * @param   array $options  additional parameters to refine your query
-     * @return  Zend_Service_Technorati_DailyCountsResultSet
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/dailycounts.html Technorati API: DailyCounts Query reference
-     */
-    public function dailyCounts($query, $options = null)
-    {
-        static $defaultOptions = array( 'days'      => 180,
-                                        'format'    => 'xml'
-                                        );
-
-        $options['q'] = $query;
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateDailyCounts($options);
-        $response = $this->_makeRequest(self::API_PATH_DAILYCOUNTS, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_DailyCountsResultSet
-         */
-        require_once 'Zend/Service/Technorati/DailyCountsResultSet.php';
-        return new Zend_Service_Technorati_DailyCountsResultSet($dom);
-    }
-
-    /**
-     * TopTags provides information on top tags indexed by Technorati.
-     *
-     * Query options include:
-     *
-     * 'limit'      => (int)
-     *      optional - adjust the size of your result from the default value of 20
-     *      to between 1 and 100 results.
-     * 'start'      => (int)
-     *      optional - adjust the range of your result set.
-     *      Set this number to larger than zero and you will receive
-     *      the portion of Technorati's total result set ranging from start to start+limit.
-     *      The default start value is 1.
-     *
-     * @param   array $options  additional parameters to refine your query
-     * @return  Zend_Service_Technorati_TagsResultSet
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/toptags.html Technorati API: TopTags Query reference
-     */
-    public function topTags($options = null)
-    {
-        static $defaultOptions = array( 'start'     => 1,
-                                        'limit'     => 20,
-                                        'format'    => 'xml'
-                                        );
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateTopTags($options);
-        $response = $this->_makeRequest(self::API_PATH_TOPTAGS, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_TagsResultSet
-         */
-        require_once 'Zend/Service/Technorati/TagsResultSet.php';
-        return new Zend_Service_Technorati_TagsResultSet($dom);
-    }
-
-    /**
-     * BlogInfo provides information on what blog, if any, is associated with a given URL.
-     *
-     * @param   string $url     the URL you are searching for. Prefixes http:// and www. are optional.
-     *                          The URL must be recognized by Technorati as a blog.
-     * @param   array $options  additional parameters to refine your query
-     * @return  Zend_Service_Technorati_BlogInfoResult
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/bloginfo.html Technorati API: BlogInfo Query reference
-     */
-    public function blogInfo($url, $options = null)
-    {
-        static $defaultOptions = array( 'format'    => 'xml'
-                                        );
-
-        $options['url'] = $url;
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateBlogInfo($options);
-        $response = $this->_makeRequest(self::API_PATH_BLOGINFO, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_BlogInfoResult
-         */
-        require_once 'Zend/Service/Technorati/BlogInfoResult.php';
-        return new Zend_Service_Technorati_BlogInfoResult($dom);
-    }
-
-    /**
-     * BlogPostTags provides information on the top tags used by a specific blog.
-     *
-     * Query options include:
-     *
-     * 'limit'      => (int)
-     *      optional - adjust the size of your result from the default value of 20
-     *      to between 1 and 100 results.
-     * 'start'      => (int)
-     *      optional - adjust the range of your result set.
-     *      Set this number to larger than zero and you will receive
-     *      the portion of Technorati's total result set ranging from start to start+limit.
-     *      The default start value is 1.
-     *      Note. This property is not documented.
-     *
-     * @param   string $url     the URL you are searching for. Prefixes http:// and www. are optional.
-     *                          The URL must be recognized by Technorati as a blog.
-     * @param   array $options  additional parameters to refine your query
-     * @return  Zend_Service_Technorati_TagsResultSet
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/blogposttags.html Technorati API: BlogPostTags Query reference
-     */
-    public function blogPostTags($url, $options = null)
-    {
-        static $defaultOptions = array( 'start'     => 1,
-                                        'limit'     => 20,
-                                        'format'    => 'xml'
-                                        );
-
-        $options['url'] = $url;
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateBlogPostTags($options);
-        $response = $this->_makeRequest(self::API_PATH_BLOGPOSTTAGS, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_TagsResultSet
-         */
-        require_once 'Zend/Service/Technorati/TagsResultSet.php';
-        return new Zend_Service_Technorati_TagsResultSet($dom);
-    }
-
-    /**
-     * GetInfo query tells you things that Technorati knows about a member.
-     *
-     * The returned info is broken up into two sections:
-     * The first part describes some information that the user wants
-     * to allow people to know about him- or herself.
-     * The second part of the document is a listing of the weblogs
-     * that the user has successfully claimed and the information
-     * that Technorati knows about these weblogs.
-     *
-     * @param   string $username    the Technorati user name you are searching for
-     * @param   array $options      additional parameters to refine your query
-     * @return  Zend_Service_Technorati_GetInfoResult
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/getinfo.html Technorati API: GetInfo reference
-     */
-    public function getInfo($username, $options = null)
-    {
-        static $defaultOptions = array('format' => 'xml');
-
-        $options['username'] = $username;
-
-        $options = $this->_prepareOptions($options, $defaultOptions);
-        $this->_validateGetInfo($options);
-        $response = $this->_makeRequest(self::API_PATH_GETINFO, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_GetInfoResult
-         */
-        require_once 'Zend/Service/Technorati/GetInfoResult.php';
-        return new Zend_Service_Technorati_GetInfoResult($dom);
-    }
-
-    /**
-     * KeyInfo query provides information on daily usage of an API key.
-     * Key Info Queries do not count against a key's daily query limit.
-     *
-     * A day is defined as 00:00-23:59 Pacific time.
-     *
-     * @return  Zend_Service_Technorati_KeyInfoResult
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://developers.technorati.com/wiki/KeyInfo Technorati API: Key Info reference
-     */
-    public function keyInfo()
-    {
-        static $defaultOptions = array();
-
-        $options = $this->_prepareOptions(array(), $defaultOptions);
-        // you don't need to validate this request
-        // because key is the only mandatory element
-        // and it's already set in #_prepareOptions
-        $response = $this->_makeRequest(self::API_PATH_KEYINFO, $options);
-        $dom = $this->_convertResponseAndCheckContent($response);
-
-        /**
-         * @see Zend_Service_Technorati_KeyInfoResult
-         */
-        require_once 'Zend/Service/Technorati/KeyInfoResult.php';
-        return new Zend_Service_Technorati_KeyInfoResult($dom, $this->_apiKey);
-    }
-
-
-    /**
-     * Returns Technorati API key.
-     *
-     * @return string   Technorati API key
-     */
-    public function getApiKey()
-    {
-        return $this->_apiKey;
-    }
-
-    /**
-     * Returns a reference to the REST client object in use.
-     *
-     * If the reference hasn't being inizialized yet,
-     * then a new Zend_Rest_Client instance is created.
-     *
-     * @return Zend_Rest_Client
-     */
-    public function getRestClient()
-    {
-        if ($this->_restClient === null) {
-            /**
-             * @see Zend_Rest_Client
-             */
-            require_once 'Zend/Rest/Client.php';
-            $this->_restClient = new Zend_Rest_Client(self::API_URI_BASE);
-        }
-
-        return $this->_restClient;
-    }
-
-    /**
-     * Sets Technorati API key.
-     *
-     * Be aware that this function doesn't validate the key.
-     * The key is validated as soon as the first API request is sent.
-     * If the key is invalid, the API request method will throw
-     * a Zend_Service_Technorati_Exception exception with Invalid Key message.
-     *
-     * @param   string $key     Technorati API Key
-     * @return  void
-     * @link    http://technorati.com/developers/apikey.html How to get your Technorati API Key
-     */
-    public function setApiKey($key)
-    {
-        $this->_apiKey = $key;
-        return $this;
-    }
-
-
-    /**
-     * Validates Cosmos query options.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateCosmos(array $options)
-    {
-        static $validOptions = array('key', 'url',
-            'type', 'limit', 'start', 'current', 'claim', 'highlight', 'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate url (required)
-        $this->_validateOptionUrl($options);
-        // Validate limit (optional)
-        $this->_validateOptionLimit($options);
-        // Validate start (optional)
-        $this->_validateOptionStart($options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-        // Validate type (optional)
-        $this->_validateInArrayOption('type', $options, array('link', 'weblog'));
-        // Validate claim (optional)
-        $this->_validateOptionClaim($options);
-        // Validate highlight (optional)
-        $this->_validateIntegerOption('highlight', $options);
-        // Validate current (optional)
-        if (isset($options['current'])) {
-            $tmp = (int) $options['current'];
-            $options['current'] = $tmp ? 'yes' : 'no';
-        }
-
-    }
-
-    /**
-     * Validates Search query options.
-     *
-     * @param   array   $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateSearch(array $options)
-    {
-        static $validOptions = array('key', 'query',
-            'language', 'authority', 'limit', 'start', 'claim', 'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate query (required)
-        $this->_validateMandatoryOption('query', $options);
-        // Validate authority (optional)
-        $this->_validateInArrayOption('authority', $options, array('n', 'a1', 'a4', 'a7'));
-        // Validate limit (optional)
-        $this->_validateOptionLimit($options);
-        // Validate start (optional)
-        $this->_validateOptionStart($options);
-        // Validate claim (optional)
-        $this->_validateOptionClaim($options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-    }
-
-    /**
-     * Validates Tag query options.
-     *
-     * @param   array   $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateTag(array $options)
-    {
-        static $validOptions = array('key', 'tag',
-            'limit', 'start', 'excerptsize', 'topexcerptsize', 'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate query (required)
-        $this->_validateMandatoryOption('tag', $options);
-        // Validate limit (optional)
-        $this->_validateOptionLimit($options);
-        // Validate start (optional)
-        $this->_validateOptionStart($options);
-        // Validate excerptsize (optional)
-        $this->_validateIntegerOption('excerptsize', $options);
-        // Validate excerptsize (optional)
-        $this->_validateIntegerOption('topexcerptsize', $options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-    }
-
-
-    /**
-     * Validates DailyCounts query options.
-     *
-     * @param   array   $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateDailyCounts(array $options)
-    {
-        static $validOptions = array('key', 'q',
-            'days', 'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate q (required)
-        $this->_validateMandatoryOption('q', $options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-        // Validate days (optional)
-        if (isset($options['days'])) {
-            $options['days'] = (int) $options['days'];
-            if ($options['days'] < self::PARAM_DAYS_MIN_VALUE ||
-                $options['days'] > self::PARAM_DAYS_MAX_VALUE) {
-                /**
-                 * @see Zend_Service_Technorati_Exception
-                 */
-                require_once 'Zend/Service/Technorati/Exception.php';
-                throw new Zend_Service_Technorati_Exception(
-                            "Invalid value '" . $options['days'] . "' for 'days' option");
-            }
-        }
-    }
-
-    /**
-     * Validates GetInfo query options.
-     *
-     * @param   array   $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateGetInfo(array $options)
-    {
-        static $validOptions = array('key', 'username',
-            'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate username (required)
-        $this->_validateMandatoryOption('username', $options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-    }
-
-    /**
-     * Validates TopTags query options.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateTopTags(array $options)
-    {
-        static $validOptions = array('key',
-            'limit', 'start', 'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate limit (optional)
-        $this->_validateOptionLimit($options);
-        // Validate start (optional)
-        $this->_validateOptionStart($options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-    }
-
-    /**
-     * Validates BlogInfo query options.
-     *
-     * @param   array   $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateBlogInfo(array $options)
-    {
-        static $validOptions = array('key', 'url',
-            'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate url (required)
-        $this->_validateOptionUrl($options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-    }
-
-    /**
-     * Validates TopTags query options.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateBlogPostTags(array $options)
-    {
-        static $validOptions = array('key', 'url',
-            'limit', 'start', 'format');
-
-        // Validate keys in the $options array
-        $this->_compareOptions($options, $validOptions);
-        // Validate url (required)
-        $this->_validateOptionUrl($options);
-        // Validate limit (optional)
-        $this->_validateOptionLimit($options);
-        // Validate start (optional)
-        $this->_validateOptionStart($options);
-        // Validate format (optional)
-        $this->_validateOptionFormat($options);
-    }
-
-    /**
-     * Checks whether an option is in a given array.
-     *
-     * @param   string $name    option name
-     * @param   array $options
-     * @param   array $array    array of valid options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateInArrayOption($name, $options, array $array)
-    {
-        if (isset($options[$name]) && !in_array($options[$name], $array)) {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                        "Invalid value '{$options[$name]}' for '$name' option");
-        }
-    }
-
-    /**
-     * Checks whether mandatory $name option exists and it's valid.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _validateMandatoryOption($name, $options)
-    {
-        if (!isset($options[$name]) || !trim($options[$name])) {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                        "Empty value for '$name' option");
-        }
-    }
-
-    /**
-     * Checks whether $name option is a valid integer and casts it.
-     *
-     * @param   array $options
-     * @return  void
-     * @access  protected
-     */
-    protected function _validateIntegerOption($name, $options)
-    {
-        if (isset($options[$name])) {
-            $options[$name] = (int) $options[$name];
-        }
-    }
-
-    /**
-     * Makes and HTTP GET request to given $path with $options.
-     * HTTP Response is first validated, then returned.
-     *
-     * @param   string $path
-     * @param   array $options
-     * @return  Zend_Http_Response
-     * @throws  Zend_Service_Technorati_Exception on failure
-     * @access  protected
-     */
-    protected function _makeRequest($path, $options = array())
-    {
-        $restClient = $this->getRestClient();
-        $restClient->getHttpClient()->resetParameters();
-        $response = $restClient->restGet($path, $options);
-        self::_checkResponse($response);
-        return $response;
-    }
-
-    /**
-     * Checks whether 'claim' option value is valid.
-     *
-     * @param   array $options
-     * @return  void
-     * @access  protected
-     */
-    protected function _validateOptionClaim(array $options)
-    {
-        $this->_validateIntegerOption('claim', $options);
-    }
-
-    /**
-     * Checks whether 'format' option value is valid.
-     * Be aware that Zend_Service_Technorati supports only XML as format value.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception if 'format' value != XML
-     * @access  protected
-     */
-    protected function _validateOptionFormat(array $options)
-    {
-        if (isset($options['format']) && $options['format'] != 'xml') {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                        "Invalid value '" . $options['format'] . "' for 'format' option. " .
-                        "Zend_Service_Technorati supports only 'xml'");
-        }
-    }
-
-    /**
-     * Checks whether 'limit' option value is valid.
-     * Value must be an integer greater than PARAM_LIMIT_MIN_VALUE
-     * and lower than PARAM_LIMIT_MAX_VALUE.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception if 'limit' value is invalid
-     * @access  protected
-     */
-    protected function _validateOptionLimit(array $options)
-    {
-        if (!isset($options['limit'])) return;
-
-        $options['limit'] = (int) $options['limit'];
-        if ($options['limit'] < self::PARAM_LIMIT_MIN_VALUE ||
-            $options['limit'] > self::PARAM_LIMIT_MAX_VALUE) {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                        "Invalid value '" . $options['limit'] . "' for 'limit' option");
-        }
-    }
-
-    /**
-     * Checks whether 'start' option value is valid.
-     * Value must be an integer greater than 0.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception if 'start' value is invalid
-     * @access  protected
-     */
-    protected function _validateOptionStart(array $options)
-    {
-        if (!isset($options['start'])) return;
-
-        $options['start'] = (int) $options['start'];
-        if ($options['start'] < self::PARAM_START_MIN_VALUE) {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                        "Invalid value '" . $options['start'] . "' for 'start' option");
-        }
-    }
-
-    /**
-     * Checks whether 'url' option value exists and is valid.
-     * 'url' must be a valid HTTP(s) URL.
-     *
-     * @param   array $options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception if 'url' value is invalid
-     * @access  protected
-     * @todo    support for Zend_Uri_Http
-     */
-    protected function _validateOptionUrl(array $options)
-    {
-        $this->_validateMandatoryOption('url', $options);
-    }
-
-    /**
-     * Checks XML response content for errors.
-     *
-     * @param   DomDocument $dom    the XML response as a DOM document
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @link    http://technorati.com/developers/api/error.html Technorati API: Error response
-     * @access  protected
-     */
-    protected static function _checkErrors(DomDocument $dom)
-    {
-        $xpath = new DOMXPath($dom);
-
-        $result = $xpath->query("/tapi/document/result/error");
-        if ($result->length >= 1) {
-            $error = $result->item(0)->nodeValue;
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception($error);
-        }
-    }
-
-    /**
-     * Converts $response body to a DOM object and checks it.
-     *
-     * @param   Zend_Http_Response $response
-     * @return  DOMDocument
-     * @throws  Zend_Service_Technorati_Exception if response content contains an error message
-     * @access  protected
-     */
-    protected function _convertResponseAndCheckContent(Zend_Http_Response $response)
-    {
-        $dom = new DOMDocument();
-        $dom = Zend_Xml_Security::scan($response->getBody(), $dom);
-        self::_checkErrors($dom);
-        return $dom;
-    }
-
-    /**
-     * Checks ReST response for errors.
-     *
-     * @param   Zend_Http_Response $response    the ReST response
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected static function _checkResponse(Zend_Http_Response $response)
-    {
-        if ($response->isError()) {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(sprintf(
-                        'Invalid response status code (HTTP/%s %s %s)',
-                        $response->getVersion(), $response->getStatus(), $response->getMessage()));
-        }
-    }
-
-    /**
-     * Checks whether user given options are valid.
-     *
-     * @param   array $options        user options
-     * @param   array $validOptions   valid options
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception
-     * @access  protected
-     */
-    protected function _compareOptions(array $options, array $validOptions)
-    {
-        $difference = array_diff(array_keys($options), $validOptions);
-        if ($difference) {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                        "The following parameters are invalid: '" .
-                        implode("', '", $difference) . "'");
-        }
-    }
-
-    /**
-     * Prepares options for the request
-     *
-     * @param   array $options        user options
-     * @param   array $defaultOptions default options
-     * @return  array Merged array of user and default/required options.
-     * @access  protected
-     */
-    protected function _prepareOptions($options, array $defaultOptions)
-    {
-        $options = (array) $options; // force cast to convert null to array()
-        $options['key'] = $this->_apiKey;
-        $options = array_merge($defaultOptions, $options);
-        return $options;
-    }
-}

+ 0 - 242
library/Zend/Service/Technorati/Author.php

@@ -1,242 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Utils
- */
-require_once 'Zend/Service/Technorati/Utils.php';
-
-
-/**
- * Represents a weblog Author object. It usually belongs to a Technorati account.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_Author
-{
-    /**
-     * Author first name
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_firstName;
-
-    /**
-     * Author last name
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_lastName;
-
-    /**
-     * Technorati account username
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_username;
-
-    /**
-     * Technorati account description
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_description;
-
-    /**
-     * Technorati account biography
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_bio;
-
-    /**
-     * Technorati account thumbnail picture URL, if any
-     *
-     * @var     null|Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_thumbnailPicture;
-
-
-    /**
-     * Constructs a new object from DOM Element.
-     *
-     * @param   DomElement $dom the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $xpath = new DOMXPath($dom->ownerDocument);
-
-        $result = $xpath->query('./firstname/text()', $dom);
-        if ($result->length == 1) $this->setFirstName($result->item(0)->data);
-
-        $result = $xpath->query('./lastname/text()', $dom);
-        if ($result->length == 1) $this->setLastName($result->item(0)->data);
-
-        $result = $xpath->query('./username/text()', $dom);
-        if ($result->length == 1) $this->setUsername($result->item(0)->data);
-
-        $result = $xpath->query('./description/text()', $dom);
-        if ($result->length == 1) $this->setDescription($result->item(0)->data);
-
-        $result = $xpath->query('./bio/text()', $dom);
-        if ($result->length == 1) $this->setBio($result->item(0)->data);
-
-        $result = $xpath->query('./thumbnailpicture/text()', $dom);
-        if ($result->length == 1) $this->setThumbnailPicture($result->item(0)->data);
-    }
-
-
-    /**
-     * Returns Author first name.
-     *
-     * @return  string  Author first name
-     */
-    public function getFirstName() {
-        return $this->_firstName;
-    }
-
-    /**
-     * Returns Author last name.
-     *
-     * @return  string  Author last name
-     */
-    public function getLastName() {
-        return $this->_lastName;
-    }
-
-    /**
-     * Returns Technorati account username.
-     *
-     * @return  string  Technorati account username
-     */
-    public function getUsername() {
-        return $this->_username;
-    }
-
-    /**
-     * Returns Technorati account description.
-     *
-     * @return  string  Technorati account description
-     */
-    public function getDescription() {
-        return $this->_description;
-    }
-
-    /**
-     * Returns Technorati account biography.
-     *
-     * @return  string  Technorati account biography
-     */
-    public function getBio() {
-        return $this->_bio;
-    }
-
-    /**
-     * Returns Technorati account thumbnail picture.
-     *
-     * @return  null|Zend_Uri_Http  Technorati account thumbnail picture
-     */
-    public function getThumbnailPicture() {
-        return $this->_thumbnailPicture;
-    }
-
-
-    /**
-     * Sets author first name.
-     *
-     * @param   string $input   first Name input value
-     * @return  Zend_Service_Technorati_Author  $this instance
-     */
-    public function setFirstName($input) {
-        $this->_firstName = (string) $input;
-        return $this;
-    }
-
-    /**
-     * Sets author last name.
-     *
-     * @param   string $input   last Name input value
-     * @return  Zend_Service_Technorati_Author  $this instance
-     */
-    public function setLastName($input) {
-        $this->_lastName = (string) $input;
-        return $this;
-    }
-
-    /**
-     * Sets Technorati account username.
-     *
-     * @param   string $input   username input value
-     * @return  Zend_Service_Technorati_Author  $this instance
-     */
-    public function setUsername($input) {
-        $this->_username = (string) $input;
-        return $this;
-    }
-
-    /**
-     * Sets Technorati account biography.
-     *
-     * @param   string $input   biography input value
-     * @return  Zend_Service_Technorati_Author  $this instance
-     */
-    public function setBio($input) {
-        $this->_bio = (string) $input;
-        return $this;
-    }
-
-    /**
-     * Sets Technorati account description.
-     *
-     * @param   string $input   description input value
-     * @return  Zend_Service_Technorati_Author  $this instance
-     */
-    public function setDescription($input) {
-        $this->_description = (string) $input;
-        return $this;
-    }
-
-    /**
-     * Sets Technorati account thumbnail picture.
-     *
-     * @param   string|Zend_Uri_Http $input thumbnail picture URI
-     * @return  Zend_Service_Technorati_Author  $this instance
-     * @throws  Zend_Service_Technorati_Exception if $input is an invalid URI
-     *          (via Zend_Service_Technorati_Utils::normalizeUriHttp)
-     */
-    public function setThumbnailPicture($input) {
-        $this->_thumbnailPicture = Zend_Service_Technorati_Utils::normalizeUriHttp($input);
-        return $this;
-    }
-
-}

+ 0 - 161
library/Zend/Service/Technorati/BlogInfoResult.php

@@ -1,161 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Utils
- */
-require_once 'Zend/Service/Technorati/Utils.php';
-
-
-/**
- * Represents a single Technorati BlogInfo query result object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_BlogInfoResult
-{
-    /**
-     * Technorati weblog url, if queried URL is a valid weblog.
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_url;
-
-    /**
-     * Technorati weblog, if queried URL is a valid weblog.
-     *
-     * @var     Zend_Service_Technorati_Weblog
-     * @access  protected
-     */
-    protected $_weblog;
-
-    /**
-     * Number of unique blogs linking this blog
-     *
-     * @var     integer
-     * @access  protected
-     */
-    protected $_inboundBlogs;
-
-    /**
-     * Number of incoming links to this blog
-     *
-     * @var     integer
-     * @access  protected
-     */
-    protected $_inboundLinks;
-
-
-    /**
-     * Constructs a new object object from DOM Document.
-     *
-     * @param   DomDocument $dom the ReST fragment for this object
-     */
-    public function __construct(DomDocument $dom)
-    {
-        $xpath = new DOMXPath($dom);
-        /**
-         * @see Zend_Service_Technorati_Weblog
-         */
-        require_once 'Zend/Service/Technorati/Weblog.php';
-
-        $result = $xpath->query('//result/weblog');
-        if ($result->length == 1) {
-            $this->_weblog = new Zend_Service_Technorati_Weblog($result->item(0));
-        } else {
-            // follow the same behavior of blogPostTags
-            // and raise an Exception if the URL is not a valid weblog
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                "Your URL is not a recognized Technorati weblog");
-        }
-
-        $result = $xpath->query('//result/url/text()');
-        if ($result->length == 1) {
-            try {
-                // fetched URL often doens't include schema
-                // and this issue causes the following line to fail
-                $this->_url = Zend_Service_Technorati_Utils::normalizeUriHttp($result->item(0)->data);
-            } catch(Zend_Service_Technorati_Exception $e) {
-                if ($this->getWeblog() instanceof Zend_Service_Technorati_Weblog) {
-                    $this->_url = $this->getWeblog()->getUrl();
-                }
-            }
-        }
-
-        $result = $xpath->query('//result/inboundblogs/text()');
-        if ($result->length == 1) $this->_inboundBlogs = (int) $result->item(0)->data;
-
-        $result = $xpath->query('//result/inboundlinks/text()');
-        if ($result->length == 1) $this->_inboundLinks = (int) $result->item(0)->data;
-
-    }
-
-
-    /**
-     * Returns the weblog URL.
-     *
-     * @return  Zend_Uri_Http
-     */
-    public function getUrl() {
-        return $this->_url;
-    }
-
-    /**
-     * Returns the weblog.
-     *
-     * @return  Zend_Service_Technorati_Weblog
-     */
-    public function getWeblog() {
-        return $this->_weblog;
-    }
-
-    /**
-     * Returns number of unique blogs linking this blog.
-     *
-     * @return  integer the number of inbound blogs
-     */
-    public function getInboundBlogs()
-    {
-        return (int) $this->_inboundBlogs;
-    }
-
-    /**
-     * Returns number of incoming links to this blog.
-     *
-     * @return  integer the number of inbound links
-     */
-    public function getInboundLinks()
-    {
-        return (int) $this->_inboundLinks;
-    }
-
-}

+ 0 - 152
library/Zend/Service/Technorati/CosmosResult.php

@@ -1,152 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Result
- */
-require_once 'Zend/Service/Technorati/Result.php';
-
-
-/**
- * Represents a single Technorati Cosmos query result object.
- * It is never returned as a standalone object,
- * but it always belongs to a valid Zend_Service_Technorati_CosmosResultSet object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_CosmosResult extends Zend_Service_Technorati_Result
-{
-    /**
-     * Technorati weblog object that links queried URL.
-     *
-     * @var     Zend_Service_Technorati_Weblog
-     * @access  protected
-     */
-    protected $_weblog;
-
-    /**
-     * The nearest permalink tracked for queried URL.
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_nearestPermalink;
-
-    /**
-     * The excerpt of the blog/page linking queried URL.
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_excerpt;
-
-    /**
-     * The the datetime the link was created.
-     *
-     * @var     Zend_Date
-     * @access  protected
-     */
-    protected $_linkCreated;
-
-    /**
-     * The URL of the specific link target page
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_linkUrl;
-
-
-    /**
-     * Constructs a new object object from DOM Element.
-     *
-     * @param   DomElement $dom the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $this->_fields = array( '_nearestPermalink' => 'nearestpermalink',
-                                '_excerpt'          => 'excerpt',
-                                '_linkCreated'      => 'linkcreated',
-                                '_linkUrl'          => 'linkurl');
-        parent::__construct($dom);
-
-        // weblog object field
-        $this->_parseWeblog();
-
-        // filter fields
-        $this->_nearestPermalink = Zend_Service_Technorati_Utils::normalizeUriHttp($this->_nearestPermalink);
-        $this->_linkUrl = Zend_Service_Technorati_Utils::normalizeUriHttp($this->_linkUrl);
-        $this->_linkCreated = Zend_Service_Technorati_Utils::normalizeDate($this->_linkCreated);
-    }
-
-    /**
-     * Returns the weblog object that links queried URL.
-     *
-     * @return  Zend_Service_Technorati_Weblog
-     */
-    public function getWeblog() {
-        return $this->_weblog;
-    }
-
-    /**
-     * Returns the nearest permalink tracked for queried URL.
-     *
-     * @return  Zend_Uri_Http
-     */
-    public function getNearestPermalink() {
-        return $this->_nearestPermalink;
-    }
-
-    /**
-     * Returns the excerpt of the blog/page linking queried URL.
-     *
-     * @return  string
-     */
-    public function getExcerpt() {
-        return $this->_excerpt;
-    }
-
-    /**
-     * Returns the datetime the link was created.
-     *
-     * @return  Zend_Date
-     */
-    public function getLinkCreated() {
-        return $this->_linkCreated;
-    }
-
-    /**
-     * If queried URL is a valid blog,
-     * returns the URL of the specific link target page.
-     *
-     * @return  Zend_Uri_Http
-     */
-    public function getLinkUrl() {
-        return $this->_linkUrl;
-    }
-
-}

+ 0 - 176
library/Zend/Service/Technorati/CosmosResultSet.php

@@ -1,176 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_ResultSet
- */
-require_once 'Zend/Service/Technorati/ResultSet.php';
-
-
-/**
- * Represents a Technorati Cosmos query result set.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_CosmosResultSet extends Zend_Service_Technorati_ResultSet
-{
-    /**
-     * Technorati weblog url, if queried URL is a valid weblog.
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_url;
-
-    /**
-     * Technorati weblog, if queried URL is a valid weblog.
-     *
-     * @var     Zend_Service_Technorati_Weblog
-     * @access  protected
-     */
-    protected $_weblog;
-
-    /**
-     * Number of unique blogs linking this blog
-     *
-     * @var     integer
-     * @access  protected
-     */
-    protected $_inboundBlogs;
-
-    /**
-     * Number of incoming links to this blog
-     *
-     * @var     integer
-     * @access  protected
-     */
-    protected $_inboundLinks;
-
-    /**
-     * Parses the search response and retrieve the results for iteration.
-     *
-     * @param   DomDocument $dom    the ReST fragment for this object
-     * @param   array $options      query options as associative array
-     */
-    public function __construct(DomDocument $dom, $options = array())
-    {
-        parent::__construct($dom, $options);
-
-        $result = $this->_xpath->query('/tapi/document/result/inboundlinks/text()');
-        if ($result->length == 1) $this->_inboundLinks = (int) $result->item(0)->data;
-
-        $result = $this->_xpath->query('/tapi/document/result/inboundblogs/text()');
-        if ($result->length == 1) $this->_inboundBlogs = (int) $result->item(0)->data;
-
-        $result = $this->_xpath->query('/tapi/document/result/weblog');
-        if ($result->length == 1) {
-            /**
-             * @see Zend_Service_Technorati_Weblog
-             */
-            require_once 'Zend/Service/Technorati/Weblog.php';
-            $this->_weblog = new Zend_Service_Technorati_Weblog($result->item(0));
-        }
-
-        $result = $this->_xpath->query('/tapi/document/result/url/text()');
-        if ($result->length == 1) {
-            try {
-                // fetched URL often doens't include schema
-                // and this issue causes the following line to fail
-                $this->_url = Zend_Service_Technorati_Utils::normalizeUriHttp($result->item(0)->data);
-            } catch(Zend_Service_Technorati_Exception $e) {
-                if ($this->getWeblog() instanceof Zend_Service_Technorati_Weblog) {
-                    $this->_url = $this->getWeblog()->getUrl();
-                }
-            }
-        }
-
-        $this->_totalResultsReturned  = (int) $this->_xpath->evaluate("count(/tapi/document/item)");
-
-        // total number of results depends on query type
-        // for now check only getInboundLinks() and getInboundBlogs() value
-        if ((int) $this->getInboundLinks() > 0) {
-            $this->_totalResultsAvailable = $this->getInboundLinks();
-        } elseif ((int) $this->getInboundBlogs() > 0) {
-            $this->_totalResultsAvailable = $this->getInboundBlogs();
-        } else {
-            $this->_totalResultsAvailable = 0;
-        }
-    }
-
-
-    /**
-     * Returns the weblog URL.
-     *
-     * @return  Zend_Uri_Http
-     */
-    public function getUrl() {
-        return $this->_url;
-    }
-
-    /**
-     * Returns the weblog.
-     *
-     * @return  Zend_Service_Technorati_Weblog
-     */
-    public function getWeblog() {
-        return $this->_weblog;
-    }
-
-    /**
-     * Returns number of unique blogs linking this blog.
-     *
-     * @return  integer the number of inbound blogs
-     */
-    public function getInboundBlogs()
-    {
-        return $this->_inboundBlogs;
-    }
-
-    /**
-     * Returns number of incoming links to this blog.
-     *
-     * @return  integer the number of inbound links
-     */
-    public function getInboundLinks()
-    {
-        return $this->_inboundLinks;
-    }
-
-    /**
-     * Implements Zend_Service_Technorati_ResultSet::current().
-     *
-     * @return Zend_Service_Technorati_CosmosResult current result
-     */
-    public function current()
-    {
-        /**
-         * @see Zend_Service_Technorati_CosmosResult
-         */
-        require_once 'Zend/Service/Technorati/CosmosResult.php';
-        return new Zend_Service_Technorati_CosmosResult($this->_results->item($this->_currentIndex));
-    }
-}

+ 0 - 93
library/Zend/Service/Technorati/DailyCountsResult.php

@@ -1,93 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Result
- */
-require_once 'Zend/Service/Technorati/Result.php';
-
-
-/**
- * Represents a single Technorati DailyCounts query result object.
- * It is never returned as a standalone object,
- * but it always belongs to a valid Zend_Service_Technorati_DailyCountsResultSet object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_DailyCountsResult extends Zend_Service_Technorati_Result
-{
-    /**
-     * Date of count.
-     *
-     * @var     Zend_Date
-     * @access  protected
-     */
-    protected $_date;
-
-    /**
-     * Number of posts containing query on given date.
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_count;
-
-
-    /**
-     * Constructs a new object object from DOM Document.
-     *
-     * @param   DomElement $dom the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $this->_fields = array( '_date'   => 'date',
-                                '_count'  => 'count');
-        parent::__construct($dom);
-
-        // filter fields
-        $this->_date  = new Zend_Date(strtotime($this->_date));
-        $this->_count = (int) $this->_count;
-    }
-
-    /**
-     * Returns the date of count.
-     *
-     * @return  Zend_Date
-     */
-    public function getDate() {
-        return $this->_date;
-    }
-
-    /**
-     * Returns the number of posts containing query on given date.
-     *
-     * @return  int
-     */
-    public function getCount() {
-        return $this->_count;
-    }
-}

+ 0 - 125
library/Zend/Service/Technorati/DailyCountsResultSet.php

@@ -1,125 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Date
- */
-require_once 'Zend/Date.php';
-
-/**
- * @see Zend_Service_Technorati_ResultSet
- */
-require_once 'Zend/Service/Technorati/ResultSet.php';
-
-/**
- * @see Zend_Service_Technorati_Utils
- */
-require_once 'Zend/Service/Technorati/Utils.php';
-
-
-/**
- * Represents a Technorati Tag query result set.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_DailyCountsResultSet extends Zend_Service_Technorati_ResultSet
-{
-    /**
-     * Technorati search URL for given query.
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_searchUrl;
-
-    /**
-     * Number of days for which counts provided.
-     *
-     * @var     Zend_Service_Technorati_Weblog
-     * @access  protected
-     */
-    protected $_days;
-
-    /**
-     * Parses the search response and retrieve the results for iteration.
-     *
-     * @param   DomDocument $dom    the ReST fragment for this object
-     * @param   array $options      query options as associative array
-     */
-    public function __construct(DomDocument $dom, $options = array())
-    {
-        parent::__construct($dom, $options);
-
-        // default locale prevent Zend_Date to fail
-        // when script is executed via shell
-        // Zend_Locale::setDefault('en');
-
-        $result = $this->_xpath->query('/tapi/document/result/days/text()');
-        if ($result->length == 1) $this->_days = (int) $result->item(0)->data;
-
-        $result = $this->_xpath->query('/tapi/document/result/searchurl/text()');
-        if ($result->length == 1) {
-            $this->_searchUrl = Zend_Service_Technorati_Utils::normalizeUriHttp($result->item(0)->data);
-        }
-
-        $this->_totalResultsReturned  = (int) $this->_xpath->evaluate("count(/tapi/document/items/item)");
-        $this->_totalResultsAvailable = (int) $this->getDays();
-    }
-
-
-    /**
-     * Returns the search URL for given query.
-     *
-     * @return  Zend_Uri_Http
-     */
-    public function getSearchUrl() {
-        return $this->_searchUrl;
-    }
-
-    /**
-     * Returns the number of days for which counts provided.
-     *
-     * @return  int
-     */
-    public function getDays() {
-        return $this->_days;
-    }
-
-    /**
-     * Implements Zend_Service_Technorati_ResultSet::current().
-     *
-     * @return Zend_Service_Technorati_DailyCountsResult current result
-     */
-    public function current()
-    {
-        /**
-         * @see Zend_Service_Technorati_DailyCountsResult
-         */
-        require_once 'Zend/Service/Technorati/DailyCountsResult.php';
-        return new Zend_Service_Technorati_DailyCountsResult($this->_results->item($this->_currentIndex));
-    }
-}

+ 0 - 39
library/Zend/Service/Technorati/Exception.php

@@ -1,39 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Exception
- */
-require_once 'Zend/Service/Exception.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_Exception extends Zend_Service_Exception
-{
-}

+ 0 - 103
library/Zend/Service/Technorati/GetInfoResult.php

@@ -1,103 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Represents a single Technorati GetInfo query result object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_GetInfoResult
-{
-    /**
-     * Technorati author
-     *
-     * @var     Zend_Service_Technorati_Author
-     * @access  protected
-     */
-    protected $_author;
-
-    /**
-     * A list of weblogs claimed by this author
-     *
-     * @var     array
-     * @access  protected
-     */
-    protected $_weblogs = array();
-
-
-    /**
-     * Constructs a new object object from DOM Document.
-     *
-     * @param   DomDocument $dom the ReST fragment for this object
-     */
-    public function __construct(DomDocument $dom)
-    {
-        $xpath = new DOMXPath($dom);
-
-        /**
-         * @see Zend_Service_Technorati_Author
-         */
-        require_once 'Zend/Service/Technorati/Author.php';
-
-        $result = $xpath->query('//result');
-        if ($result->length == 1) {
-            $this->_author = new Zend_Service_Technorati_Author($result->item(0));
-        }
-
-        /**
-         * @see Zend_Service_Technorati_Weblog
-         */
-        require_once 'Zend/Service/Technorati/Weblog.php';
-
-        $result = $xpath->query('//item/weblog');
-        if ($result->length >= 1) {
-            foreach ($result as $weblog) {
-                $this->_weblogs[] = new Zend_Service_Technorati_Weblog($weblog);
-            }
-        }
-    }
-
-
-    /**
-     * Returns the author associated with queried username.
-     *
-     * @return  Zend_Service_Technorati_Author
-     */
-    public function getAuthor() {
-        return $this->_author;
-    }
-
-    /**
-     * Returns the collection of weblogs authored by queried username.
-     *
-     * @return  array of Zend_Service_Technorati_Weblog
-     */
-    public function getWeblogs() {
-        return $this->_weblogs;
-    }
-
-}

+ 0 - 118
library/Zend/Service/Technorati/KeyInfoResult.php

@@ -1,118 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Represents a single Technorati KeyInfo query result object.
- * It provides information about your Technorati API Key daily usage.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_KeyInfoResult
-{
-    /**
-     * Technorati API key
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_apiKey;
-
-    /**
-     * Number of queries used today
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_apiQueries;
-
-    /**
-     * Total number of available queries per day
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_maxQueries;
-
-
-    /**
-     * Constructs a new object from DOM Element.
-     * Parses given Key element from $dom and sets API key string.
-     *
-     * @param   DomElement $dom the ReST fragment for this object
-     * @param   string $apiKey  the API Key string
-     */
-    public function __construct(DomDocument $dom, $apiKey = null)
-    {
-        // $this->_dom   = $dom;
-        // $this->_xpath = new DOMXPath($dom);
-        $xpath = new DOMXPath($dom);
-
-        $this->_apiQueries   = (int) $xpath->query('/tapi/document/result/apiqueries/text()')->item(0)->data;
-        $this->_maxQueries   = (int) $xpath->query('/tapi/document/result/maxqueries/text()')->item(0)->data;
-        $this->setApiKey($apiKey);
-    }
-
-
-    /**
-     * Returns API Key string.
-     *
-     * @return  string  API Key string
-     */
-    public function getApiKey() {
-        return $this->_apiKey;
-    }
-
-    /**
-     * Returns the number of queries sent today.
-     *
-     * @return  int     number of queries sent today
-     */
-    public function getApiQueries() {
-        return $this->_apiQueries;
-    }
-
-    /**
-     * Returns Key's daily query limit.
-     *
-     * @return  int     maximum number of available queries per day
-     */
-    public function getMaxQueries() {
-        return $this->_maxQueries;
-    }
-
-
-    /**
-     * Sets API Key string.
-     *
-     * @param   string $apiKey  the API Key
-     * @return  Zend_Service_Technorati_KeyInfoResult $this instance
-     */
-    public function setApiKey($apiKey) {
-        $this->_apiKey = $apiKey;
-        return $this;
-    }
-}

+ 0 - 121
library/Zend/Service/Technorati/Result.php

@@ -1,121 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Represents a single Technorati Search query result object.
- * It is never returned as a standalone object,
- * but it always belongs to a valid Zend_Service_Technorati_SearchResultSet object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @abstract
- */
-abstract class Zend_Service_Technorati_Result
-{
-    /**
-     * An associative array of 'fieldName' => 'xmlfieldtag'
-     *
-     * @var     array
-     * @access  protected
-     */
-    protected $_fields;
-
-    /**
-     * The ReST fragment for this result object
-     *
-     * @var     DomElement
-     * @access  protected
-     */
-    protected $_dom;
-
-    /**
-     * Object for $this->_dom
-     *
-     * @var     DOMXpath
-     * @access  protected
-     */
-    protected $_xpath;
-
-
-    /**
-     * Constructs a new object from DOM Element.
-     * Properties are automatically fetched from XML
-     * according to array of $_fields to be read.
-     *
-     * @param   DomElement $result  the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $this->_xpath = new DOMXPath($dom->ownerDocument);
-        $this->_dom = $dom;
-
-        // default fields for all search results
-        $fields = array();
-
-        // merge with child's object fields
-        $this->_fields = array_merge($this->_fields, $fields);
-
-        // add results to appropriate fields
-        foreach($this->_fields as $phpName => $xmlName) {
-            $query = "./$xmlName/text()";
-            $node = $this->_xpath->query($query, $this->_dom);
-            if ($node->length == 1) {
-                $this->{$phpName} = (string) $node->item(0)->data;
-            }
-        }
-    }
-
-    /**
-     * Parses weblog node and sets weblog object.
-     *
-     * @return  void
-     */
-    protected function _parseWeblog()
-    {
-        // weblog object field
-        $result = $this->_xpath->query('./weblog', $this->_dom);
-        if ($result->length == 1) {
-            /**
-             * @see Zend_Service_Technorati_Weblog
-             */
-            require_once 'Zend/Service/Technorati/Weblog.php';
-            $this->_weblog = new Zend_Service_Technorati_Weblog($result->item(0));
-        } else {
-            $this->_weblog = null;
-        }
-    }
-
-    /**
-     * Returns the document fragment for this object as XML string.
-     *
-     * @return string   the document fragment for this object
-     *                  converted into XML format
-     */
-    public function getXml()
-    {
-        return $this->_dom->ownerDocument->saveXML($this->_dom);
-    }
-}

+ 0 - 289
library/Zend/Service/Technorati/ResultSet.php

@@ -1,289 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Result
- */
-require_once 'Zend/Service/Technorati/Result.php';
-
-
-/**
- * This is the most essential result set.
- * The scope of this class is to be extended by a query-specific child result set class,
- * and it should never be used to initialize a standalone object.
- *
- * Each of the specific result sets represents a collection of query-specific
- * Zend_Service_Technorati_Result objects.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @abstract
- */
-abstract class Zend_Service_Technorati_ResultSet implements SeekableIterator
-{
-    /**
-     * The total number of results available
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_totalResultsAvailable;
-
-    /**
-     * The number of results in this result set
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_totalResultsReturned;
-
-    /**
-     * The offset in the total result set of this search set
-     *
-     * @var     int
-     */
-    //TODO public $firstResultPosition;
-
-
-    /**
-     * A DomNodeList of results
-     *
-     * @var     DomNodeList
-     * @access  protected
-     */
-    protected $_results;
-
-    /**
-     * Technorati API response document
-     *
-     * @var     DomDocument
-     * @access  protected
-     */
-    protected $_dom;
-
-    /**
-     * Object for $this->_dom
-     *
-     * @var     DOMXpath
-     * @access  protected
-     */
-    protected $_xpath;
-
-    /**
-     * XML string representation for $this->_dom
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_xml;
-
-    /**
-     * Current Item
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_currentIndex = 0;
-
-
-    /**
-     * Parses the search response and retrieves the results for iteration.
-     *
-     * @param   DomDocument $dom    the ReST fragment for this object
-     * @param   array $options      query options as associative array
-     */
-    public function __construct(DomDocument $dom, $options = array())
-    {
-        $this->_init($dom, $options);
-
-        // Technorati loves to make developer's life really hard
-        // I must read query options in order to normalize a single way
-        // to display start and limit.
-        // The value is printed out in XML using many different tag names,
-        // too hard to get it from XML
-
-        // Additionally, the following tags should be always available
-        // according to API documentation but... this is not the truth!
-        // - querytime
-        // - limit
-        // - start (sometimes rankingstart)
-
-        // query tag is only available for some requests, the same for url.
-        // For now ignore them.
-
-        //$start = isset($options['start']) ? $options['start'] : 1;
-        //$limit = isset($options['limit']) ? $options['limit'] : 20;
-        //$this->_firstResultPosition = $start;
-    }
-
-    /**
-     * Initializes this object from a DomDocument response.
-     *
-     * Because __construct and __wakeup shares some common executions,
-     * it's useful to group them in a single initialization method.
-     * This method is called once each time a new instance is created
-     * or a serialized object is unserialized.
-     *
-     * @param   DomDocument $dom the ReST fragment for this object
-     * @param   array $options   query options as associative array
-     *      * @return  void
-     */
-    protected function _init(DomDocument $dom, $options = array())
-    {
-        $this->_dom     = $dom;
-        $this->_xpath   = new DOMXPath($dom);
-
-        $this->_results = $this->_xpath->query("//item");
-    }
-
-    /**
-     * Number of results returned.
-     *
-     * @return  int     total number of results returned
-     */
-    public function totalResults()
-    {
-        return (int) $this->_totalResultsReturned;
-    }
-
-
-    /**
-     * Number of available results.
-     *
-     * @return  int     total number of available results
-     */
-    public function totalResultsAvailable()
-    {
-        return (int) $this->_totalResultsAvailable;
-    }
-
-    /**
-     * Implements SeekableIterator::current().
-     *
-     * @return  void
-     * @throws  Zend_Service_Exception
-     * @abstract
-     */
-    // abstract public function current();
-
-    /**
-     * Implements SeekableIterator::key().
-     *
-     * @return  int
-     */
-    public function key()
-    {
-        return $this->_currentIndex;
-    }
-
-    /**
-     * Implements SeekableIterator::next().
-     *
-     * @return  void
-     */
-    public function next()
-    {
-        $this->_currentIndex += 1;
-    }
-
-    /**
-     * Implements SeekableIterator::rewind().
-     *
-     * @return  bool
-     */
-    public function rewind()
-    {
-        $this->_currentIndex = 0;
-        return true;
-    }
-
-    /**
-     * Implement SeekableIterator::seek().
-     *
-     * @param   int $index
-     * @return  void
-     * @throws  OutOfBoundsException
-     */
-    public function seek($index)
-    {
-        $indexInt = (int) $index;
-        if ($indexInt >= 0 && $indexInt < $this->_results->length) {
-            $this->_currentIndex = $indexInt;
-        } else {
-            throw new OutOfBoundsException("Illegal index '$index'");
-        }
-    }
-
-    /**
-     * Implement SeekableIterator::valid().
-     *
-     * @return boolean
-     */
-    public function valid()
-    {
-        return null !== $this->_results && $this->_currentIndex < $this->_results->length;
-    }
-
-    /**
-     * Returns the response document as XML string.
-     *
-     * @return string   the response document converted into XML format
-     */
-    public function getXml()
-    {
-        return $this->_dom->saveXML();
-    }
-
-    /**
-     * Overwrites standard __sleep method to make this object serializable.
-     *
-     * DomDocument and DOMXpath objects cannot be serialized.
-     * This method converts them back to an XML string.
-     *
-     * @return void
-     */
-    public function __sleep() {
-        $this->_xml     = $this->getXml();
-        $vars = array_keys(get_object_vars($this));
-        return array_diff($vars, array('_dom', '_xpath'));
-    }
-
-    /**
-     * Overwrites standard __wakeup method to make this object unserializable.
-     *
-     * Restores object status before serialization.
-     * Converts XML string into a DomDocument object and creates a valid
-     * DOMXpath instance for given DocDocument.
-     *
-     * @return void
-     */
-    public function __wakeup() {
-        $dom = new DOMDocument();
-        $dom->loadXml($this->_xml);
-        $this->_init($dom);
-        $this->_xml = null; // reset XML content
-    }
-}

+ 0 - 150
library/Zend/Service/Technorati/SearchResult.php

@@ -1,150 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Result
- */
-require_once 'Zend/Service/Technorati/Result.php';
-
-
-/**
- * Represents a single Technorati Search query result object.
- * It is never returned as a standalone object,
- * but it always belongs to a valid Zend_Service_Technorati_SearchResultSet object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_SearchResult extends Zend_Service_Technorati_Result
-{
-    /**
-     * Technorati weblog object corresponding to queried keyword.
-     *
-     * @var     Zend_Service_Technorati_Weblog
-     * @access  protected
-     */
-    protected $_weblog;
-
-    /**
-     * The title of the entry.
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_title;
-
-    /**
-     * The blurb from entry with search term highlighted.
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_excerpt;
-
-    /**
-     * The datetime the entry was created.
-     *
-     * @var     Zend_Date
-     * @access  protected
-     */
-    protected $_created;
-
-    /**
-     * The permalink of the blog entry.
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_permalink;
-
-
-    /**
-     * Constructs a new object object from DOM Element.
-     *
-     * @param   DomElement $dom the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $this->_fields = array( '_permalink'    => 'permalink',
-                                '_excerpt'      => 'excerpt',
-                                '_created'      => 'created',
-                                '_title'        => 'title');
-        parent::__construct($dom);
-
-        // weblog object field
-        $this->_parseWeblog();
-
-        // filter fields
-        $this->_permalink = Zend_Service_Technorati_Utils::normalizeUriHttp($this->_permalink);
-        $this->_created = Zend_Service_Technorati_Utils::normalizeDate($this->_created);
-    }
-
-    /**
-     * Returns the weblog object that links queried URL.
-     *
-     * @return  Zend_Service_Technorati_Weblog
-     */
-    public function getWeblog() {
-        return $this->_weblog;
-    }
-
-    /**
-     * Returns the title of the entry.
-     *
-     * @return  string
-     */
-    public function getTitle() {
-        return $this->_title;
-    }
-
-    /**
-     * Returns the blurb from entry with search term highlighted.
-     *
-     * @return  string
-     */
-    public function getExcerpt() {
-        return $this->_excerpt;
-    }
-
-    /**
-     * Returns the datetime the entry was created.
-     *
-     * @return  Zend_Date
-     */
-    public function getCreated() {
-        return $this->_created;
-    }
-
-    /**
-     * Returns the permalink of the blog entry.
-     *
-     * @return  Zend_Uri_Http
-     */
-    public function getPermalink() {
-        return $this->_permalink;
-    }
-
-}

+ 0 - 79
library/Zend/Service/Technorati/SearchResultSet.php

@@ -1,79 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_ResultSet
- */
-require_once 'Zend/Service/Technorati/ResultSet.php';
-
-
-/**
- * Represents a Technorati Search query result set.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_SearchResultSet extends Zend_Service_Technorati_ResultSet
-{
-    /**
-     * Number of query results.
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_queryCount;
-
-    /**
-     * Parses the search response and retrieve the results for iteration.
-     *
-     * @param   DomDocument $dom    the ReST fragment for this object
-     * @param   array $options      query options as associative array
-     */
-    public function __construct(DomDocument $dom, $options = array())
-    {
-        parent::__construct($dom, $options);
-
-        $result = $this->_xpath->query('/tapi/document/result/querycount/text()');
-        if ($result->length == 1) $this->_queryCount = (int) $result->item(0)->data;
-
-        $this->_totalResultsReturned  = (int) $this->_xpath->evaluate("count(/tapi/document/item)");
-        $this->_totalResultsAvailable = (int) $this->_queryCount;
-    }
-
-    /**
-     * Implements Zend_Service_Technorati_ResultSet::current().
-     *
-     * @return Zend_Service_Technorati_SearchResult current result
-     */
-    public function current()
-    {
-        /**
-         * @see Zend_Service_Technorati_SearchResult
-         */
-        require_once 'Zend/Service/Technorati/SearchResult.php';
-        return new Zend_Service_Technorati_SearchResult($this->_results->item($this->_currentIndex));
-    }
-}

+ 0 - 171
library/Zend/Service/Technorati/TagResult.php

@@ -1,171 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Result
- */
-require_once 'Zend/Service/Technorati/Result.php';
-
-
-/**
- * Represents a single Technorati Tag query result object.
- * It is never returned as a standalone object,
- * but it always belongs to a valid Zend_Service_Technorati_TagResultSet object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_TagResult extends Zend_Service_Technorati_Result
-{
-    /**
-     * Technorati weblog object corresponding to queried keyword.
-     *
-     * @var     Zend_Service_Technorati_Weblog
-     * @access  protected
-     */
-    protected $_weblog;
-
-    /**
-     * The title of the entry.
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_title;
-
-    /**
-     * The blurb from entry with search term highlighted.
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_excerpt;
-
-    /**
-     * The datetime the entry was created.
-     *
-     * @var     Zend_Date
-     * @access  protected
-     */
-    protected $_created;
-
-    /**
-     * The datetime the entry was updated.
-     * Called 'postupdate' in original XML response,
-     * it has been renamed to provide more coherence.
-     *
-     * @var     Zend_Date
-     * @access  protected
-     */
-    protected $_updated;
-
-    /**
-     * The permalink of the blog entry.
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_permalink;
-
-
-    /**
-     * Constructs a new object object from DOM Element.
-     *
-     * @param   DomElement $dom the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $this->_fields = array( '_permalink'    => 'permalink',
-                                '_excerpt'      => 'excerpt',
-                                '_created'      => 'created',
-                                '_updated'      => 'postupdate',
-                                '_title'        => 'title');
-        parent::__construct($dom);
-
-        // weblog object field
-        $this->_parseWeblog();
-
-        // filter fields
-        $this->_permalink = Zend_Service_Technorati_Utils::normalizeUriHttp($this->_permalink);
-        $this->_created = Zend_Service_Technorati_Utils::normalizeDate($this->_created);
-        $this->_updated = Zend_Service_Technorati_Utils::normalizeDate($this->_updated);
-    }
-
-    /**
-     * Returns the weblog object that links queried URL.
-     *
-     * @return  Zend_Service_Technorati_Weblog
-     */
-    public function getWeblog() {
-        return $this->_weblog;
-    }
-
-    /**
-     * Returns the title of the entry.
-     *
-     * @return  string
-     */
-    public function getTitle() {
-        return $this->_title;
-    }
-
-    /**
-     * Returns the blurb from entry with search term highlighted.
-     *
-     * @return  string
-     */
-    public function getExcerpt() {
-        return $this->_excerpt;
-    }
-
-    /**
-     * Returns the datetime the entry was created.
-     *
-     * @return  Zend_Date
-     */
-    public function getCreated() {
-        return $this->_created;
-    }
-
-    /**
-     * Returns the datetime the entry was updated.
-     *
-     * @return  Zend_Date
-     */
-    public function getUpdated() {
-        return $this->_updated;
-    }
-
-    /**
-     * Returns the permalink of the blog entry.
-     *
-     * @return  Zend_Uri_Http
-     */
-    public function getPermalink() {
-        return $this->_permalink;
-    }
-
-}

+ 0 - 110
library/Zend/Service/Technorati/TagResultSet.php

@@ -1,110 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_ResultSet
- */
-require_once 'Zend/Service/Technorati/ResultSet.php';
-
-
-/**
- * Represents a Technorati Tag query result set.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_TagResultSet extends Zend_Service_Technorati_ResultSet
-{
-    /**
-     * Number of posts that match the tag.
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_postsMatched;
-
-    /**
-     * Number of blogs that match the tag.
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_blogsMatched;
-
-    /**
-     * Parses the search response and retrieve the results for iteration.
-     *
-     * @param   DomDocument $dom    the ReST fragment for this object
-     * @param   array $options      query options as associative array
-     */
-    public function __construct(DomDocument $dom, $options = array())
-    {
-        parent::__construct($dom, $options);
-
-        $result = $this->_xpath->query('/tapi/document/result/postsmatched/text()');
-        if ($result->length == 1) $this->_postsMatched = (int) $result->item(0)->data;
-
-        $result = $this->_xpath->query('/tapi/document/result/blogsmatched/text()');
-        if ($result->length == 1) $this->_blogsMatched = (int) $result->item(0)->data;
-
-        $this->_totalResultsReturned  = (int) $this->_xpath->evaluate("count(/tapi/document/item)");
-        /** @todo Validate the following assertion */
-        $this->_totalResultsAvailable = (int) $this->getPostsMatched();
-    }
-
-
-    /**
-     * Returns the number of posts that match the tag.
-     *
-     * @return  int
-     */
-    public function getPostsMatched() {
-        return $this->_postsMatched;
-    }
-
-    /**
-     * Returns the number of blogs that match the tag.
-     *
-     * @return  int
-     */
-    public function getBlogsMatched() {
-        return $this->_blogsMatched;
-    }
-
-    /**
-     * Implements Zend_Service_Technorati_ResultSet::current().
-     *
-     * @return Zend_Service_Technorati_TagResult current result
-     */
-    public function current()
-    {
-        /**
-         * @see Zend_Service_Technorati_TagResult
-         */
-        require_once 'Zend/Service/Technorati/TagResult.php';
-        return new Zend_Service_Technorati_TagResult($this->_results->item($this->_currentIndex));
-    }
-}

+ 0 - 93
library/Zend/Service/Technorati/TagsResult.php

@@ -1,93 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Result
- */
-require_once 'Zend/Service/Technorati/Result.php';
-
-
-/**
- * Represents a single Technorati TopTags or BlogPostTags query result object.
- * It is never returned as a standalone object,
- * but it always belongs to a valid Zend_Service_Technorati_TagsResultSet object.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_TagsResult extends Zend_Service_Technorati_Result
-{
-    /**
-     * Name of the tag.
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_tag;
-
-    /**
-     * Number of posts containing this tag.
-     *
-     * @var     int
-     * @access  protected
-     */
-    protected $_posts;
-
-
-    /**
-     * Constructs a new object object from DOM Document.
-     *
-     * @param   DomElement $dom the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $this->_fields = array( '_tag'   => 'tag',
-                                '_posts' => 'posts');
-        parent::__construct($dom);
-
-        // filter fields
-        $this->_tag   = (string) $this->_tag;
-        $this->_posts = (int) $this->_posts;
-    }
-
-    /**
-     * Returns the tag name.
-     *
-     * @return  string
-     */
-    public function getTag() {
-        return $this->_tag;
-    }
-
-    /**
-     * Returns the number of posts.
-     *
-     * @return  int
-     */
-    public function getPosts() {
-        return $this->_posts;
-    }
-}

+ 0 - 67
library/Zend/Service/Technorati/TagsResultSet.php

@@ -1,67 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_ResultSet
- */
-require_once 'Zend/Service/Technorati/ResultSet.php';
-
-
-/**
- * Represents a Technorati TopTags or BlogPostTags queries result set.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_TagsResultSet extends Zend_Service_Technorati_ResultSet
-{
-    /**
-     * Constructs a new object object from DOM Document.
-     *
-     * @param   DomDocument $dom the ReST fragment for this object
-     */
-    public function __construct(DomDocument $dom, $options = array())
-    {
-        parent::__construct($dom, $options);
-
-        $this->_totalResultsReturned  = (int) $this->_xpath->evaluate("count(/tapi/document/item)");
-        $this->_totalResultsAvailable = (int) $this->_totalResultsReturned;
-    }
-
-    /**
-     * Implements Zend_Service_Technorati_ResultSet::current().
-     *
-     * @return Zend_Service_Technorati_TagsResult current result
-     */
-    public function current()
-    {
-        /**
-         * @see Zend_Service_Technorati_TagsResult
-         */
-        require_once 'Zend/Service/Technorati/TagsResult.php';
-        return new Zend_Service_Technorati_TagsResult($this->_results->item($this->_currentIndex));
-    }
-}

+ 0 - 136
library/Zend/Service/Technorati/Utils.php

@@ -1,136 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Collection of utilities for various Zend_Service_Technorati classes.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_Utils
-{
-    /**
-     * Parses, validates and returns a valid Zend_Uri object
-     * from given $input.
-     *
-     * @param   string|Zend_Uri_Http $input
-     * @return  null|Zend_Uri_Http
-     * @throws  Zend_Service_Technorati_Exception
-     * @static
-     */
-    public static function normalizeUriHttp($input)
-    {
-        // allow null as value
-        if ($input === null) {
-            return null;
-        }
-
-        /**
-         * @see Zend_Uri
-         */
-        require_once 'Zend/Uri.php';
-        if ($input instanceof Zend_Uri_Http) {
-            $uri = $input;
-        } else {
-            try {
-                $uri = Zend_Uri::factory((string) $input);
-            }
-            // wrap exception under Zend_Service_Technorati_Exception object
-            catch (Exception $e) {
-                /**
-                 * @see Zend_Service_Technorati_Exception
-                 */
-                require_once 'Zend/Service/Technorati/Exception.php';
-                throw new Zend_Service_Technorati_Exception($e->getMessage(), 0, $e);
-            }
-        }
-
-        // allow inly Zend_Uri_Http objects or child classes
-        if (!($uri instanceof Zend_Uri_Http)) {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception(
-                "Invalid URL $uri, only HTTP(S) protocols can be used");
-        }
-
-        return $uri;
-    }
-    /**
-     * Parses, validates and returns a valid Zend_Date object
-     * from given $input.
-     *
-     * $input can be either a string, an integer or a Zend_Date object.
-     * If $input is string or int, it will be provided to Zend_Date as it is.
-     * If $input is a Zend_Date object, the object instance will be returned.
-     *
-     * @param   mixed|Zend_Date $input
-     * @return  null|Zend_Date
-     * @throws  Zend_Service_Technorati_Exception
-     * @static
-     */
-    public static function normalizeDate($input)
-    {
-        /**
-         * @see Zend_Date
-         */
-        require_once 'Zend/Date.php';
-        /**
-         * @see Zend_Locale
-         */
-        require_once 'Zend/Locale.php';
-
-        // allow null as value and return valid Zend_Date objects
-        if (($input === null) || ($input instanceof Zend_Date)) {
-            return $input;
-        }
-
-        // due to a BC break as of ZF 1.5 it's not safe to use Zend_Date::isDate() here
-        // see ZF-2524, ZF-2334
-        if (@strtotime($input) !== FALSE) {
-            return new Zend_Date($input);
-        } else {
-            /**
-             * @see Zend_Service_Technorati_Exception
-             */
-            require_once 'Zend/Service/Technorati/Exception.php';
-            throw new Zend_Service_Technorati_Exception("'$input' is not a valid Date/Time");
-        }
-    }
-
-    /**
-     * @todo public static function xpathQueryAndSet() {}
-     */
-
-    /**
-     * @todo public static function xpathQueryAndSetIf() {}
-     */
-
-    /**
-     * @todo public static function xpathQueryAndSetUnless() {}
-     */
-}

+ 0 - 486
library/Zend/Service/Technorati/Weblog.php

@@ -1,486 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * @see Zend_Service_Technorati_Author
- */
-require_once 'Zend/Service/Technorati/Author.php';
-
-/**
- * @see Zend_Service_Technorati_Utils
- */
-require_once 'Zend/Service/Technorati/Utils.php';
-
-
-/**
- * Represents a Weblog object successful recognized by Technorati.
- *
- * @category   Zend
- * @package    Zend_Service
- * @subpackage Technorati
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- */
-class Zend_Service_Technorati_Weblog
-{
-    /**
-     * Blog name as written in the feed.
-     *
-     * @var     string
-     * @access  protected
-     */
-    protected $_name;
-
-    /**
-     * Base blog URL.
-     *
-     * @var     Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_url;
-
-    /**
-     * RSS feed URL, if any.
-     *
-     * @var     null|Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_rssUrl;
-
-    /**
-     * Atom feed URL, if any.
-     *
-     * @var     null|Zend_Uri_Http
-     * @access  protected
-     */
-    protected $_atomUrl;
-
-    /**
-     * Number of unique blogs linking this blog.
-     *
-     * @var     integer
-     * @access  protected
-     */
-    protected $_inboundBlogs;
-
-    /**
-     * Number of incoming links to this blog.
-     *
-     * @var     integer
-     * @access  protected
-     */
-    protected $_inboundLinks;
-
-    /**
-     * Last blog update UNIX timestamp.
-     *
-     * @var     null|Zend_Date
-     * @access  protected
-     */
-    protected $_lastUpdate;
-
-    /**
-     * Technorati rank value for this weblog.
-     *
-     * Note. This property has no official documentation.
-     *
-     * @var     integer
-     * @access  protected
-     */
-    protected $_rank;
-
-    /**
-     * Blog latitude coordinate.
-     *
-     * Note. This property has no official documentation.
-     *
-     * @var     float
-     * @access  protected
-     */
-    protected $_lat;
-
-    /**
-     * Blog longitude coordinate.
-     *
-     * Note. This property has no official documentation.
-     *
-     * @var     float
-     * @access  protected
-     */
-    protected $_lon;
-
-    /**
-     * Whether the author who claimed this weblog has a photo.
-     *
-     * Note. This property has no official documentation.
-     *
-     * @var     bool
-     * @access  protected
-     * @see     Zend_Service_Technorati_Author::$thumbnailPicture
-     */
-    protected $_hasPhoto = false;
-
-    /**
-     * An array of Zend_Service_Technorati_Author who claimed this blog
-     *
-     * @var     array
-     * @access  protected
-     */
-    protected $_authors = array();
-
-
-    /**
-     * Constructs a new object from DOM Element.
-     *
-     * @param  DomElement $dom the ReST fragment for this object
-     */
-    public function __construct(DomElement $dom)
-    {
-        $xpath = new DOMXPath($dom->ownerDocument);
-
-        $result = $xpath->query('./name/text()', $dom);
-        if ($result->length == 1) $this->setName($result->item(0)->data);
-
-        $result = $xpath->query('./url/text()', $dom);
-        if ($result->length == 1) $this->setUrl($result->item(0)->data);
-
-        $result = $xpath->query('./inboundblogs/text()', $dom);
-        if ($result->length == 1) $this->setInboundBlogs($result->item(0)->data);
-
-        $result = $xpath->query('./inboundlinks/text()', $dom);
-        if ($result->length == 1) $this->setInboundLinks($result->item(0)->data);
-
-        $result = $xpath->query('./lastupdate/text()', $dom);
-        if ($result->length == 1) $this->setLastUpdate($result->item(0)->data);
-
-        /* The following elements need more attention */
-
-        $result = $xpath->query('./rssurl/text()', $dom);
-        if ($result->length == 1) $this->setRssUrl($result->item(0)->data);
-
-        $result = $xpath->query('./atomurl/text()', $dom);
-        if ($result->length == 1) $this->setAtomUrl($result->item(0)->data);
-
-        $result = $xpath->query('./author', $dom);
-        if ($result->length >= 1) {
-            foreach ($result as $author) {
-                $this->_authors[] = new Zend_Service_Technorati_Author($author);
-            }
-        }
-
-        /**
-         * The following are optional elements
-         *
-         * I can't find any official documentation about the following properties
-         * however they are included in response DTD and/or test responses.
-         */
-
-        $result = $xpath->query('./rank/text()', $dom);
-        if ($result->length == 1) $this->setRank($result->item(0)->data);
-
-        $result = $xpath->query('./lat/text()', $dom);
-        if ($result->length == 1) $this->setLat($result->item(0)->data);
-
-        $result = $xpath->query('./lon/text()', $dom);
-        if ($result->length == 1) $this->setLon($result->item(0)->data);
-
-        $result = $xpath->query('./hasphoto/text()', $dom);
-        if ($result->length == 1) $this->setHasPhoto($result->item(0)->data);
-    }
-
-
-    /**
-     * Returns weblog name.
-     *
-     * @return  string  Weblog name
-     */
-    public function getName()
-    {
-        return $this->_name;
-    }
-
-    /**
-     * Returns weblog URL.
-     *
-     * @return  null|Zend_Uri_Http object representing weblog base URL
-     */
-    public function getUrl()
-    {
-        return $this->_url;
-    }
-
-    /**
-     * Returns number of unique blogs linking this blog.
-     *
-     * @return  integer the number of inbound blogs
-     */
-    public function getInboundBlogs()
-    {
-        return $this->_inboundBlogs;
-    }
-
-    /**
-     * Returns number of incoming links to this blog.
-     *
-     * @return  integer the number of inbound links
-     */
-    public function getInboundLinks()
-    {
-        return $this->_inboundLinks;
-    }
-
-    /**
-     * Returns weblog Rss URL.
-     *
-     * @return  null|Zend_Uri_Http object representing the URL
-     *          of the RSS feed for given blog
-     */
-    public function getRssUrl()
-    {
-        return $this->_rssUrl;
-    }
-
-    /**
-     * Returns weblog Atom URL.
-     *
-     * @return  null|Zend_Uri_Http object representing the URL
-     *          of the Atom feed for given blog
-     */
-    public function getAtomUrl()
-    {
-        return $this->_atomUrl;
-    }
-
-    /**
-     * Returns UNIX timestamp of the last weblog update.
-     *
-     * @return  integer UNIX timestamp of the last weblog update
-     */
-    public function getLastUpdate()
-    {
-        return $this->_lastUpdate;
-    }
-
-    /**
-     * Returns weblog rank value.
-     *
-     * Note. This property is not documented.
-     *
-     * @return  integer weblog rank value
-     */
-    public function getRank()
-    {
-        return $this->_rank;
-    }
-
-    /**
-     * Returns weblog latitude coordinate.
-     *
-     * Note. This property is not documented.
-     *
-     * @return  float   weblog latitude coordinate
-     */
-    public function getLat() {
-        return $this->_lat;
-    }
-
-    /**
-     * Returns weblog longitude coordinate.
-     *
-     * Note. This property is not documented.
-     *
-     * @return  float   weblog longitude coordinate
-     */
-    public function getLon()
-    {
-        return $this->_lon;
-    }
-
-    /**
-     * Returns whether the author who claimed this weblog has a photo.
-     *
-     * Note. This property is not documented.
-     *
-     * @return  bool    TRUE if the author who claimed this weblog has a photo,
-     *                  FALSE otherwise.
-     */
-    public function hasPhoto()
-    {
-        return (bool) $this->_hasPhoto;
-    }
-
-    /**
-     * Returns the array of weblog authors.
-     *
-     * @return  array of Zend_Service_Technorati_Author authors
-     */
-    public function getAuthors()
-    {
-        return (array) $this->_authors;
-    }
-
-
-    /**
-     * Sets weblog name.
-     *
-     * @param   string $name
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     */
-    public function setName($name)
-    {
-        $this->_name = (string) $name;
-        return $this;
-    }
-
-    /**
-     * Sets weblog URL.
-     *
-     * @param   string|Zend_Uri_Http $url
-     * @return  void
-     * @throws  Zend_Service_Technorati_Exception if $input is an invalid URI
-     *          (via Zend_Service_Technorati_Utils::normalizeUriHttp)
-     */
-    public function setUrl($url)
-    {
-        $this->_url = Zend_Service_Technorati_Utils::normalizeUriHttp($url);
-        return $this;
-    }
-
-    /**
-     * Sets number of inbound blogs.
-     *
-     * @param   integer $number
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     */
-    public function setInboundBlogs($number)
-    {
-        $this->_inboundBlogs = (int) $number;
-        return $this;
-    }
-
-    /**
-     * Sets number of Iinbound links.
-     *
-     * @param   integer $number
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     */
-    public function setInboundLinks($number)
-    {
-        $this->_inboundLinks = (int) $number;
-        return $this;
-    }
-
-    /**
-     * Sets weblog Rss URL.
-     *
-     * @param   string|Zend_Uri_Http $url
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     * @throws  Zend_Service_Technorati_Exception if $input is an invalid URI
-     *          (via Zend_Service_Technorati_Utils::normalizeUriHttp)
-     */
-    public function setRssUrl($url)
-    {
-        $this->_rssUrl = Zend_Service_Technorati_Utils::normalizeUriHttp($url);
-        return $this;
-    }
-
-    /**
-     * Sets weblog Atom URL.
-     *
-     * @param   string|Zend_Uri_Http $url
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     * @throws  Zend_Service_Technorati_Exception if $input is an invalid URI
-     *          (via Zend_Service_Technorati_Utils::normalizeUriHttp)
-     */
-    public function setAtomUrl($url)
-    {
-        $this->_atomUrl = Zend_Service_Technorati_Utils::normalizeUriHttp($url);
-        return $this;
-    }
-
-    /**
-     * Sets weblog Last Update timestamp.
-     *
-     * $datetime can be any value supported by
-     * Zend_Service_Technorati_Utils::normalizeDate().
-     *
-     * @param   mixed $datetime A string representing the last update date time
-     *                          in a valid date time format
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     * @throws  Zend_Service_Technorati_Exception
-     */
-    public function setLastUpdate($datetime)
-    {
-        $this->_lastUpdate = Zend_Service_Technorati_Utils::normalizeDate($datetime);
-        return $this;
-    }
-
-    /**
-     * Sets weblog Rank.
-     *
-     * @param   integer $rank
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     */
-    public function setRank($rank)
-    {
-        $this->_rank = (int) $rank;
-        return $this;
-    }
-
-    /**
-     * Sets weblog latitude coordinate.
-     *
-     * @param   float $coordinate
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     */
-    public function setLat($coordinate)
-    {
-        $this->_lat = (float) $coordinate;
-        return $this;
-    }
-
-    /**
-     * Sets weblog longitude coordinate.
-     *
-     * @param   float $coordinate
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     */
-    public function setLon($coordinate)
-    {
-        $this->_lon = (float) $coordinate;
-        return $this;
-    }
-
-    /**
-     * Sets hasPhoto property.
-     *
-     * @param   bool $hasPhoto
-     * @return  Zend_Service_Technorati_Weblog $this instance
-     */
-    public function setHasPhoto($hasPhoto)
-    {
-        $this->_hasPhoto = (bool) $hasPhoto;
-        return $this;
-    }
-
-}

+ 0 - 2
tests/Zend/Service/AllTests.php

@@ -35,7 +35,6 @@ require_once 'Zend/Service/ReCaptcha/AllTests.php';
 require_once 'Zend/Service/ShortUrl/AllTests.php';
 require_once 'Zend/Service/SlideShareTest.php';
 require_once 'Zend/Service/StrikeIron/AllTests.php';
-require_once 'Zend/Service/Technorati/AllTests.php';
 require_once 'Zend/Service/Twitter/AllTests.php';
 require_once 'Zend/Service/WindowsAzure/AllTests.php';
 require_once 'Zend/Service/Yahoo/AllTests.php';
@@ -80,7 +79,6 @@ class Zend_Service_AllTests
         $suite->addTest(Zend_Service_ShortUrl_AllTests::suite());
         $suite->addTestSuite('Zend_Service_SlideShareTest');
         $suite->addTest(Zend_Service_StrikeIron_AllTests::suite());
-        $suite->addTest(Zend_Service_Technorati_AllTests::suite());
         $suite->addTest(Zend_Service_Twitter_AllTests::suite());
         $suite->addTest(Zend_Service_WindowsAzure_AllTests::suite());
         $suite->addTest(Zend_Service_Yahoo_AllTests::suite());

+ 0 - 94
tests/Zend/Service/Technorati/AllTests.php

@@ -1,94 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-if (!defined('PHPUnit_MAIN_METHOD')) {
-    define('PHPUnit_MAIN_METHOD', 'Zend_Service_Technorati_AllTests::main');
-}
-
-require_once 'Zend/Service/Technorati/TechnoratiTest.php';
-require_once 'Zend/Service/Technorati/ResultSetTest.php';
-require_once 'Zend/Service/Technorati/ResultTest.php';
-require_once 'Zend/Service/Technorati/AuthorTest.php';
-require_once 'Zend/Service/Technorati/WeblogTest.php';
-require_once 'Zend/Service/Technorati/BlogInfoResultTest.php';
-require_once 'Zend/Service/Technorati/GetInfoResultTest.php';
-require_once 'Zend/Service/Technorati/KeyInfoResultTest.php';
-require_once 'Zend/Service/Technorati/CosmosResultTest.php';
-require_once 'Zend/Service/Technorati/CosmosResultSetTest.php';
-require_once 'Zend/Service/Technorati/DailyCountsResultTest.php';
-require_once 'Zend/Service/Technorati/DailyCountsResultSetTest.php';
-require_once 'Zend/Service/Technorati/SearchResultTest.php';
-require_once 'Zend/Service/Technorati/SearchResultSetTest.php';
-require_once 'Zend/Service/Technorati/TagResultTest.php';
-require_once 'Zend/Service/Technorati/TagResultSetTest.php';
-require_once 'Zend/Service/Technorati/TagsResultTest.php';
-require_once 'Zend/Service/Technorati/TagsResultSetTest.php';
-require_once 'Zend/Service/Technorati/UtilsTest.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_AllTests
-{
-    public static function main()
-    {
-        PHPUnit_TextUI_TestRunner::run(self::suite());
-    }
-
-    public static function suite()
-    {
-        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Service_Technorati');
-
-        $suite->addTestSuite('Zend_Service_Technorati_TechnoratiTest');
-        $suite->addTestSuite('Zend_Service_Technorati_ResultSetTest');
-        $suite->addTestSuite('Zend_Service_Technorati_ResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_AuthorTest');
-        $suite->addTestSuite('Zend_Service_Technorati_WeblogTest');
-        $suite->addTestSuite('Zend_Service_Technorati_BlogInfoResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_GetInfoResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_KeyInfoResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_CosmosResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_CosmosResultSetTest');
-        $suite->addTestSuite('Zend_Service_Technorati_DailyCountsResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_DailyCountsResultSetTest');
-        $suite->addTestSuite('Zend_Service_Technorati_SearchResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_SearchResultSetTest');
-        $suite->addTestSuite('Zend_Service_Technorati_TagResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_TagResultSetTest');
-        $suite->addTestSuite('Zend_Service_Technorati_TagsResultTest');
-        $suite->addTestSuite('Zend_Service_Technorati_TagsResultSetTest');
-        $suite->addTestSuite('Zend_Service_Technorati_UtilsTest');
-
-        return $suite;
-    }
-}
-
-if (defined('PHPUnit_MAIN_METHOD') && (PHPUnit_MAIN_METHOD == 'Zend_Service_Technorati_AllTests::main')) {
-    Zend_Service_Technorati_AllTests::main();
-}

+ 0 - 138
tests/Zend/Service/Technorati/AuthorTest.php

@@ -1,138 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_Author
- */
-require_once 'Zend/Service/Technorati/Author.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_AuthorTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->domElement = self::getTestFileElementAsDom('TestAuthor.xml', '//author');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_Author', array($this->domElement));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_Author', 'DOMElement');
-    }
-
-    public function testAuthor()
-    {
-        $author = new Zend_Service_Technorati_Author($this->domElement);
-
-        $this->assertTrue(is_string($author->getFirstName()));
-        $this->assertEquals('Cesare', $author->getFirstName());
-
-        $this->assertTrue(is_string($author->getLastName()));
-        $this->assertEquals('Lamanna', $author->getLastName());
-
-        $this->assertTrue(is_string($author->getUsername()));
-        $this->assertEquals('cesarehtml', $author->getUsername());
-
-        $this->assertTrue(is_string($author->getDescription()));
-        $this->assertEquals('This is a description.', $author->getDescription());
-
-        $this->assertTrue(is_string($author->getFirstName()));
-        $this->assertEquals('This is a bio.', $author->getBio());
-
-        $this->assertTrue($author->getThumbnailPicture() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://static.technorati.com/progimages/photo.jpg?uid=117217'), $author->getThumbnailPicture());
-    }
-
-    public function testSetGet()
-    {
-        $author = new Zend_Service_Technorati_Author($this->domElement);
-
-        // check first name
-        $set = 'first';
-        $get = $author->setFirstName($set)->getFirstName();
-        $this->assertTrue(is_string($get));
-        $this->assertEquals($set, $get);
-
-        // check last name
-        $set = 'last';
-        $get = $author->setLastName($set)->getLastName();
-        $this->assertTrue(is_string($get));
-        $this->assertEquals($set, $get);
-
-        // check username
-        $set = 'user';
-        $get = $author->setUsername($set)->getUsername();
-        $this->assertTrue(is_string($get));
-        $this->assertEquals($set, $get);
-
-        // check description
-        $set = 'desc';
-        $get = $author->setUsername($set)->getUsername();
-        $this->assertTrue(is_string($get));
-        $this->assertEquals($set, $get);
-
-        // check bio
-        $set = 'biography';
-        $get = $author->setBio($set)->getBio();
-        $this->assertTrue(is_string($get));
-        $this->assertEquals($set, $get);
-
-        // check thubmnail picture
-
-        $set = Zend_Uri::factory('http://www.simonecarletti.com/');
-        $get = $author->setThumbnailPicture($set)->getThumbnailPicture();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals($set, $get);
-
-        $set = 'http://www.simonecarletti.com/';
-        $get = $author->setThumbnailPicture($set)->getThumbnailPicture();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory($set), $get);
-
-        $set = 'http:::/foo';
-        try {
-            $author->setThumbnailPicture($set);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch(Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid URI", $e->getMessage());
-        }
-    }
-}

+ 0 - 92
tests/Zend/Service/Technorati/BlogInfoResultTest.php

@@ -1,92 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_BlogInfoResult
- */
-require_once 'Zend/Service/Technorati/BlogInfoResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_BlogInfoResultTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestBlogInfoResult.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_BlogInfoResult', array($this->dom));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_BlogInfoResult', 'DOMDocument');
-    }
-
-    public function testBlogInfoResult()
-    {
-        $object = new Zend_Service_Technorati_BlogInfoResult($this->dom);
-
-        // check weblog
-        $weblog = $object->getWeblog();
-        $this->assertTrue($weblog instanceof Zend_Service_Technorati_Weblog);
-        $this->assertEquals('Simone Carletti\'s Blog', $weblog->getName());
-
-        // check url
-        $this->assertTrue($object->getUrl() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com/blog'), $object->getUrl());
-
-        // check inboundblogs
-        $this->assertTrue(is_int($object->getInboundBlogs()));
-        $this->assertEquals(86, $object->getInboundBlogs());
-
-        // check inboundlinks
-        $this->assertTrue(is_int($object->getInboundLinks()));
-        $this->assertEquals(114, $object->getInboundLinks());
-    }
-
-    public function testBlogInfoResultUrlWithInvalidSchemaEqualsToWeblogUrl()
-    {
-        $dom = self::getTestFileContentAsDom('TestBlogInfoResultUrlWithInvalidSchema.xml');
-        $object = new Zend_Service_Technorati_BlogInfoResult($dom);
-
-        // check url
-        $this->assertTrue($object->getUrl() instanceof Zend_Uri_Http);
-        $this->assertEquals($object->getWeblog()->getUrl(), $object->getUrl());
-    }
-}

+ 0 - 170
tests/Zend/Service/Technorati/CosmosResultSetTest.php

@@ -1,170 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_CosmosResultSet
- */
-require_once 'Zend/Service/Technorati/CosmosResultSet.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_CosmosResultSetTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestCosmosResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_CosmosResultSet', array($this->dom));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_CosmosResultSet', 'DOMDocument');
-    }
-
-    public function testCosmosResultSet()
-    {
-        $object = new Zend_Service_Technorati_CosmosResultSet($this->dom);
-
-        // check counts
-        $this->assertTrue(is_int($object->totalResults()));
-        $this->assertEquals(2, $object->totalResults());
-        $this->assertTrue(is_int($object->totalResultsAvailable()));
-        $this->assertEquals(278, $object->totalResultsAvailable());
-
-        // check properties
-        $this->assertTrue($object->getUrl() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com/blog'), $object->getUrl());
-        $this->assertTrue(is_int($object->getInboundLinks()));
-        $this->assertEquals(278, $object->getInboundLinks());
-
-        // check weblog
-        $this->assertTrue($object->getWeblog() instanceof Zend_Service_Technorati_Weblog);
-        $this->assertEquals('Simone Carletti\'s Blog', $object->getWeblog()->getName());
-    }
-
-    public function testCosmosResultSetItemsInstanceOfResult()
-    {
-        $this->_testResultSetItemsInstanceOfResult(
-                    'Zend_Service_Technorati_CosmosResultSet',
-                    array($this->dom),
-                    'Zend_Service_Technorati_CosmosResult');
-    }
-
-    public function testCosmosResultSetSerialization()
-    {
-        $this->_testResultSetSerialization(new Zend_Service_Technorati_CosmosResultSet($this->dom));
-    }
-
-    public function testCosmosResultSetSiteLink()
-    {
-        $dom = self::getTestFileContentAsDom('TestCosmosResultSetSiteLink.xml');
-        $object = new Zend_Service_Technorati_CosmosResultSet($dom);
-
-        $this->assertEquals(3, $object->totalResults());
-        $this->assertEquals(949, $object->totalResultsAvailable());
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com'), $object->getUrl());
-        $this->assertEquals(949, $object->getInboundLinks());
-    }
-
-    public function testCosmosResultSetSiteWeblog()
-    {
-        $dom = self::getTestFileContentAsDom('TestCosmosResultSetSiteWeblog.xml');
-        $object = new Zend_Service_Technorati_CosmosResultSet($dom);
-
-        $this->assertEquals(3, $object->totalResults());
-        $this->assertEquals(39, $object->totalResultsAvailable());
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com'), $object->getUrl());
-        $this->assertEquals(39, $object->getInboundBlogs());
-    }
-
-    public function testCosmosResultSetSiteWeblogWithMissingInboundblogs()
-    {
-        // I can't do nothing to fix this issue in charge of Technorati
-        // I only have to ensure the class doens't fail and $object->totalResultsAvailable == 0
-
-        $dom = self::getTestFileContentAsDom('TestCosmosResultSetSiteWeblogWithMissingInboundblogs.xml');
-        $object = new Zend_Service_Technorati_CosmosResultSet($dom);
-
-        $this->assertEquals(3, $object->totalResults());
-        $this->assertEquals(0, $object->totalResultsAvailable());
-        $this->assertEquals(null, $object->getInboundBlogs());
-    }
-
-    public function testCosmosResultSetSiteUrlWithInvalidSchema()
-    {
-        // FIXME
-        // Technorati allows 'url' parameter to be specified with or without www and/or schema.
-        // Technorati interface works well but returned responses may include invalid URIs.
-        // I have 2 possibility to fix the following issue:
-        // 1. using a default http schema when URL has an invalid one
-        // 2. force developers to provide a valid schema with 'url' parameter
-        // The second options is the best one because not only <url>
-        // but other tags are affected by this issue if you don't provide a valid schema
-
-        // $dom = self::getTestFileContentAsDom('TestCosmosResultSetSiteUrlWithInvalidSchema.xml');
-        // $object = new Zend_Service_Technorati_CosmosResultSet($dom);
-
-        // $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com'), $object->getUrl());
-    }
-
-    public function testCosmosResultSetBlogLink()
-    {
-        $dom = self::getTestFileContentAsDom('TestCosmosResultSetBlogLink.xml');
-        $object = new Zend_Service_Technorati_CosmosResultSet($dom);
-
-        $this->assertEquals(20, $object->totalResults());
-        $this->assertEquals(298, $object->totalResultsAvailable());
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com/blog'), $object->getUrl());
-        $this->assertEquals(298, $object->getInboundLinks());
-        $this->assertEquals('Simone Carletti\'s Blog', $object->getWeblog()->getName());
-    }
-
-    public function testCosmosResultSetBlogWeblog()
-    {
-        $dom = self::getTestFileContentAsDom('TestCosmosResultSetBlogWeblog.xml');
-        $object = new Zend_Service_Technorati_CosmosResultSet($dom);
-
-        $this->assertEquals(20, $object->totalResults());
-        $this->assertEquals(85, $object->totalResultsAvailable());
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com/blog'), $object->getUrl());
-        $this->assertEquals(85, $object->getInboundBlogs());
-        $this->assertEquals('Simone Carletti\'s Blog', $object->getWeblog()->getName());
-    }
-}

+ 0 - 129
tests/Zend/Service/Technorati/CosmosResultTest.php

@@ -1,129 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_CosmosResult
- */
-require_once 'Zend/Service/Technorati/CosmosResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_CosmosResultTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->domElements = self::getTestFileElementsAsDom('TestCosmosResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_CosmosResult', array($this->domElements->item(0)));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_CosmosResult', 'DOMElement');
-    }
-
-    public function testCosmosResultSerialization()
-    {
-        $this->_testResultSerialization(new Zend_Service_Technorati_CosmosResult($this->domElements->item(0)));
-    }
-
-    public function testCosmosResultSiteLink()
-    {
-        $domElements = self::getTestFileElementsAsDom('TestCosmosResultSetSiteLink.xml');
-        $object = new Zend_Service_Technorati_CosmosResult($domElements->item(0));
-
-        $this->assertTrue($object->getWeblog() instanceof Zend_Service_Technorati_Weblog);
-        $this->assertContains('Gioxx', $object->getWeblog()->getName());
-
-        $this->assertTrue($object->getNearestPermalink() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/'), $object->getNearestPermalink());
-
-        $this->assertTrue(is_string($object->getExcerpt()));
-        $this->assertContains('Ho intenzione di prendere il modello bianco', $object->getExcerpt());
-
-        $this->assertTrue($object->getLinkCreated() instanceof Zend_Date);
-        $this->assertEquals(new Zend_Date('2007-11-11 20:07:11 GMT'), $object->getLinkCreated());
-
-        $this->assertTrue($object->getLinkUrl() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php'), $object->getLinkUrl());
-
-        // test an other element to prevent cached values
-        $object = new Zend_Service_Technorati_CosmosResult($domElements->item(1));
-        $this->assertContains('Progetto-Seo', $object->getWeblog()->getName());
-        $this->assertEquals(Zend_Uri::factory('http://www.progetto-seo.com/motori-di-ricerca/links-interni'), $object->getNearestPermalink());
-        $this->assertContains('soprattutto Google', $object->getExcerpt());
-        $this->assertEquals(new Zend_Date('2007-11-10 08:57:22 GMT'), $object->getLinkCreated());
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php'), $object->getLinkUrl());
-    }
-
-    public function testCosmosResultSiteLinkNearestPermalinkIsNull()
-    {
-        $domElements = self::getTestFileElementsAsDom('TestCosmosResultSetSiteLink.xml');
-        $object = new Zend_Service_Technorati_CosmosResult($domElements->item(2));
-        $this->assertContains('Controrete', $object->getWeblog()->getName());
-        $this->assertNull($object->getNearestPermalink());
-    }
-
-    public function testCosmosResultSiteWeblog()
-    {
-        $domElements = self::getTestFileElementsAsDom('TestCosmosResultSetSiteWeblog.xml');
-        $object = new Zend_Service_Technorati_CosmosResult($domElements->item(0));
-
-        $this->assertTrue($object->getWeblog() instanceof Zend_Service_Technorati_Weblog);
-        $this->assertContains('Simone Carletti', $object->getWeblog()->getName());
-
-        $this->assertTrue($object->getLinkUrl() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com'), $object->getLinkUrl());
-
-        // test an other element to prevent cached values
-        $object = new Zend_Service_Technorati_CosmosResult($domElements->item(1));
-        $this->assertContains('Gioxx', $object->getWeblog()->getName());
-        $this->assertEquals(Zend_Uri::factory('http://www.simonecarletti.com'), $object->getLinkUrl());
-    }
-
-    public function testCosmosResultBlogLink()
-    {
-        // same as testSearchResultSiteLink
-    }
-
-    public function testCosmosResultBlogWeblog()
-    {
-        // same as testSearchResultSiteWeblog
-    }
-}

+ 0 - 88
tests/Zend/Service/Technorati/DailyCountsResultSetTest.php

@@ -1,88 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_DailyCountsResultSet
- */
-require_once 'Zend/Service/Technorati/DailyCountsResultSet.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_DailyCountsResultSetTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestDailyCountsResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_DailyCountsResultSet', array($this->dom));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_DailyCountsResultSet', 'DOMDocument');
-    }
-
-    public function testDailyCountsResultSet()
-    {
-        $object = new Zend_Service_Technorati_DailyCountsResultSet($this->dom);
-
-        // check counts
-        $this->assertTrue(is_int($object->totalResults()));
-        $this->assertEquals(5, $object->totalResults());
-        $this->assertTrue(is_int($object->totalResultsAvailable()));
-        $this->assertEquals(5, $object->totalResultsAvailable());
-
-        // check properties
-        $this->assertTrue($object->getSearchUrl() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://technorati.com/search/google'), $object->getSearchUrl());
-    }
-
-    public function testDailyCountsResultSetItemsInstanceOfResult()
-    {
-        $this->_testResultSetItemsInstanceOfResult(
-                    'Zend_Service_Technorati_DailyCountsResultSet',
-                    array($this->dom),
-                    'Zend_Service_Technorati_DailyCountsResult');
-    }
-
-    public function testDailyCountsResultSetSerialization()
-    {
-        $this->_testResultSetSerialization(new Zend_Service_Technorati_DailyCountsResultSet($this->dom));
-    }
-}

+ 0 - 76
tests/Zend/Service/Technorati/DailyCountsResultTest.php

@@ -1,76 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_DailyCountsResult
- */
-require_once 'Zend/Service/Technorati/DailyCountsResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_DailyCountsResultTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->domElements = self::getTestFileElementsAsDom('TestDailyCountsResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_CosmosResult', array($this->domElements->item(0)));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_DailyCountsResult', 'DOMElement');
-    }
-
-    public function testDailyCountsResult()
-    {
-        $object = new Zend_Service_Technorati_DailyCountsResult($this->domElements->item(1));
-
-        // check properties
-        $this->assertTrue($object->getDate() instanceof Zend_Date);
-        $this->assertEquals(new Zend_Date(strtotime('2007-11-13')), $object->getDate());
-        $this->assertTrue(is_int($object->getCount()));
-        $this->assertEquals(54414, $object->getCount());
-    }
-
-    public function testDailyCountsResultSerialization()
-    {
-        $this->_testResultSerialization(new Zend_Service_Technorati_DailyCountsResult($this->domElements->item(0)));
-    }
-}

+ 0 - 76
tests/Zend/Service/Technorati/GetInfoResultTest.php

@@ -1,76 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_GetInfoResult
- */
-require_once 'Zend/Service/Technorati/GetInfoResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_GetInfoResultTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestGetInfoResult.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_GetInfoResult', array($this->dom));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_GetInfoResult', 'DOMDocument');
-    }
-
-    public function testGetInfoResult()
-    {
-        $object = new Zend_Service_Technorati_GetInfoResult($this->dom);
-
-        // check author
-        $author = $object->getAuthor();
-        $this->assertTrue($author instanceof Zend_Service_Technorati_Author);
-        $this->assertEquals('weppos', $author->getUsername());
-
-        // check weblogs
-        $weblogs = $object->getWeblogs();
-        $this->assertTrue(is_array($weblogs));
-        $this->assertEquals(2, count($weblogs));
-        $this->assertTrue($weblogs[0] instanceof Zend_Service_Technorati_Weblog);
-    }
-}

+ 0 - 90
tests/Zend/Service/Technorati/KeyInfoResultTest.php

@@ -1,90 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_KeyInfoResult
- */
-require_once 'Zend/Service/Technorati/KeyInfoResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_KeyInfoResultTest extends Zend_Service_Technorati_TestCase
-{
-    const TEST_API_KEY = 'avalidapikey';
-
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestKeyInfoResult.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_KeyInfoResult', array($this->dom, self::TEST_API_KEY));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_KeyInfoResult', 'DOMDocument');
-    }
-
-    public function testKeyInfoResult()
-    {
-        $object = new Zend_Service_Technorati_KeyInfoResult($this->dom, self::TEST_API_KEY);
-
-        $this->assertTrue(is_string($object->getApiKey()));
-        $this->assertEquals(self::TEST_API_KEY, $object->getApiKey());
-        $this->assertTrue(is_int($object->getApiQueries()));
-        $this->assertEquals(27, $object->getApiQueries());
-        $this->assertTrue(is_int($object->getMaxQueries()));
-        $this->assertEquals(1500, $object->getMaxQueries());
-    }
-
-    public function testApiKeyIsNullByDefault()
-    {
-        $object = new Zend_Service_Technorati_KeyInfoResult($this->dom);
-        $this->assertEquals(null, $object->getApiKey());
-    }
-
-    public function testSetGet()
-    {
-        $object = new Zend_Service_Technorati_KeyInfoResult($this->dom, self::TEST_API_KEY);
-
-        $set = 'anewapikey';
-        $get = $object->setApiKey($set)->getApiKey();
-        $this->assertTrue(is_string($get));
-        $this->assertEquals($set, $get);
-    }
-}

+ 0 - 131
tests/Zend/Service/Technorati/ResultSetTest.php

@@ -1,131 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_ResultSet
- */
-require_once 'Zend/Service/Technorati/ResultSet.php';
-
-/**
- * @see Zend_Service_Technorati_SearchResultSet
- */
-require_once 'Zend/Service/Technorati/SearchResultSet.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_ResultSetTest extends Zend_Service_Technorati_TestCase
-{
-    /**
-     * Even if Zend_Service_Technorati_ResultSet is an abstract class
-     * it's useful to check whether it correctly implements
-     * SeekableIterator interface as requested.
-     *
-     * Any *ResultSet class should be a child of ResultSet
-     * thus it's safe to test basic methods on such child class.
-     */
-    public function setUp()
-    {
-        $this->ref = new ReflectionClass('Zend_Service_Technorati_ResultSet');
-        $this->dom = self::getTestFileContentAsDom('TestSearchResultSet.xml');
-        $this->object = new Zend_Service_Technorati_SearchResultSet($this->dom);
-        $this->objectRef = new ReflectionObject($this->object);
-    }
-
-    public function testResultSetIsAbstract()
-    {
-        $this->assertTrue($this->ref->isAbstract());
-    }
-
-    public function testResultSetImplementsSeekableIteratorInterface()
-    {
-        $this->assertTrue($this->ref->isIterateable());
-    }
-
-    /**
-     * Security check
-     */
-    public function testResultSetIsParentOfThisObjectClass()
-    {
-        $this->assertTrue($this->objectRef->isSubclassOf($this->ref));
-    }
-
-
-    public function testResultSetSeek()
-    {
-        $this->assertEquals(0, $this->object->key());
-        $this->object->seek(2);
-        $this->assertEquals(2, $this->object->key());
-    }
-
-    public function testResultSetSeekThrowsOutOfBoundsExceptionWithInvalidIndex()
-    {
-        try {
-            $this->object->seek(1000);
-            $this->fail('Expected OutOfBoundsException not thrown');
-        } catch (OutOfBoundsException $e) {
-            $this->assertContains('Illegal index', $e->getMessage());
-        }
-    }
-
-    public function testResultSetKey()
-    {
-        $this->assertEquals(0, $this->object->key());
-        $this->object->seek(2);
-        $this->assertEquals(2, $this->object->key());
-        // don't move forward
-        $this->assertEquals(2, $this->object->key());
-    }
-
-    public function testResultSetNext()
-    {
-        $this->assertEquals(0, $this->object->key());
-        $this->object->next();
-        $this->assertEquals(1, $this->object->key());
-    }
-
-    public function testResultSetRewind()
-    {
-        $this->assertEquals(0, $this->object->key());
-        $this->object->seek(2);
-        $this->assertTrue($this->object->rewind());
-        $this->assertEquals(0, $this->object->key());
-    }
-
-    public function testResultSetSerialization()
-    {
-        $this->_testResultSetSerialization($this->object);
-    }
-}

+ 0 - 80
tests/Zend/Service/Technorati/ResultTest.php

@@ -1,80 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_Result
- */
-require_once 'Zend/Service/Technorati/Result.php';
-
-/**
- * @see Zend_Service_Technorati_SearchResult
- */
-require_once 'Zend/Service/Technorati/SearchResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_ResultTest extends Zend_Service_Technorati_TestCase
-{
-    /**
-     * Any *Result class should be a child of Result
-     * thus it's safe to test basic methods on such child class.
-     */
-    public function setUp()
-    {
-        $this->ref = new ReflectionClass('Zend_Service_Technorati_Result');
-        $this->domElements = self::getTestFileElementsAsDom('TestSearchResultSet.xml');
-        $this->object = new Zend_Service_Technorati_SearchResult($this->domElements->item(0));
-        $this->objectRef = new ReflectionObject($this->object);
-    }
-
-    public function testResultIsAbstract()
-    {
-        $this->assertTrue($this->ref->isAbstract());
-    }
-
-    /**
-     * Security check
-     */
-    public function testResultIsParentOfThisObjectClass()
-    {
-        $this->assertTrue($this->objectRef->isSubclassOf($this->ref));
-    }
-
-    public function testResultSerialization()
-    {
-        $this->_testResultSerialization($this->object);
-    }
-}

+ 0 - 84
tests/Zend/Service/Technorati/SearchResultSetTest.php

@@ -1,84 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_SearchResultSet
- */
-require_once 'Zend/Service/Technorati/SearchResultSet.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_SearchResultSetTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestSearchResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_SearchResultSet', array($this->dom));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_SearchResultSet', 'DOMDocument');
-    }
-
-    public function testSearchResultSet()
-    {
-        $object = new Zend_Service_Technorati_SearchResultSet($this->dom);
-
-        // check counts
-        $this->assertTrue(is_int($object->totalResults()));
-        $this->assertEquals(3, $object->totalResults());
-        $this->assertTrue(is_int($object->totalResultsAvailable()));
-        $this->assertEquals(4298362, $object->totalResultsAvailable());
-    }
-
-    public function testSearchResultSetItemsInstanceOfResult()
-    {
-        $this->_testResultSetItemsInstanceOfResult(
-                    'Zend_Service_Technorati_SearchResultSet',
-                    array($this->dom),
-                    'Zend_Service_Technorati_SearchResult');
-    }
-
-    public function testSearchResultSetSerialization()
-    {
-        $this->_testResultSetSerialization(new Zend_Service_Technorati_SearchResultSet($this->dom));
-    }
-}

+ 0 - 91
tests/Zend/Service/Technorati/SearchResultTest.php

@@ -1,91 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_SearchResult
- */
-require_once 'Zend/Service/Technorati/SearchResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_SearchResultTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->domElements = self::getTestFileElementsAsDom('TestSearchResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_SearchResult', array($this->domElements->item(0)));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_SearchResult', 'DOMElement');
-    }
-
-    public function testSearchResult()
-    {
-        $object = new Zend_Service_Technorati_SearchResult($this->domElements->item(0));
-
-        // check properties
-        $this->assertTrue(is_string($object->getTitle()));
-        $this->assertContains('El SDK de Android', $object->getTitle());
-        $this->assertTrue(is_string($object->getExcerpt()));
-        $this->assertContains('[ Android]', $object->getExcerpt());
-        $this->assertTrue($object->getPermalink() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri_Http::factory('http://blogs.eurielec.etsit.upm.es/miotroblog/?p=271'), $object->getPermalink());
-        $this->assertTrue($object->getCreated() instanceof Zend_Date);
-        $this->assertEquals(new Zend_Date('2007-11-14 22:18:04 GMT'), $object->getCreated());
-
-        // check weblog
-        $this->assertTrue($object->getWeblog() instanceof Zend_Service_Technorati_Weblog);
-        $this->assertContains('Mi otro blog', $object->getWeblog()->getName());
-    }
-
-    public function testSearchResultSerialization()
-    {
-        $this->_testResultSerialization(new Zend_Service_Technorati_SearchResult($this->domElements->item(0)));
-    }
-
-    public function testSearchResultSpecialEncoding()
-    {
-        $object = new Zend_Service_Technorati_SearchResult($this->domElements->item(1));
-
-        $this->assertContains('質の超濃い読者をどかんと5000件集めます', $object->getTitle());
-    }
-}

+ 0 - 90
tests/Zend/Service/Technorati/TagResultSetTest.php

@@ -1,90 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_TagResultSet
- */
-require_once 'Zend/Service/Technorati/TagResultSet.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_TagResultSetTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestTagResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_TagResultSet', array($this->dom));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_TagResultSet', 'DOMDocument');
-    }
-
-    public function testTagResultSet()
-    {
-        $object = new Zend_Service_Technorati_TagResultSet($this->dom);
-
-        // check counts
-        $this->assertTrue(is_int($object->totalResults()));
-        $this->assertEquals(3, $object->totalResults());
-        $this->assertTrue(is_int($object->totalResultsAvailable()));
-        $this->assertEquals(268877, $object->totalResultsAvailable());
-
-        // check properties
-        $this->assertTrue(is_int($object->getPostsMatched()));
-        $this->assertEquals(268877, $object->getPostsMatched());
-        $this->assertTrue(is_int($object->getBlogsMatched()));
-        $this->assertEquals(1812, $object->getBlogsMatched());
-    }
-
-    public function testTagResultSetItemsInstanceOfResult()
-    {
-        $this->_testResultSetItemsInstanceOfResult(
-                    'Zend_Service_Technorati_TagResultSet',
-                    array($this->dom),
-                    'Zend_Service_Technorati_TagResult');
-    }
-
-    public function testTagResultSetSerialization()
-    {
-        $this->_testResultSetSerialization(new Zend_Service_Technorati_TagResultSet($this->dom));
-    }
-}

+ 0 - 86
tests/Zend/Service/Technorati/TagResultTest.php

@@ -1,86 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_TagsResult
- */
-require_once 'Zend/Service/Technorati/TagResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_TagResultTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->domElements = self::getTestFileElementsAsDom('TestTagResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_TagResult', array($this->domElements->item(0)));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_TagResult', 'DOMElement');
-    }
-
-    public function testTagResult()
-    {
-        $object = new Zend_Service_Technorati_TagResult($this->domElements->item(1));
-
-        // check properties
-        $this->assertTrue(is_string($object->getTitle()));
-        $this->assertContains('Permalink for : VerveEarth', $object->getTitle());
-        $this->assertTrue(is_string($object->getExcerpt()));
-        $this->assertContains('VerveEarth: Locate Your Blog!', $object->getExcerpt());
-        $this->assertTrue($object->getPermalink() instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory('http://scienceroll.com/2007/11/14/verveearth-locate-your-blog/'), $object->getPermalink());
-        $this->assertTrue($object->getCreated() instanceof Zend_Date);
-        $this->assertEquals(new Zend_Date('2007-11-14 21:52:11'), $object->getCreated());
-        $this->assertTrue($object->getUpdated() instanceof Zend_Date);
-        $this->assertEquals(new Zend_Date('2007-11-14 21:57:59'), $object->getUpdated());
-
-        // check weblog
-        $this->assertTrue($object->getWeblog() instanceof Zend_Service_Technorati_Weblog);
-        $this->assertEquals(' ScienceRoll', $object->getWeblog()->getName());
-    }
-
-    public function testTagResultSerialization()
-    {
-        $this->_testResultSerialization(new Zend_Service_Technorati_TagResult($this->domElements->item(0)));
-    }
-}

+ 0 - 85
tests/Zend/Service/Technorati/TagsResultSetTest.php

@@ -1,85 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_TagsResultSet
- */
-require_once 'Zend/Service/Technorati/TagsResultSet.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_TagsResultSetTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->dom = self::getTestFileContentAsDom('TestTagsResultSet.xml');
-        $this->object = new Zend_Service_Technorati_TagsResultSet($this->dom);
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_TagsResultSet', array($this->dom));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_TagsResultSet', 'DOMDocument');
-    }
-
-    public function testTagsResultSet()
-    {
-        $object = new Zend_Service_Technorati_TagsResultSet($this->dom);
-
-        // check counts
-        $this->assertTrue(is_int($object->totalResults()));
-        $this->assertEquals(3, $object->totalResults());
-        $this->assertTrue(is_int($object->totalResultsAvailable()));
-        $this->assertEquals(3, $object->totalResultsAvailable());
-    }
-
-    public function testTagsResultSetItemsInstanceOfResult()
-    {
-        $this->_testResultSetItemsInstanceOfResult(
-                    'Zend_Service_Technorati_TagsResultSet',
-                    array($this->dom),
-                    'Zend_Service_Technorati_TagsResult');
-    }
-
-    public function testTagsResultSetSerialization()
-    {
-        $this->_testResultSetSerialization(new Zend_Service_Technorati_TagsResultSet($this->dom));
-    }
-}

+ 0 - 83
tests/Zend/Service/Technorati/TagsResultTest.php

@@ -1,83 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_TagsResult
- */
-require_once 'Zend/Service/Technorati/TagsResult.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_TagsResultTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->domElements = self::getTestFileElementsAsDom('TestTagsResultSet.xml');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_TagsResult', array($this->domElements->item(0)));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_TagsResult', 'DOMElement');
-    }
-
-    public function testTagsResult()
-    {
-        $object = new Zend_Service_Technorati_TagsResult($this->domElements->item(2));
-
-        // check properties
-        $this->assertTrue(is_string($object->getTag()));
-        $this->assertEquals('Weblog', $object->getTag());
-        $this->assertTrue(is_int($object->getPosts()));
-        $this->assertEquals(8336350, $object->getPosts());
-    }
-
-    public function testTagsResultSerialization()
-    {
-        $this->_testResultSerialization(new Zend_Service_Technorati_TagsResult($this->domElements->item(0)));
-    }
-
-    public function testTagsResultSpecialEncoding()
-    {
-        $object = new Zend_Service_Technorati_TagsResult($this->domElements->item(0));
-        $this->assertEquals('練習用', $object->getTag());
-        $this->assertEquals(19655999, $object->getPosts());
-    }
-}

+ 0 - 638
tests/Zend/Service/Technorati/TechnoratiTest.php

@@ -1,638 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_TechnoratiTest extends Zend_Service_Technorati_TestCase
-{
-    const TEST_APY_KEY = 'somevalidapikey';
-    const TEST_PARAM_COSMOS = 'http://www.simonecarletti.com/blog/';
-    const TEST_PARAM_SEARCH = 'google';
-    const TEST_PARAM_TAG = 'google';
-    const TEST_PARAM_DAILYCOUNT = 'google';
-    const TEST_PARAM_GETINFO = 'weppos';
-    const TEST_PARAM_BLOGINFO = 'http://www.simonecarletti.com/blog/';
-    const TEST_PARAM_BLOGPOSTTAGS = 'http://www.simonecarletti.com/blog/';
-
-    public function setUp()
-    {
-        /**
-         * @see Zend_Http_Client_Adapter_Test
-         */
-        require_once 'Zend/Http/Client/Adapter/Test.php';
-        $adapter = new Zend_Http_Client_Adapter_Test();
-
-        /**
-         * @see Zend_Http_Client
-         */
-        require_once 'Zend/Http/Client.php';
-        $client = new Zend_Http_Client(Zend_Service_Technorati::API_URI_BASE, array(
-            'adapter' => $adapter
-        ));
-
-        $this->technorati = new Zend_Service_Technorati(self::TEST_APY_KEY);
-        $this->adapter = $adapter;
-        $this->technorati->getRestClient()->setHttpClient($client);
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati', array(self::TEST_APY_KEY));
-    }
-
-    public function testApiKeyMatches()
-    {
-        $object = $this->technorati;
-        $this->assertEquals(self::TEST_APY_KEY, $object->getApiKey());
-    }
-
-    public function testSetGetApiKey()
-    {
-        $object = $this->technorati;
-
-        $set = 'just a test';
-        $get = $object->setApiKey($set)->getApiKey();
-        $this->assertEquals($set, $get);
-    }
-
-    public function testCosmos()
-    {
-        $result = $this->_setResponseFromFile('TestCosmosSuccess.xml')->cosmos(self::TEST_PARAM_COSMOS);
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_CosmosResultSet);
-        $this->assertEquals(2, $result->totalResults());
-        $result->seek(0);
-        $this->assertTrue($result->current() instanceof Zend_Service_Technorati_CosmosResult);
-        // content is validated in Zend_Service_Technorati_CosmosResultSet tests
-    }
-
-    public function testCosmosThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestCosmosError.xml')->cosmos(self::TEST_PARAM_COSMOS);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid request: url is required", $e->getMessage());
-        }
-    }
-
-    public function testCosmosThrowsExceptionWithInvalidUrl()
-    {
-        // url is mandatory --> validated by PHP interpreter
-        // url must not be empty
-        $this->_testThrowsExceptionWithInvalidMandatoryOption('cosmos', 'url');
-    }
-
-    public function testCosmosThrowsExceptionWithInvalidOption()
-    {
-        $options = array(
-            array('type'      => 'foo'),
-            array('limit'     => 'foo'),
-            array('limit'     => 0),
-            array('limit'     => 101),
-            array('start'     => 0),
-            // 'current'    =>  // cast to int
-            // 'claim'      =>  // cast to int
-            // 'highlight'  =>  // cast to int
-        );
-        $this->_testThrowsExceptionWithInvalidOption($options, 'TestCosmosSuccess.xml', 'cosmos', array(self::TEST_PARAM_COSMOS));
-    }
-
-    public function testCosmosOption()
-    {
-        $options = array(
-            array('type'      => 'link'),
-            array('type'      => 'weblog'),
-            array('limit'     => 1),
-            array('limit'     => 50),
-            array('limit'     => 100),
-            array('start'     => 1),
-            array('start'     => 1000),
-            array('current'   => false),   // cast to int
-            array('current'   => 0),       // cast to int
-            array('claim'     => false),   // cast to int
-            array('claim'     => 0),       // cast to int
-            array('highlight' => false),   // cast to int
-            array('highlight' => 0),       // cast to int
-        );
-        $this->_testOption($options, 'TestCosmosSuccess.xml', 'cosmos', array(self::TEST_PARAM_COSMOS));
-    }
-
-    public function testSearch()
-    {
-        $result = $this->_setResponseFromFile('TestSearchSuccess.xml')->search(self::TEST_PARAM_SEARCH);
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_SearchResultSet);
-        $this->assertEquals(2, $result->totalResults());
-        $result->seek(0);
-        $this->assertTrue($result->current() instanceof Zend_Service_Technorati_SearchResult);
-        // content is validated in Zend_Service_Technorati_SearchResultSet tests
-    }
-
-    /**
-     * @see /_files/MISSING
-     *
-    public function testSearchThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestSearchError.xml')->cosmos(self::TEST_PARAM_COSMOS);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid request: url is required", $e->getMessage());
-        }
-    } */
-
-    public function testSearchThrowsExceptionWithInvalidQuery()
-    {
-        // query is mandatory --> validated by PHP interpreter
-        // query must not be empty
-        $this->_testThrowsExceptionWithInvalidMandatoryOption('search', 'query');
-    }
-
-    public function testSearchThrowsExceptionWithInvalidOption()
-    {
-        $options = array(
-            array('authority' => 'foo'),
-            array('limit'     => 'foo'),
-            array('limit'     => 0),
-            array('limit'     => 101),
-            array('start'     => 0),
-            // 'claim'      =>  // cast to int
-        );
-        $this->_testThrowsExceptionWithInvalidOption($options, 'TestSearchSuccess.xml', 'search', array(self::TEST_PARAM_SEARCH));
-    }
-
-    public function testSearchOption()
-    {
-        $options = array(
-            array('language'  => 'en'),    // not validated
-            array('authority' => 'n'),
-            array('authority' => 'a1'),
-            array('authority' => 'a4'),
-            array('authority' => 'a7'),
-            array('limit'     => 1),
-            array('limit'     => 50),
-            array('limit'     => 100),
-            array('start'     => 1),
-            array('start'     => 1000),
-            array('claim'     => false),   // cast to int
-            array('claim'     => 0),       // cast to int
-        );
-        $this->_testOption($options, 'TestSearchSuccess.xml', 'search', array(self::TEST_PARAM_SEARCH));
-    }
-
-    public function testTag()
-    {
-        $result = $this->_setResponseFromFile('TestTagSuccess.xml')->tag(self::TEST_PARAM_TAG);
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_TagResultSet);
-        $this->assertEquals(2, $result->totalResults());
-        $result->seek(0);
-        $this->assertTrue($result->current() instanceof Zend_Service_Technorati_TagResult);
-        // content is validated in Zend_Service_Technorati_TagResultSet tests
-    }
-
-    public function testTagThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestTagError.xml')->tag(self::TEST_PARAM_TAG);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid request.", $e->getMessage());
-        }
-    }
-
-    public function testTagThrowsExceptionWithInvalidTag()
-    {
-        // tag is mandatory --> validated by PHP interpreter
-        // tag must not be empty
-        $this->_testThrowsExceptionWithInvalidMandatoryOption('tag', 'tag');
-    }
-
-    public function testTagThrowsExceptionWithInvalidOption()
-    {
-        $options = array(
-            array('limit'     => 'foo'),
-            array('limit'     => 0),
-            array('limit'     => 101),
-            array('start'     => 0),
-            // 'excerptsize'    =>  // cast to int
-            // 'topexcerptsize' =>  // cast to int
-            );
-        $this->_testThrowsExceptionWithInvalidOption($options, 'TestTagSuccess.xml', 'tag', array(self::TEST_PARAM_TAG));
-    }
-
-    public function testTagOption()
-    {
-        $options = array(
-            array('excerptsize'     => 150),    // cast to int
-            array('excerptsize'     => '150'),  // cast to int
-            array('topexcerptsize'  => 150),    // cast to int
-            array('topexcerptsize'  => '150'),  // cast to int
-            array('limit'     => 1),
-            array('limit'     => 50),
-            array('limit'     => 100),
-            array('start'     => 1),
-            array('start'     => 1000),
-        );
-        $this->_testOption($options, 'TestTagSuccess.xml', 'tag', array(self::TEST_PARAM_TAG));
-    }
-
-    public function testDailyCounts()
-    {
-        $result = $this->_setResponseFromFile('TestDailyCountsSuccess.xml')->dailyCounts(self::TEST_PARAM_DAILYCOUNT);
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_DailyCountsResultSet);
-        $this->assertEquals(180, $result->totalResults());
-        $result->seek(0);
-        $this->assertTrue($result->current() instanceof Zend_Service_Technorati_DailyCountsResult);
-        // content is validated in Zend_Service_Technorati_DailyCountsResultSet tests
-    }
-
-    public function testDailyCountsThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestDailyCountsError.xml')->dailyCounts(self::TEST_PARAM_DAILYCOUNT);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Missing required parameter", $e->getMessage());
-        }
-    }
-
-    public function testDailyCountsThrowsExceptionWithInvalidQuery()
-    {
-        // q is mandatory --> validated by PHP interpreter
-        // q must not be empty
-        $this->_testThrowsExceptionWithInvalidMandatoryOption('dailyCounts', 'q');
-    }
-
-    public function testDailyCountsThrowsExceptionWithInvalidOption()
-    {
-        $options = array(
-            array('days' => 0),
-            array('days' => '0'),
-            array('days' => 181),
-            array('days' => '181'),
-            );
-        $this->_testThrowsExceptionWithInvalidOption($options, 'TestDailyCountsSuccess.xml', 'dailyCounts', array(self::TEST_PARAM_DAILYCOUNT));
-    }
-
-    public function testDailyCountsOption()
-    {
-        $options = array(
-            array('days' => 120),   // cast to int
-            array('days' => '120'), // cast to int
-            array('days' => 180),   // cast to int
-            array('days' => '180'), // cast to int
-            );
-        $this->_testOption($options, 'TestDailyCountsSuccess.xml', 'dailyCounts', array(self::TEST_PARAM_DAILYCOUNT));
-    }
-
-    public function testBlogInfo()
-    {
-        $result = $this->_setResponseFromFile('TestBlogInfoSuccess.xml')->blogInfo(self::TEST_PARAM_BLOGINFO);
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_BlogInfoResult);
-        // content is validated in Zend_Service_Technorati_BlogInfoResult tests
-    }
-
-    public function testBlogInfoThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestBlogInfoError.xml')->blogInfo(self::TEST_PARAM_BLOGINFO);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid request: url is required", $e->getMessage());
-        }
-    }
-
-    public function testBlogInfoThrowsExceptionWithInvalidUrl()
-    {
-        // url is mandatory --> validated by PHP interpreter
-        // url must not be empty
-        $this->_testThrowsExceptionWithInvalidMandatoryOption('blogInfo', 'url');
-    }
-
-    public function testBlogInfoThrowsExceptionWithUrlNotWeblog()
-    {
-        // emulate Technorati exception
-        // when URL is not a recognized weblog
-        try {
-            $this->_setResponseFromFile('TestBlogInfoErrorUrlNotWeblog.xml')->blogInfo('www.simonecarletti.com');
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Technorati weblog", $e->getMessage());
-        }
-    }
-
-    public function testBlogPostTags()
-    {
-        $result = $this->_setResponseFromFile('TestBlogPostTagsSuccess.xml')->blogPostTags(self::TEST_PARAM_BLOGPOSTTAGS);
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_TagsResultSet);
-        // content is validated in Zend_Service_Technorati_TagsResultSet tests
-    }
-
-    public function testBlogPostTagsThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestBlogPostTagsError.xml')->blogPostTags(self::TEST_PARAM_BLOGPOSTTAGS);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid request: url is required", $e->getMessage());
-        }
-    }
-
-    public function testBlogPostTagsThrowsExceptionWithInvalidUrl()
-    {
-        // url is mandatory --> validated by PHP interpreter
-        // url must not be empty
-        $this->_testThrowsExceptionWithInvalidMandatoryOption('blogPostTags', 'url');
-    }
-
-    public function testBlogPostTagsThrowsExceptionWithInvalidOption()
-    {
-        $options = array(
-            array('limit'     => 'foo'),
-            array('limit'     => 0),
-            array('limit'     => 101),
-            array('start'     => 0),
-        );
-        $this->_testThrowsExceptionWithInvalidOption($options, 'TestBlogPostTagsSuccess.xml', 'blogPostTags', array(self::TEST_PARAM_BLOGPOSTTAGS));
-    }
-
-    public function testBlogPostTagsOption()
-    {
-        $options = array(
-            array('limit'     => 1),
-            array('limit'     => 50),
-            array('limit'     => 100),
-            array('start'     => 1),
-            array('start'     => 1000),
-        );
-        $this->_testOption($options, 'TestBlogPostTagsSuccess.xml', 'blogPostTags', array(self::TEST_PARAM_BLOGPOSTTAGS));
-    }
-
-    public function testTopTags()
-    {
-        $result = $this->_setResponseFromFile('TestTopTagsSuccess.xml')->topTags();
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_TagsResultSet);
-        // content is validated in Zend_Service_Technorati_TagsResultSet tests
-    }
-
-    public function testTopTagsThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestTopTagsError.xml')->topTags();
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid key.", $e->getMessage());
-        }
-    }
-
-    public function testTopTagsThrowsExceptionWithInvalidOption()
-    {
-        $options = array(
-            array('limit'     => 'foo'),
-            array('limit'     => 0),
-            array('limit'     => 101),
-            array('start'     => 0),
-        );
-        $this->_testThrowsExceptionWithInvalidOption($options, 'TestTopTagsSuccess.xml', 'topTags');
-    }
-
-    public function testTopTagsOption()
-    {
-        $options = array(
-            array('limit'     => 1),
-            array('limit'     => 50),
-            array('limit'     => 100),
-            array('start'     => 1),
-            array('start'     => 1000),
-        );
-        $this->_testOption($options, 'TestTopTagsSuccess.xml', 'topTags');
-    }
-
-    public function testGetInfo()
-    {
-        $result = $this->_setResponseFromFile('TestGetInfoSuccess.xml')->getInfo(self::TEST_PARAM_GETINFO);
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_GetInfoResult);
-        // content is validated in Zend_Service_Technorati_GetInfoResult tests
-    }
-
-    public function testGetInfoThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestGetInfoError.xml')->getInfo(self::TEST_PARAM_GETINFO);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Username is a required field.", $e->getMessage());
-        }
-    }
-
-    public function testGetInfoThrowsExceptionWithInvalidUsername()
-    {
-        // username is mandatory --> validated by PHP interpreter
-        // username must not be empty
-        $this->_testThrowsExceptionWithInvalidMandatoryOption('getInfo', 'username');
-    }
-
-    public function testKeyInfo()
-    {
-        $result = $this->_setResponseFromFile('TestKeyInfoSuccess.xml')->keyInfo();
-
-        $this->assertTrue($result instanceof Zend_Service_Technorati_KeyInfoResult);
-        // content is validated in Zend_Service_Technorati_KeyInfoResult tests
-    }
-
-    public function testKeyInfoThrowsExceptionWithError()
-    {
-        try {
-            $this->_setResponseFromFile('TestKeyInfoError.xml')->keyInfo();
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid key.", $e->getMessage());
-        }
-    }
-
-    public function testAllThrowsExceptionWithInvalidOptionFormat()
-    {
-        $invalidFormatOption = array('format' => 'rss');
-        // format must be XML
-        $methods = array('cosmos'       => self::TEST_PARAM_COSMOS,
-                         'search'       => self::TEST_PARAM_SEARCH,
-                         'tag'          => self::TEST_PARAM_TAG,
-                         'dailyCounts'  => self::TEST_PARAM_DAILYCOUNT,
-                         'topTags'      => null,
-                         'blogInfo'     => self::TEST_PARAM_BLOGINFO,
-                         'blogPostTags' => self::TEST_PARAM_BLOGPOSTTAGS,
-                         'getInfo'      => self::TEST_PARAM_GETINFO);
-        $technorati = $this->technorati;
-
-        foreach ($methods as $method => $param) {
-            $options = array_merge((array) $param, array($invalidFormatOption));
-            try {
-                call_user_func_array(array($technorati, $method), $options);
-                $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-            } catch (Zend_Service_Technorati_Exception $e) {
-                $this->assertContains("'format'", $e->getMessage());
-            }
-        }
-    }
-
-    public function testAllThrowsExceptionWithUnknownOption()
-    {
-        $invalidOption = array('foo' => 'bar');
-        $methods = array('cosmos'       => self::TEST_PARAM_COSMOS,
-                         'search'       => self::TEST_PARAM_SEARCH,
-                         'tag'          => self::TEST_PARAM_TAG,
-                         'dailyCounts'  => self::TEST_PARAM_DAILYCOUNT,
-                         'topTags'      => null,
-                         'blogInfo'     => self::TEST_PARAM_BLOGINFO,
-                         'blogPostTags' => self::TEST_PARAM_BLOGPOSTTAGS,
-                         'getInfo'      => self::TEST_PARAM_GETINFO);
-
-        $technorati = $this->technorati;
-        foreach ($methods as $method => $param) {
-            $options = array_merge((array) $param, array($invalidOption));
-            try {
-                call_user_func_array(array($technorati, $method), $options);
-                $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-            } catch (Zend_Service_Technorati_Exception $e) {
-                $this->assertContains("'foo'", $e->getMessage());
-            }
-        }
-    }
-
-    /**
-     * Tests whether $callbackMethod method throws an Exception
-     * with Invalid Url.
-     *
-     * @param   string $callbackMethod
-     */
-    private function _testThrowsExceptionWithInvalidMandatoryOption($callbackMethod, $name)
-    {
-        try {
-            $this->technorati->$callbackMethod('');
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("'$name'", $e->getMessage());
-        }
-    }
-
-    /**
-     * Tests whether for each $validOptions a method call is successful.
-     *
-     * @param   array $validOptions
-     * @param   string $xmlFile
-     * @param   string $callbackMethod
-     * @param   null|array $callbackRequiredOptions
-     */
-    private function _testOption($validOptions, $xmlFile, $callbackMethod, $callbackRequiredOptions = null)
-    {
-        $technorati = $this->_setResponseFromFile($xmlFile);
-        foreach ($validOptions as $pair) {
-            list($option, $value) = each($pair);
-            $options = is_array($callbackRequiredOptions) ?
-                            array_merge($callbackRequiredOptions, array($pair)) :
-                            array($pair);
-
-            try {
-                call_user_func_array(array($technorati, $callbackMethod), $options);
-            } catch (Zend_Service_Technorati_Exception $e) {
-                $this->fail("Exception " . $e->getMessage() . " thrown " .
-                            "for option '$option' value '$value'");
-            }
-        }
-    }
-
-    /**
-     * Tests whether for each $validOptions a method call is successful.
-     *
-     * @param   array $invalidOptions
-     * @param   string $xmlFile
-     * @param   string $callbackMethod
-     * @param   null|array $callbackRequiredOptions
-     */
-    private function _testThrowsExceptionWithInvalidOption($invalidOptions, $xmlFile, $callbackMethod, $callbackRequiredOptions = null)
-    {
-        $technorati = $this->_setResponseFromFile($xmlFile);
-        foreach ($invalidOptions as $pair) {
-            list($option, $value) = each($pair);
-            $options = is_array($callbackRequiredOptions) ?
-                            array_merge($callbackRequiredOptions, array($pair)) :
-                            array($pair);
-
-            try {
-                call_user_func_array(array($technorati, $callbackMethod), $options);
-                $this->fail("Expected Zend_Service_Technorati_Exception not thrown " .
-                            "for option '$option' value '$value'");
-            } catch (Zend_Service_Technorati_Exception $e) {
-                $this->assertContains("'$option'", $e->getMessage());
-            }
-        }
-    }
-
-    /**
-     * Loads a response content from a test case file
-     * and sets the content to current Test Adapter.
-     *
-     * Returns current Zend_Service_Technorati instance
-     * to let developers use the powerful chain call.
-     *
-     * Do not execute any file validation. Please use this method carefully.
-     *
-     * @params  string $file
-     * @return  Zend_Service_Technorati
-     */
-    private function _setResponseFromFile($file)
-    {
-        $response = "HTTP/1.0 200 OK\r\n"
-                  . "Date: " . date(DATE_RFC1123) . "\r\n"
-                  . "Server: Apache\r\n"
-                  . "Cache-Control: max-age=60\r\n"
-                  . "Content-Type: text/xml; charset=UTF-8\r\n"
-                  . "X-Powered-By: PHP/5.2.1\r\n"
-                  . "Connection: close\r\n"
-                  . "\r\n"
-                  . file_get_contents(dirname(__FILE__) . '/_files/' . $file) ;
-
-        $this->adapter->setResponse($response);
-        return $this->technorati; // allow chain call
-     }
-}

+ 0 - 159
tests/Zend/Service/Technorati/TestCase.php

@@ -1,159 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Patch for default timezone in PHP >= 5.1.0
- */
-if (!ini_get('date.timezone')) {
-    date_default_timezone_set(@date_default_timezone_get());
-}
-
-/**
- * @see Zend_Service_Technorati
- */
-require_once 'Zend/Service/Technorati.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_TestCase extends PHPUnit_Framework_TestCase
-{
-    protected function _testConstruct($className, $args)
-    {
-        $reflection = new ReflectionClass($className);
-        try {
-            $object = $reflection->newInstanceArgs($args);
-            $this->assertTrue($object instanceof $className);
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->fail("Exception " . $e->getMessage() . " thrown");
-        }
-    }
-
-    protected function _testConstructThrowsExceptionWithInvalidDom($className, $match)
-    {
-        if (self::skipInvalidArgumentTypeTests()) {
-            $this->markTestIncomplete('Failure to meet type hint results in fatal error in PHP < 5.2.0');
-            return;
-        }
-
-        // This test is unnecessary. PHP type hinting is well tested, and will throw
-        // catchable fatal errors on invalid argument types. Do nothing here.
-    }
-
-    protected function _testResultSetItemsInstanceOfResult($resultSetClassName, $args, $resultClassName)
-    {
-        $reflection = new ReflectionClass($resultSetClassName);
-        $resultset = $reflection->newInstanceArgs($args);
-        foreach ($resultset as $result) {
-            $this->assertTrue($result instanceof $resultClassName);
-        }
-    }
-
-    protected function _testResultSetSerialization($resultSet)
-    {
-        $unobject = unserialize(serialize($resultSet));
-        $unresult = null;
-
-        $class = get_class($resultSet);
-        $this->assertTrue($unobject instanceof $class);
-
-        foreach ($resultSet as $index => $result) {
-            try {
-                $unobject->seek($index);
-                $unresult = $unobject->current();
-            } catch(OutOfBoundsException $e) {
-                $this->fail("Missing result index $index");
-            }
-            $this->assertEquals($result, $unresult);
-        }
-    }
-
-    protected function _testResultSerialization($result)
-    {
-        /**
-         * Both Result and ResultSet objects includes variables
-         * that references special objects such as DomDocuments.
-         *
-         * Unlike ResultSet(s), Result instances uses Dom fragments
-         * only to construct the instance itself, then both Dom and Xpath objects
-         * are no longer required.
-         *
-         * It means serializing a Result is not a painful job.
-         * We don't need to implement any __wakeup or _sleep function
-         * because PHP is able to create a perfect serialized snapshot
-         * of current object status.
-         *
-         * Thought this situation makes our life easier, it's not safe
-         * to assume things will not change in the future.
-         * Testing each object now against a serialization request
-         * makes this library more secure in the future!
-         */
-        $unresult = unserialize(serialize($result));
-
-        $class = get_class($result);
-        $this->assertTrue($unresult instanceof $class);
-        $this->assertEquals($result, $unresult);
-    }
-
-    public static function getTestFilePath($file)
-    {
-        return dirname(__FILE__) . '/_files/' . $file;
-    }
-
-    public static function getTestFileContentAsDom($file)
-    {
-        $dom = new DOMDocument();
-        $dom->load(self::getTestFilePath($file));
-        return $dom;
-    }
-
-    public static function getTestFileElementsAsDom($file, $exp = '//item')
-    {
-        $dom = self::getTestFileContentAsDom($file);
-        $xpath = new DOMXPath($dom);
-        return $xpath->query($exp);
-    }
-
-    public static function getTestFileElementAsDom($file, $exp = '//item', $item = 0)
-    {
-        $dom = self::getTestFileContentAsDom($file);
-        $xpath = new DOMXPath($dom);
-        $domElements = $xpath->query($exp);
-        return $domElements->item($item);
-    }
-
-    public static function skipInvalidArgumentTypeTests()
-    {
-        // PHP < 5.2.0 returns a fatal error
-        // instead of a catchable Exception (ZF-2334)
-        return version_compare(phpversion(), "5.2.0", "<");
-    }
-
-}

+ 0 - 102
tests/Zend/Service/Technorati/UtilsTest.php

@@ -1,102 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_Utils
- */
-require_once "Zend/Service/Technorati/Utils.php";
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_UtilsTest extends Zend_Service_Technorati_TestCase
-{
-    /**
-     * @return void
-     */
-    public function testSetUriHttpInputNullReturnsNull()
-    {
-        $this->assertNull(Zend_Service_Technorati_Utils::normalizeUriHttp(null));
-    }
-
-    /**
-     * @return void
-     */
-    public function testSetUriHttpInputInvalidSchemeFtpThrowsException()
-    {
-        $scheme             = 'ftp';
-        $inputInvalidScheme = "$scheme://example.com";
-        try {
-            Zend_Service_Technorati_Utils::normalizeUriHttp($inputInvalidScheme);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains($scheme, $e->getMessage());
-        }
-    }
-
-    /**
-     * @return void
-     */
-    public function testSetDateInputNullReturnsNull()
-    {
-        $this->assertNull(Zend_Service_Technorati_Utils::normalizeDate(null));
-    }
-
-    /**
-     * @return void
-     */
-    public function testSetDateInputDateInstanceReturnsInstance()
-    {
-        $date   = new Zend_Date('2007-11-11 08:47:26 GMT');
-        $result = Zend_Service_Technorati_Utils::normalizeDate($date);
-
-        $this->assertTrue($result instanceof Zend_Date);
-        $this->assertEquals($date, $result);
-    }
-
-    /**
-     * @return void
-     */
-    public function testSetDateInputInvalidThrowsException()
-    {
-        $inputInvalid = "2007foo";
-        try {
-            Zend_Service_Technorati_Utils::normalizeDate($inputInvalid);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch (Zend_Service_Technorati_Exception $e) {
-            $this->assertContains($inputInvalid, $e->getMessage());
-        }
-    }
-}

+ 0 - 277
tests/Zend/Service/Technorati/WeblogTest.php

@@ -1,277 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @version    $Id$
- */
-
-
-/**
- * Test helper
- */
-require_once dirname(__FILE__) . DIRECTORY_SEPARATOR .'TestCase.php';
-
-/**
- * @see Zend_Service_Technorati_Weblog
- */
-require_once 'Zend/Service/Technorati/Weblog.php';
-
-
-/**
- * @category   Zend
- * @package    Zend_Service_Technorati
- * @subpackage UnitTests
- * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license    http://framework.zend.com/license/new-bsd     New BSD License
- * @group      Zend_Service
- * @group      Zend_Service_Technorati
- */
-class Zend_Service_Technorati_WeblogTest extends Zend_Service_Technorati_TestCase
-{
-    public function setUp()
-    {
-        $this->domElement = self::getTestFileElementAsDom('TestWeblog.xml', '//weblog');
-    }
-
-    public function testConstruct()
-    {
-        $this->_testConstruct('Zend_Service_Technorati_Weblog', array($this->domElement));
-    }
-
-    public function testConstructThrowsExceptionWithInvalidDom()
-    {
-        $this->_testConstructThrowsExceptionWithInvalidDom('Zend_Service_Technorati_Weblog', 'DOMElement');
-    }
-
-    public function testWeblog()
-    {
-        $weblog = new Zend_Service_Technorati_Weblog($this->domElement);
-
-        // check name
-        $this->assertEquals('Roby Web World Italia', $weblog->getName());
-        // check URL
-        $this->assertEquals(Zend_Uri::factory('http://robyww.blogspot.com'), $weblog->getUrl());
-        // check Atom Url
-        $this->assertEquals(Zend_Uri::factory('http://robyww.blogspot.com/feeds/posts/atom'), $weblog->getAtomUrl());
-        // check RSS Url
-        $this->assertEquals(Zend_Uri::factory('http://robyww.blogspot.com/feeds/posts/rss'), $weblog->getRssUrl());
-        // check inbound blogs
-        $this->assertEquals(71, $weblog->getInboundBlogs());
-        // check inbound links
-        $this->assertEquals(103, $weblog->getInboundLinks());
-        // check last update
-        $this->assertEquals(new Zend_Date('2007-11-11 08:47:26 GMT'), $weblog->getLastUpdate());
-        // check rank
-        $this->assertEquals(93473, $weblog->getRank());
-        // check authors
-        $var = $weblog->getAuthors();
-        $this->assertTrue(is_array($var));
-        $this->assertEquals(1, sizeof($var));
-        // check photo
-        $this->assertEquals(false, $weblog->hasPhoto());
-        // check lat and lon
-        $this->assertNull($weblog->getLat());
-        $this->assertNull($weblog->getLon());
-    }
-
-    public function testWeblogWithTwoAuthors()
-    {
-        $domElement = self::getTestFileElementAsDom('TestWeblogTwoAuthors.xml', '//weblog');
-        $weblog = new Zend_Service_Technorati_Weblog($domElement);
-
-        $authors = $weblog->getAuthors();
-
-        // check whether $authors is an array with valid length
-        $this->assertTrue(is_array($authors));
-        $this->assertEquals(2, sizeof($authors));
-
-        // check first author
-        $author = $authors[0];
-        $this->assertTrue($author instanceof Zend_Service_Technorati_Author);
-        $this->assertEquals('rfilippini', $author->getUsername());
-
-        // check second author, be sure it's not the first one
-        $author = $authors[1];
-        $this->assertTrue($author instanceof Zend_Service_Technorati_Author);
-        $this->assertEquals('Rinzi', $author->getUsername());
-    }
-
-    public function testSetGet()
-    {
-        $weblog = new Zend_Service_Technorati_Weblog($this->domElement);
-
-        // check name
-        $set = 'foo';
-        $get = $weblog->setName($set)->getName();
-        $this->assertTrue(is_string($get));
-        $this->assertEquals($set, $get);
-
-        // check URL
-
-        $set = Zend_Uri::factory('http://www.simonecarletti.com/');
-        $get = $weblog->setUrl($set)->getUrl();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals($set, $get);
-
-        $set = 'http://www.simonecarletti.com/';
-        $get = $weblog->setUrl($set)->getUrl();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory($set), $get);
-
-        $set = 'http:::/foo';
-        try {
-            $weblog->setUrl($set);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch(Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid URI", $e->getMessage());
-        }
-
-        // check Atom URL
-
-        $set = Zend_Uri::factory('http://www.simonecarletti.com/');
-        $get = $weblog->setAtomUrl($set)->getAtomUrl();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals($set, $get);
-
-        $set = 'http://www.simonecarletti.com/';
-        $get = $weblog->setAtomUrl($set)->getAtomUrl();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory($set), $get);
-
-        $set = 'http:::/foo';
-        try {
-            $weblog->setAtomUrl($set);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch(Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid URI", $e->getMessage());
-        }
-
-        // check RSS Url
-
-        $set = Zend_Uri::factory('http://www.simonecarletti.com/');
-        $get = $weblog->setRssUrl($set)->getRssUrl();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals($set, $get);
-
-        $set = 'http://www.simonecarletti.com/';
-        $get = $weblog->setRssUrl($set)->getRssUrl();
-        $this->assertTrue($get instanceof Zend_Uri_Http);
-        $this->assertEquals(Zend_Uri::factory($set), $get);
-
-        $set = 'http:::/foo';
-        try {
-            $weblog->setRssUrl($set);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch(Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("Invalid URI", $e->getMessage());
-        }
-
-        // check inbound blogs
-
-        $set = rand();
-        $get = $weblog->setInboundBlogs($set)->getInboundBlogs();
-        $this->assertTrue(is_int($get));
-        $this->assertEquals($set, $get);
-
-        $set = (string) rand();
-        $get = $weblog->setInboundBlogs($set)->getInboundBlogs();
-        $this->assertTrue(is_int($get));
-        $this->assertEquals((int) $set, $get);
-
-        // check inbound links
-
-        $set = rand();
-        $get = $weblog->setInboundLinks($set)->getInboundLinks();
-        $this->assertTrue(is_int($get));
-        $this->assertEquals((int) $set, $get);
-
-        $set = (string) rand();
-        $get = $weblog->setInboundLinks($set)->getInboundLinks();
-        $this->assertTrue(is_int($get));
-        $this->assertEquals((int) $set, $get);
-
-        // last update
-
-        $set = '2007-11-11 08:47:26 GMT';
-        $get = $weblog->setLastUpdate($set)->getLastUpdate();
-        $this->assertTrue($get instanceof Zend_Date);
-        $this->assertEquals(new Zend_Date($set), $get);
-
-        /* not supported
-        $set = time();
-        $get = $weblog->setLastUpdate($set)->getLastUpdate();
-        $this->assertTrue(is_int($get));
-        $this->assertEquals($set, $get); */
-
-        $set = '200ty';
-        try {
-            $weblog->setLastUpdate($set);
-            $this->fail('Expected Zend_Service_Technorati_Exception not thrown');
-        } catch(Zend_Service_Technorati_Exception $e) {
-            $this->assertContains("valid Date/Time", $e->getMessage());
-        }
-
-        // check rank
-
-        $set = rand();
-        $get = $weblog->setRank($set)->getRank();
-        $this->assertTrue(is_int($get));
-        $this->assertEquals((int) $set, $get);
-
-        $set = (string) rand();
-        $get = $weblog->setRank($set)->getRank();
-        $this->assertTrue(is_int($get));
-        $this->assertEquals((int) $set, $get);
-
-        // check hasPhoto
-
-        $set = false;
-        $get = $weblog->setHasPhoto($set)->hasPhoto();
-        $this->assertTrue(is_bool($get));
-        $this->assertEquals($set, $get);
-
-        $set = 0;
-        $get = $weblog->setHasPhoto($set)->hasPhoto();
-        $this->assertTrue(is_bool($get));
-        $this->assertEquals((bool) $set, $get);
-
-        // check lat
-
-        $set = 1.3;
-        $get = $weblog->setLat($set)->getLat();
-        $this->assertTrue(is_float($get));
-        $this->assertEquals($set, $get);
-
-        $set = '1.3';
-        $get = $weblog->setLat($set)->getLat();
-        $this->assertTrue(is_float($get));
-        $this->assertEquals((float) $set, $get);
-
-        // check lon
-
-        $set = 1.3;
-        $get = $weblog->setLon($set)->getLon();
-        $this->assertTrue(is_float($get));
-        $this->assertEquals($set, $get);
-
-        $set = '1.3';
-        $get = $weblog->setLon($set)->getLon();
-        $this->assertTrue(is_float($get));
-        $this->assertEquals((float) $set, $get);
-    }
-}

+ 0 - 15
tests/Zend/Service/Technorati/_files/MISSING

@@ -1,15 +0,0 @@
-= Missing Cases =
-
-Unable to find an output for the following cases.
-Please, write me at weppos@weppos.net if you have one of the following XML responses.
-
-== Cosmos ==
-
- * Highligh = 1 returned an highlighted result within <excerpt> tag
- 
-== Search ==
-
- * `Search` error response cannot be created because due to a Technorati bug
-   any bad `Search` request returns an HTML response
- * Claim = 1 option doesn't work for the same (unknown) reason it failed
-   in `Cosmos` search

+ 0 - 14
tests/Zend/Service/Technorati/_files/TestAuthor.xml

@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Author XML fragment.
-    
--->
-<author>
-    <username>cesarehtml</username>
-    <firstname>Cesare</firstname>
-    <lastname>Lamanna</lastname>
-    <description>This is a description.</description>
-    <bio>This is a bio.</bio>
-    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=117217</thumbnailpicture>
-</author>

+ 0 - 12
tests/Zend/Service/Technorati/_files/TestAuthorNullFields.xml

@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Author XML fragment.
-    
--->
-<author>
-    <username>cesarehtml</username>
-    <firstname>Cesare</firstname>
-    <lastname>Lamanna</lastname>
-    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=117217</thumbnailpicture>
-</author>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestBlogInfoError.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a Bloginfo request
-    http://api.technorati.com/bloginfo?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /bloginfo" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Invalid request: url is required</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 19
tests/Zend/Service/Technorati/_files/TestBlogInfoErrorUrlNotWeblog.xml

@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Bloginfo request
-    http://api.technorati.com/bloginfo?key=VALID_API_KEY&url=www.simonecarletti.com
-    
-    The request has the following properties:
-     * url is a site, not a claimed blog
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>www.simonecarletti.com</url>
-        </result>
-    </document>
-</tapi>

+ 0 - 31
tests/Zend/Service/Technorati/_files/TestBlogInfoResult.xml

@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Bloginfo request
-    http://api.technorati.com/bloginfo?key=VALID_API_KEY&url=http://www.simonecarletti.com/blog
-    
-    The request has the following properties:
-     * url is a valid blog
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <rssurl/>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>86</inboundblogs>
-                <inboundlinks>114</inboundlinks>
-                <lastupdate>2007-11-14 21:06:36 GMT</lastupdate>
-                <rank>80591</rank>
-            </weblog>
-            <inboundblogs>86</inboundblogs>
-            <inboundlinks>114</inboundlinks>
-        </result>
-    </document>
-</tapi>

+ 0 - 32
tests/Zend/Service/Technorati/_files/TestBlogInfoResultUrlWithInvalidSchema.xml

@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Bloginfo request
-    http://api.technorati.com/bloginfo?key=VALID_API_KEY&url=www.simonecarletti.com/blog
-    
-    The request has the following properties:
-     * url is a valid blog
-     * url is missing a valid schema and might cause Zend_Uri_Http parser to fail
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <rssurl/>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>86</inboundblogs>
-                <inboundlinks>114</inboundlinks>
-                <lastupdate>2007-11-14 21:06:36 GMT</lastupdate>
-                <rank>80591</rank>
-            </weblog>
-            <inboundblogs>86</inboundblogs>
-            <inboundlinks>114</inboundlinks>
-        </result>
-    </document>
-</tapi>

+ 0 - 31
tests/Zend/Service/Technorati/_files/TestBlogInfoSuccess.xml

@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Bloginfo request
-    http://api.technorati.com/bloginfo?key=VALID_API_KEY&url=www.simonecarletti.com/blog
-    
-    The request has the following properties:
-     * url is a valid blog
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <rssurl/>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>86</inboundblogs>
-                <inboundlinks>114</inboundlinks>
-                <lastupdate>2007-11-14 21:06:36 GMT</lastupdate>
-                <rank>80591</rank>
-            </weblog>
-            <inboundblogs>86</inboundblogs>
-            <inboundlinks>114</inboundlinks>
-        </result>
-    </document>
-</tapi>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestBlogPostTagsError.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a Blogposttags request
-    http://api.technorati.com/blogposttags?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /bloginfo" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Invalid request: url is required</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 24
tests/Zend/Service/Technorati/_files/TestBlogPostTagsErrorUrlNotWeblog.xml

@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a Blogposttags request
-    http://api.technorati.com/blogposttags?key=VALID_API_KEY&url=www.simonecarletti.com
-    
-    The request has the following properties:
-     * url is a site, not a claimed blog
-    
-    Please note how this request is considered an error because `url`
-    is not a claimed blog.
-    The same request for `Bloginfo` simple returns the blog URL
-    and is not considered as an error.
-
--->
-<!-- generator="Technorati API version 1.0 " -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Your URL is not in our system </error>
-        </result>
-    </document>
-</tapi>

+ 0 - 103
tests/Zend/Service/Technorati/_files/TestBlogPostTagsSuccess.xml

@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Blogposttags request
-    http://api.technorati.com/blogposttags?key=VALID_API_KEY&url=www.simonecarletti.com/blog
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `item` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0 /blogposttags" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <querycount>20</querycount>
-        </result>
-        <item>
-            <tag>Google</tag>
-            <posts>102</posts>
-        </item>
-        <item>
-            <tag>software</tag>
-            <posts>50</posts>
-        </item>
-        <item>
-            <tag>Blogging</tag>
-            <posts>50</posts>
-        </item>
-        <item>
-            <tag>Blog</tag>
-            <posts>45</posts>
-        </item>
-        <item>
-            <tag>Internet</tag>
-            <posts>42</posts>
-        </item>
-        <item>
-            <tag>Motori di ricerca</tag>
-            <posts>41</posts>
-        </item>
-        <item>
-            <tag>SEO</tag>
-            <posts>39</posts>
-        </item>
-        <item>
-            <tag>software e strumenti</tag>
-            <posts>28</posts>
-        </item>
-        <item>
-            <tag>Microsoft</tag>
-            <posts>22</posts>
-        </item>
-        <item>
-            <tag>Syndication</tag>
-            <posts>21</posts>
-        </item>
-        <item>
-            <tag>feed</tag>
-            <posts>18</posts>
-        </item>
-        <item>
-            <tag>Strumenti</tag>
-            <posts>18</posts>
-        </item>
-        <item>
-            <tag>trucchi &amp; segreti</tag>
-            <posts>17</posts>
-        </item>
-        <item>
-            <tag>About This Blog</tag>
-            <posts>17</posts>
-        </item>
-        <item>
-            <tag>Lettori di Feed</tag>
-            <posts>16</posts>
-        </item>
-        <item>
-            <tag>feedburner</tag>
-            <posts>15</posts>
-        </item>
-        <item>
-            <tag>Relax</tag>
-            <posts>14</posts>
-        </item>
-        <item>
-            <tag>eventi e segnalazioni</tag>
-            <posts>13</posts>
-        </item>
-        <item>
-            <tag>PHP</tag>
-            <posts>12</posts>
-        </item>
-        <item>
-            <tag>Articoli</tag>
-            <posts>12</posts>
-        </item>
-    </document>
-</tapi>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestCosmosError.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /cosmos" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Invalid request: url is required</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 57
tests/Zend/Service/Technorati/_files/TestCosmosResultSet.xml

@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com/blog
-    
-    This is the most simple Cosmos request.
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>82</inboundblogs>
-                <inboundlinks>111</inboundlinks>
-                <lastupdate>2007-12-19 16:11:13 GMT</lastupdate>
-                <rank>85297</rank>
-            </weblog>
-            <inboundlinks>278</inboundlinks>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name>Sentieri Didattici del Veneto </name>
-                <url>http://sentierididattici.scuoleinrete.net/wpmu</url>
-                <rssurl>http://sentierididattici.scuoleinrete.net/wpmu/feed/</rssurl>
-                <inboundblogs>4</inboundblogs>
-                <inboundlinks>4</inboundlinks>
-                <lastupdate>2007-09-20 11:42:39 GMT</lastupdate>
-            </weblog>
-            <excerpt>Che cos'è un blog  Blog di Sergio Maistrello Il mestiere di scrivere ScuolaERSimone Carletti's BlogWikipedia</excerpt>
-            <linkcreated>2007-12-24 15:29:17 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2005/09/che_cose_un_blog.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Marco Cattaneo Weblog - Tecnologia e New Media; Innovazione, Informazione e Comunicazione Digitale </name>
-                <url>http://www.marcocattaneo.com</url>
-                <rssurl>http://www.marcocattaneo.com/feed/</rssurl>
-                <inboundblogs>39</inboundblogs>
-                <inboundlinks>73</inboundlinks>
-                <lastupdate>2007-12-22 10:00:14 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.marcocattaneo.com/2007/12/22/buon-natale-con-sentimento-e-spero-non-con-banalita/</nearestpermalink>
-            <excerpt>cultura, ricette, ricordi o piacevoli scorci di vita vissuta, regalo un link, che per me equivale ad un piccolo pensiero natalizio.Ringrazio quindi (in rigoroso ordine quasi sparso):  Tevac, Mac Blog, Macity, Lele, Paolo Valdemarin, Luca Mascaro,Simone Carletti, Ludo, Dario Salvelli, Kurai, Roberto, Nicola Mattina Blog, Alberto Mucignat, Alberto Nardelli, Andrea Beggi, Luca Pandemia Conti, Marco Camisani Calzolari, Robin Good, Maestrini, Alberto, Tiziano Fogliata</excerpt>
-            <linkcreated>2007-12-22 10:00:14 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-
-    </document>
-</tapi>

+ 0 - 303
tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogLink.xml

@@ -1,303 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com/blog&type=link
-    
-    The request has the following properties:
-     * url is blog
-     * type is weblog
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-                <rank>81766</rank>
-            </weblog>
-            <inboundlinks>298</inboundlinks>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-11 20:07:11 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <excerpt>Scegli il mese             PREFERITI     [IMG]   Seth Godin's Blog       [IMG]   John Battelle's Search Blog       [IMG]   Search Engine Land       [IMG]   SEM Blog (Marco Loguercio)       [IMG]Simone Carletti's Blog</excerpt>
-            <linkcreated>2007-11-11 16:56:30 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-11 05:04:12 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <excerpt>( soprattutto Google ) a riconoscere il nostro dominio di competenza; tutto questo influirà sensibilmente sui risultati dell’intero progetto.   I migliori SEO divulgano insegnamenti che sfortunatamente in pochi hanno l’accortezza di seguire;Simone Carlettiè sicuramente uno dei più autorevoli; vediamo insieme cosa egli scrive nella sua recente guida dedicata ai Google site links:  Ci sono alcune attività che possono agevolare l’analisi e l’interpretazione del sito, migliorando l</excerpt>
-            <linkcreated>2007-11-10 09:01:12 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.progetto-seo.com/motori-di-ricerca/links-interni</nearestpermalink>
-            <excerpt>( soprattutto Google ) a riconoscere il nostro dominio di competenza; tutto questo influirà sensibilmente sui risultati dell’intero progetto.   I migliori SEO divulgano insegnamenti che sfortunatamente in pochi hanno l’accortezza di seguire;Simone Carlettiè sicuramente uno dei più autorevoli; vediamo insieme cosa egli scrive nella sua recente guida dedicata ai Google site links:  Ci sono alcune attività che possono agevolare l’analisi e l’interpretazione del sito, migliorando l</excerpt>
-            <linkcreated>2007-11-10 08:57:22 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>FeedBurner Stats 2 Feed 1.1 - Build your own FeedBurner feeds stats feed</name>
-                <url>http://lab.rss-world.info/feedburner-feedstats</url>
-                <rssurl>http://lab.rss-world.info/feedburner-feedstats/stats2feed.php</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>4</inboundlinks>
-                <lastupdate>2007-11-07 17:54:16 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://lab.rss-world.info/feedburner-feedstats/#errors</nearestpermalink>
-            <excerpt>here</excerpt>
-            <linkcreated>2007-11-08 11:54:32 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2006/06/feedburner_stats_2_feed.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Se siamo fatti di pura energia,</name>
-                <url>http://sitaram.splinder.com</url>
-                <rssurl>http://syndication.splinder.com/sitaram/rss2.xml</rssurl>
-                <atomurl>http://syndication.splinder.com/sitaram/atom.xml</atomurl>
-                <inboundblogs>27</inboundblogs>
-                <inboundlinks>49</inboundlinks>
-                <lastupdate>2007-11-10 19:27:05 GMT</lastupdate>
-            </weblog>
-            <excerpt>Blog di Mercante di Sogni Blog di Morris Goodman Blog di Natalibera Blog di Nuovo Spazio Blog di Oltre l'infinito Blog di OsteMax Blog di Pachucha Blog di Paul Coelho Blog di Riccardo Blog di Ron Peer Blog di SilasBlog di Simone CarlettiBlog di Sofia Blog di Stazione Celeste Blog di Susan Hanshaw Blog di Visualizzazione Positiva Blog di Web Caffè Blog di Wolf Blog di Zio Hack Buddhismo della Via di Diamante Celestian Center Cellula Cancerosa</excerpt>
-            <linkcreated>2007-11-07 21:03:08 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>BLOG intarget.net</name>
-                <url>http://blog.intarget.net</url>
-                <rssurl>http://blog.intarget.net/feed</rssurl>
-                <atomurl>http://blog.intarget.net/feed/atom</atomurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-06 16:58:08 GMT</lastupdate>
-            </weblog>
-            <excerpt>- “tecniche segrete” del marketing Pandemia - ambiente, media, rete e tecnologia Search Advertising Blog - il Blog di Andrea Cappello Search Engine Marketing - il blog di Marco Loguercio SeoTalk - il Blog di Salvatore CarielloSimone Carletti's Blog- Un piccolo spazio nel web dedicato al web con approfondimenti su marketing, feed RSS / Atom e motori di ricerca Tagliaerbe Blog - seo blog</excerpt>
-            <linkcreated>2007-11-06 16:58:13 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Soft Review </name>
-                <url>http://softrevi.com</url>
-                <rssurl>http://softrevi.com/feed/</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>2007-11-12 17:38:55 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://softrevi.com/2007/11/06/how-to-add-rmail-as-a-choice-in-firefox-20/</nearestpermalink>
-            <excerpt>read more</excerpt>
-            <linkcreated>2007-11-06 16:51:43 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2006/06/how_to_add_rmail_as_a_choice_i.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.progetto-seo.com/motori-di-ricerca/rel-nofollow-seo</nearestpermalink>
-            <excerpt>è presente, significa che la pagina d’origine non attribuirà alcun valore alla pagina di destinazione; Ask dichiara di non averlo mai supportato ufficialmente, potete trovare tutte le informazioni necessarie inquesto articolo, liberamente tradotto da Simone Carletti da un articolo di Loren Baker pubblicato sul Search Engine Journal.  Technorati Tag: SEO, rel nofollow, motori di ricerca</excerpt>
-            <linkcreated>2007-11-06 14:03:18 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-05 12:47:43 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>DreamsWorld - www.dreamsworld.it - Errore Interno del Server</name>
-                <url>http://www.dreamsworld.it/emanuele</url>
-                <inboundblogs>112</inboundblogs>
-                <inboundlinks>354</inboundlinks>
-                <lastupdate>2007-11-12 18:42:17 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.dreamsworld.it/emanuele/2007-11-04/mac-onsigliatemi-11-domande-prima-di-passare-a-mac/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard. A questo punto immagino che sia consigliabile avere almeno 2Gb di ram. Conviene spendere 132??? ed acquistare “l’upgrade</excerpt>
-            <linkcreated>2007-11-04 19:15:57 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> …time is what you make of it…</name>
-                <url>http://emanuele.dreamsworld.it</url>
-                <rssurl>http://www.dreamsworld.it/emanuele/feed/</rssurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-11-12 15:24:46 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.dreamsworld.it/emanuele/2007-11-04/mac-onsigliatemi-11-domande-prima-di-passare-a-mac/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard. A questo punto immagino che sia consigliabile avere almeno 2Gb di ram. Conviene spendere 132€ ed acquistare “l’upgrade</excerpt>
-            <linkcreated>2007-11-04 19:15:57 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Stefano Gorgoni » Dovevo chiedervi scusa?</name>
-                <url>http://www.stefanogorgoni.com/384/dovevo-chiedervi-scusa</url>
-                <rssurl>http://www.stefanogorgoni.com/feed/</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-02 14:11:04 GMT</lastupdate>
-            </weblog>
-            <excerpt>inaritech kerouac3001 marketing routes mauro lupi mini marketing motoricerca.info motoricerca.net progetto seo ranklab seo search advertising blog semblog seo talk studiocelso webmarketing web marketingwepposYoYo Formazione rotolante</excerpt>
-            <linkcreated>2007-11-03 13:02:10 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>[•] - RSS/ATOM Feeds Aggregator </name>
-                <url>http://www.codicesorgente.it</url>
-                <rssurl>http://www.codicesorgente.it/feedsaggregator/rss.php</rssurl>
-                <inboundblogs>67</inboundblogs>
-                <inboundlinks>321</inboundlinks>
-                <lastupdate>2007-11-05 02:40:19 GMT</lastupdate>
-            </weblog>
-            <excerpt>ho sentita) che rappresentano, per il momento, una piccola minoranza, e non rientrano tra quelli considerati “utente medio”  peccando di superbia, penso di aver fatto una bella analisi, ma mi piacerebbe avere il parere di alberto, tambu,simone, altre che naturalmente di tutti quelli che avranno voglia di lasciarmelo…  [richiesta marchetta on]  non contento della dose di link appena vomitata, aggiungo che se marco formento, lele dainesi  e</excerpt>
-            <linkcreated>2007-11-03 08:03:16 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Roby Web World Italia</name>
-                <url>http://robyww.blogspot.com</url>
-                <atomurl>http://robyww.blogspot.com/feeds/posts/default</atomurl>
-                <inboundblogs>71</inboundblogs>
-                <inboundlinks>103</inboundlinks>
-                <lastupdate>2007-11-11 08:47:26 GMT</lastupdate>
-            </weblog>
-            <excerpt>Seth's Blog David Naylor Reporter Diffuso Marco Loguercio Tiziano Fogliata Davide Pozzi SetFocus [dot] IT Mauro Lupi 980Km Lo Direi Così Lafra Napolux Senza Stile Titti Zingone Giorgio Tave Luca ContiSimone CarlettiLalui Felter Roberto Luca Togni Robin Good Albegor's Blog Nik's Blog [mini]marketing Blographik Luca DeBiase Cristian Castellari Massimo Mantellini Sacha Catalano Numero Venti Xipe Eugenio La Mesa Andrea Cappello</excerpt>
-            <linkcreated>2007-11-01 09:13:15 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <excerpt>Redazione:   Ogni dipendente, ad esempio, può creare il proprio calendario aziendale e condividerlo in sola lettura con gli altri colleghi. Un calendario aziendale, condiviso in lettura e scrittura, permetterà di segnare gli appuntamenti comuni.</excerpt>
-            <linkcreated>2007-10-30 23:58:10 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/10/ottimizzare-costi-azienda-parte-2.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://italyfilm.net/Cinema-2007/10/31/come-ridurre-ed-ottimizzare-i-costi-tecnici-in-azienda-parte-2/</nearestpermalink>
-            <excerpt>Redazione:   Ogni dipendente, ad esempio, può creare il proprio calendario aziendale e condividerlo in sola lettura con gli altri colleghi. Un calendario aziendale, condiviso in lettura e scrittura, permetterà di segnare gli appuntamenti comuni.</excerpt>
-            <linkcreated>2007-10-30 23:36:00 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/10/ottimizzare-costi-azienda-parte-2.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>980km | Smart Web Marketing</name>
-                <url>http://www.980km.com</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>137</inboundblogs>
-                <inboundlinks>327</inboundlinks>
-                <lastupdate>2007-11-11 21:08:33 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.980km.com/web-marketing/980km-entra-nel-network-web-marketing-e-motori-di-ricerca.html</nearestpermalink>
-            <excerpt>Dopo 6 mesi di dura attività su 980km eccomi giunto ad uno dei traguardi che mi ero prefissato fin dall’inizio: entrare nel network “Web marketing e motori di ricerca” su Feedburner, Network gestito daSimone Carletti; è una grande soddisfazione per me! D’ora in poi i contenuti di 980km verrano distribuiti anche sul Network, oltre al Feed diretto dal blog.   Per conoscere tutti i siti/blog che compongono il Network basta andare su</excerpt>
-            <linkcreated>2007-10-29 18:14:58 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Allora vendi PageRank! E Matt Cutts lo conferma su Search Engine Journal | 980km</name>
-                <url>http://www.980km.com/google/allora-vendi-pagerank-e-matt-cutts-lo-conferma-su-search-engine-journal.html</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-10-31 13:06:51 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.980km.com/web-marketing/980km-entra-nel-network-web-marketing-e-motori-di-ricerca.html</nearestpermalink>
-            <excerpt>Dopo 6 mesi di dura attività su 980km eccomi giunto ad uno dei traguardi che mi ero prefissato fin dall’inizio: entrare nel network “Web marketing e motori di ricerca” su Feedburner, Network gestito daSimone Carletti; è una grande soddisfazione per me! D’ora in poi i contenuti di 980km verrano distribuiti anche sul Network, oltre al Feed diretto dal blog.   Per conoscere tutti i siti/blog che compongono il Network basta andare su</excerpt>
-            <linkcreated>2007-10-29 18:14:58 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 348
tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogLinkClaim.xml

@@ -1,348 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com/blog&type=link&claim=1
-    
-    The request has the following properties:
-     * url is blog
-     * type is link
-     * claim = 1
-     
-    When claim is enabled Technorati returns details 
-    about the author who claimed the blog, if any.
-    See 
-     * http://sitaram.splinder.com
-     * http://www.dreamsworld.it/emanuele
-     * http://robyww.blogspot.com
-    and more below.
-        
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-                <rank>81766</rank>
-            </weblog>
-            <inboundlinks>298</inboundlinks>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-                <author>
-                    <username>gioxx</username>
-                    <firstname>Gioxx</firstname>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=311288</thumbnailpicture>
-                </author>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-11 20:07:11 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <excerpt>Scegli il mese             PREFERITI     [IMG]   Seth Godin's Blog       [IMG]   John Battelle's Search Blog       [IMG]   Search Engine Land       [IMG]   SEM Blog (Marco Loguercio)       [IMG]Simone Carletti's Blog</excerpt>
-            <linkcreated>2007-11-11 16:56:30 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-11 05:04:12 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <excerpt>( soprattutto Google ) a riconoscere il nostro dominio di competenza; tutto questo influirà sensibilmente sui risultati dell’intero progetto.   I migliori SEO divulgano insegnamenti che sfortunatamente in pochi hanno l’accortezza di seguire;Simone Carlettiè sicuramente uno dei più autorevoli; vediamo insieme cosa egli scrive nella sua recente guida dedicata ai Google site links:  Ci sono alcune attività che possono agevolare l’analisi e l’interpretazione del sito, migliorando l</excerpt>
-            <linkcreated>2007-11-10 09:01:12 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.progetto-seo.com/motori-di-ricerca/links-interni</nearestpermalink>
-            <excerpt>( soprattutto Google ) a riconoscere il nostro dominio di competenza; tutto questo influirà sensibilmente sui risultati dell’intero progetto.   I migliori SEO divulgano insegnamenti che sfortunatamente in pochi hanno l’accortezza di seguire;Simone Carlettiè sicuramente uno dei più autorevoli; vediamo insieme cosa egli scrive nella sua recente guida dedicata ai Google site links:  Ci sono alcune attività che possono agevolare l’analisi e l’interpretazione del sito, migliorando l</excerpt>
-            <linkcreated>2007-11-10 08:57:22 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>FeedBurner Stats 2 Feed 1.1 - Build your own FeedBurner feeds stats feed</name>
-                <url>http://lab.rss-world.info/feedburner-feedstats</url>
-                <rssurl>http://lab.rss-world.info/feedburner-feedstats/stats2feed.php</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>4</inboundlinks>
-                <lastupdate>2007-11-07 17:54:16 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://lab.rss-world.info/feedburner-feedstats/#errors</nearestpermalink>
-            <excerpt>here</excerpt>
-            <linkcreated>2007-11-08 11:54:32 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2006/06/feedburner_stats_2_feed.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Se siamo fatti di pura energia,</name>
-                <url>http://sitaram.splinder.com</url>
-                <rssurl>http://syndication.splinder.com/sitaram/rss2.xml</rssurl>
-                <atomurl>http://syndication.splinder.com/sitaram/atom.xml</atomurl>
-                <inboundblogs>27</inboundblogs>
-                <inboundlinks>49</inboundlinks>
-                <lastupdate>2007-11-10 19:27:05 GMT</lastupdate>
-                <author>
-                    <username>SitaRam</username>
-                    <firstname/>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=714617</thumbnailpicture>
-                </author>
-            </weblog>
-            <excerpt>Blog di Mercante di Sogni Blog di Morris Goodman Blog di Natalibera Blog di Nuovo Spazio Blog di Oltre l'infinito Blog di OsteMax Blog di Pachucha Blog di Paul Coelho Blog di Riccardo Blog di Ron Peer Blog di SilasBlog di Simone CarlettiBlog di Sofia Blog di Stazione Celeste Blog di Susan Hanshaw Blog di Visualizzazione Positiva Blog di Web Caffè Blog di Wolf Blog di Zio Hack Buddhismo della Via di Diamante Celestian Center Cellula Cancerosa</excerpt>
-            <linkcreated>2007-11-07 21:03:08 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>BLOG intarget.net</name>
-                <url>http://blog.intarget.net</url>
-                <rssurl>http://blog.intarget.net/feed</rssurl>
-                <atomurl>http://blog.intarget.net/feed/atom</atomurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-06 16:58:08 GMT</lastupdate>
-            </weblog>
-            <excerpt>- “tecniche segrete” del marketing Pandemia - ambiente, media, rete e tecnologia Search Advertising Blog - il Blog di Andrea Cappello Search Engine Marketing - il blog di Marco Loguercio SeoTalk - il Blog di Salvatore CarielloSimone Carletti's Blog- Un piccolo spazio nel web dedicato al web con approfondimenti su marketing, feed RSS / Atom e motori di ricerca Tagliaerbe Blog - seo blog</excerpt>
-            <linkcreated>2007-11-06 16:58:13 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Soft Review </name>
-                <url>http://softrevi.com</url>
-                <rssurl>http://softrevi.com/feed/</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>2007-11-12 17:38:55 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://softrevi.com/2007/11/06/how-to-add-rmail-as-a-choice-in-firefox-20/</nearestpermalink>
-            <excerpt>read more</excerpt>
-            <linkcreated>2007-11-06 16:51:43 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2006/06/how_to_add_rmail_as_a_choice_i.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.progetto-seo.com/motori-di-ricerca/rel-nofollow-seo</nearestpermalink>
-            <excerpt>è presente, significa che la pagina d’origine non attribuirà alcun valore alla pagina di destinazione; Ask dichiara di non averlo mai supportato ufficialmente, potete trovare tutte le informazioni necessarie inquesto articolo, liberamente tradotto da Simone Carletti da un articolo di Loren Baker pubblicato sul Search Engine Journal.  Technorati Tag: SEO, rel nofollow, motori di ricerca</excerpt>
-            <linkcreated>2007-11-06 14:03:18 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-05 12:47:43 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>DreamsWorld - www.dreamsworld.it - Errore Interno del Server</name>
-                <url>http://www.dreamsworld.it/emanuele</url>
-                <inboundblogs>112</inboundblogs>
-                <inboundlinks>354</inboundlinks>
-                <lastupdate>2007-11-12 18:42:17 GMT</lastupdate>
-                <author>
-                    <username>pixel8383</username>
-                    <firstname>Emanuele</firstname>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=143656</thumbnailpicture>
-                </author>
-            </weblog>
-            <nearestpermalink>http://www.dreamsworld.it/emanuele/2007-11-04/mac-onsigliatemi-11-domande-prima-di-passare-a-mac/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard. A questo punto immagino che sia consigliabile avere almeno 2Gb di ram. Conviene spendere 132??? ed acquistare “l’upgrade</excerpt>
-            <linkcreated>2007-11-04 19:15:57 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> …time is what you make of it…</name>
-                <url>http://emanuele.dreamsworld.it</url>
-                <rssurl>http://www.dreamsworld.it/emanuele/feed/</rssurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-11-12 15:24:46 GMT</lastupdate>
-                <author>
-                    <username>pixel8383</username>
-                    <firstname>Emanuele</firstname>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=143656</thumbnailpicture>
-                </author>
-            </weblog>
-            <nearestpermalink>http://www.dreamsworld.it/emanuele/2007-11-04/mac-onsigliatemi-11-domande-prima-di-passare-a-mac/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard. A questo punto immagino che sia consigliabile avere almeno 2Gb di ram. Conviene spendere 132€ ed acquistare “l’upgrade</excerpt>
-            <linkcreated>2007-11-04 19:15:57 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Stefano Gorgoni » Dovevo chiedervi scusa?</name>
-                <url>http://www.stefanogorgoni.com/384/dovevo-chiedervi-scusa</url>
-                <rssurl>http://www.stefanogorgoni.com/feed/</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-02 14:11:04 GMT</lastupdate>
-            </weblog>
-            <excerpt>inaritech kerouac3001 marketing routes mauro lupi mini marketing motoricerca.info motoricerca.net progetto seo ranklab seo search advertising blog semblog seo talk studiocelso webmarketing web marketingwepposYoYo Formazione rotolante</excerpt>
-            <linkcreated>2007-11-03 13:02:10 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>[•] - RSS/ATOM Feeds Aggregator </name>
-                <url>http://www.codicesorgente.it</url>
-                <rssurl>http://www.codicesorgente.it/feedsaggregator/rss.php</rssurl>
-                <inboundblogs>67</inboundblogs>
-                <inboundlinks>321</inboundlinks>
-                <lastupdate>2007-11-05 02:40:19 GMT</lastupdate>
-            </weblog>
-            <excerpt>ho sentita) che rappresentano, per il momento, una piccola minoranza, e non rientrano tra quelli considerati “utente medio”  peccando di superbia, penso di aver fatto una bella analisi, ma mi piacerebbe avere il parere di alberto, tambu,simone, altre che naturalmente di tutti quelli che avranno voglia di lasciarmelo…  [richiesta marchetta on]  non contento della dose di link appena vomitata, aggiungo che se marco formento, lele dainesi  e</excerpt>
-            <linkcreated>2007-11-03 08:03:16 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Roby Web World Italia</name>
-                <url>http://robyww.blogspot.com</url>
-                <atomurl>http://robyww.blogspot.com/feeds/posts/default</atomurl>
-                <inboundblogs>71</inboundblogs>
-                <inboundlinks>103</inboundlinks>
-                <lastupdate>2007-11-11 08:47:26 GMT</lastupdate>
-                <author>
-                    <username>rfilippini</username>
-                    <firstname>Roberto</firstname>
-                    <lastname>Filippini</lastname>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=290763</thumbnailpicture>
-                </author>
-            </weblog>
-            <excerpt>Seth's Blog David Naylor Reporter Diffuso Marco Loguercio Tiziano Fogliata Davide Pozzi SetFocus [dot] IT Mauro Lupi 980Km Lo Direi Così Lafra Napolux Senza Stile Titti Zingone Giorgio Tave Luca ContiSimone CarlettiLalui Felter Roberto Luca Togni Robin Good Albegor's Blog Nik's Blog [mini]marketing Blographik Luca DeBiase Cristian Castellari Massimo Mantellini Sacha Catalano Numero Venti Xipe Eugenio La Mesa Andrea Cappello</excerpt>
-            <linkcreated>2007-11-01 09:13:15 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <excerpt>Redazione:   Ogni dipendente, ad esempio, può creare il proprio calendario aziendale e condividerlo in sola lettura con gli altri colleghi. Un calendario aziendale, condiviso in lettura e scrittura, permetterà di segnare gli appuntamenti comuni.</excerpt>
-            <linkcreated>2007-10-30 23:58:10 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/10/ottimizzare-costi-azienda-parte-2.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://italyfilm.net/Cinema-2007/10/31/come-ridurre-ed-ottimizzare-i-costi-tecnici-in-azienda-parte-2/</nearestpermalink>
-            <excerpt>Redazione:   Ogni dipendente, ad esempio, può creare il proprio calendario aziendale e condividerlo in sola lettura con gli altri colleghi. Un calendario aziendale, condiviso in lettura e scrittura, permetterà di segnare gli appuntamenti comuni.</excerpt>
-            <linkcreated>2007-10-30 23:36:00 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/10/ottimizzare-costi-azienda-parte-2.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>980km | Smart Web Marketing</name>
-                <url>http://www.980km.com</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>137</inboundblogs>
-                <inboundlinks>327</inboundlinks>
-                <lastupdate>2007-11-11 21:08:33 GMT</lastupdate>
-                <author>
-                    <username>johnniemaneiro</username>
-                    <firstname>Johnnie</firstname>
-                    <lastname>Maneiro</lastname>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=396500</thumbnailpicture>
-                </author>
-            </weblog>
-            <nearestpermalink>http://www.980km.com/web-marketing/980km-entra-nel-network-web-marketing-e-motori-di-ricerca.html</nearestpermalink>
-            <excerpt>Dopo 6 mesi di dura attività su 980km eccomi giunto ad uno dei traguardi che mi ero prefissato fin dall’inizio: entrare nel network “Web marketing e motori di ricerca” su Feedburner, Network gestito daSimone Carletti; è una grande soddisfazione per me! D’ora in poi i contenuti di 980km verrano distribuiti anche sul Network, oltre al Feed diretto dal blog.   Per conoscere tutti i siti/blog che compongono il Network basta andare su</excerpt>
-            <linkcreated>2007-10-29 18:14:58 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Allora vendi PageRank! E Matt Cutts lo conferma su Search Engine Journal | 980km</name>
-                <url>http://www.980km.com/google/allora-vendi-pagerank-e-matt-cutts-lo-conferma-su-search-engine-journal.html</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-10-31 13:06:51 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.980km.com/web-marketing/980km-entra-nel-network-web-marketing-e-motori-di-ricerca.html</nearestpermalink>
-            <excerpt>Dopo 6 mesi di dura attività su 980km eccomi giunto ad uno dei traguardi che mi ero prefissato fin dall’inizio: entrare nel network “Web marketing e motori di ricerca” su Feedburner, Network gestito daSimone Carletti; è una grande soddisfazione per me! D’ora in poi i contenuti di 980km verrano distribuiti anche sul Network, oltre al Feed diretto dal blog.   Per conoscere tutti i siti/blog che compongono il Network basta andare su</excerpt>
-            <linkcreated>2007-10-29 18:14:58 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 252
tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblog.xml

@@ -1,252 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com/blog&type=weblog
-    
-    The request has the following properties:
-     * url is blog
-     * type is weblog
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-                <rank>81766</rank>
-            </weblog>
-            <inboundblogs>85</inboundblogs>
-            <inboundlinks/>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>FeedBurner Stats 2 Feed 1.1 - Build your own FeedBurner feeds stats feed</name>
-                <url>http://lab.rss-world.info/feedburner-feedstats</url>
-                <rssurl>http://lab.rss-world.info/feedburner-feedstats/stats2feed.php</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>4</inboundlinks>
-                <lastupdate>2007-11-07 17:54:16 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Se siamo fatti di pura energia,</name>
-                <url>http://sitaram.splinder.com</url>
-                <rssurl>http://syndication.splinder.com/sitaram/rss2.xml</rssurl>
-                <atomurl>http://syndication.splinder.com/sitaram/atom.xml</atomurl>
-                <inboundblogs>27</inboundblogs>
-                <inboundlinks>49</inboundlinks>
-                <lastupdate>2007-11-10 19:27:05 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>BLOG intarget.net</name>
-                <url>http://blog.intarget.net</url>
-                <rssurl>http://blog.intarget.net/feed</rssurl>
-                <atomurl>http://blog.intarget.net/feed/atom</atomurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-06 16:58:08 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Soft Review </name>
-                <url>http://softrevi.com</url>
-                <rssurl>http://softrevi.com/feed/</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>2007-11-12 17:38:55 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>DreamsWorld - www.dreamsworld.it - Errore Interno del Server</name>
-                <url>http://www.dreamsworld.it/emanuele</url>
-                <inboundblogs>112</inboundblogs>
-                <inboundlinks>354</inboundlinks>
-                <lastupdate>2007-11-12 18:42:17 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> …time is what you make of it…</name>
-                <url>http://emanuele.dreamsworld.it</url>
-                <rssurl>http://www.dreamsworld.it/emanuele/feed/</rssurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-11-12 15:24:46 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Stefano Gorgoni » Dovevo chiedervi scusa?</name>
-                <url>http://www.stefanogorgoni.com/384/dovevo-chiedervi-scusa</url>
-                <rssurl>http://www.stefanogorgoni.com/feed/</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-02 14:11:04 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>[•] - RSS/ATOM Feeds Aggregator </name>
-                <url>http://www.codicesorgente.it</url>
-                <rssurl>http://www.codicesorgente.it/feedsaggregator/rss.php</rssurl>
-                <inboundblogs>67</inboundblogs>
-                <inboundlinks>321</inboundlinks>
-                <lastupdate>2007-11-05 02:40:19 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Roby Web World Italia</name>
-                <url>http://robyww.blogspot.com</url>
-                <atomurl>http://robyww.blogspot.com/feeds/posts/default</atomurl>
-                <inboundblogs>71</inboundblogs>
-                <inboundlinks>103</inboundlinks>
-                <lastupdate>2007-11-11 08:47:26 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>980km | Smart Web Marketing</name>
-                <url>http://www.980km.com</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>137</inboundblogs>
-                <inboundlinks>327</inboundlinks>
-                <lastupdate>2007-11-11 21:08:33 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Allora vendi PageRank! E Matt Cutts lo conferma su Search Engine Journal | 980km</name>
-                <url>http://www.980km.com/google/allora-vendi-pagerank-e-matt-cutts-lo-conferma-su-search-engine-journal.html</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-10-31 13:06:51 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 266
tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblogClaim.xml

@@ -1,266 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com/blog&type=weblog&claim=1
-    
-    The request has the following properties:
-     * url is blog
-     * type is weblog
-     * claim = 1
-     
-    When claim is enabled Technorati *returns* details 
-    about the author who claimed the blog, if any.
-    
-    TECHNORATI BUG: for somewhat reason Technorati decided
-    this option doens't work when type is weblog.
-    Don't ask me why, that's the way it goes!
-    
-    See 
-     * http://sitaram.splinder.com
-     * http://www.dreamsworld.it/emanuele
-     * http://robyww.blogspot.com
-    and more below compared with TestCosmosBlogWeblogClaim.xml
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-                <rank>81766</rank>
-            </weblog>
-            <inboundblogs>85</inboundblogs>
-            <inboundlinks/>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>FeedBurner Stats 2 Feed 1.1 - Build your own FeedBurner feeds stats feed</name>
-                <url>http://lab.rss-world.info/feedburner-feedstats</url>
-                <rssurl>http://lab.rss-world.info/feedburner-feedstats/stats2feed.php</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>4</inboundlinks>
-                <lastupdate>2007-11-07 17:54:16 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Se siamo fatti di pura energia,</name>
-                <url>http://sitaram.splinder.com</url>
-                <rssurl>http://syndication.splinder.com/sitaram/rss2.xml</rssurl>
-                <atomurl>http://syndication.splinder.com/sitaram/atom.xml</atomurl>
-                <inboundblogs>27</inboundblogs>
-                <inboundlinks>49</inboundlinks>
-                <lastupdate>2007-11-10 19:27:05 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>BLOG intarget.net</name>
-                <url>http://blog.intarget.net</url>
-                <rssurl>http://blog.intarget.net/feed</rssurl>
-                <atomurl>http://blog.intarget.net/feed/atom</atomurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-06 16:58:08 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Soft Review </name>
-                <url>http://softrevi.com</url>
-                <rssurl>http://softrevi.com/feed/</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>2007-11-12 17:38:55 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>DreamsWorld - www.dreamsworld.it - Errore Interno del Server</name>
-                <url>http://www.dreamsworld.it/emanuele</url>
-                <inboundblogs>112</inboundblogs>
-                <inboundlinks>354</inboundlinks>
-                <lastupdate>2007-11-12 18:42:17 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> …time is what you make of it…</name>
-                <url>http://emanuele.dreamsworld.it</url>
-                <rssurl>http://www.dreamsworld.it/emanuele/feed/</rssurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-11-12 15:24:46 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Stefano Gorgoni » Dovevo chiedervi scusa?</name>
-                <url>http://www.stefanogorgoni.com/384/dovevo-chiedervi-scusa</url>
-                <rssurl>http://www.stefanogorgoni.com/feed/</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-02 14:11:04 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>[•] - RSS/ATOM Feeds Aggregator </name>
-                <url>http://www.codicesorgente.it</url>
-                <rssurl>http://www.codicesorgente.it/feedsaggregator/rss.php</rssurl>
-                <inboundblogs>67</inboundblogs>
-                <inboundlinks>321</inboundlinks>
-                <lastupdate>2007-11-05 02:40:19 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Roby Web World Italia</name>
-                <url>http://robyww.blogspot.com</url>
-                <atomurl>http://robyww.blogspot.com/feeds/posts/default</atomurl>
-                <inboundblogs>71</inboundblogs>
-                <inboundlinks>103</inboundlinks>
-                <lastupdate>2007-11-11 08:47:26 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>980km | Smart Web Marketing</name>
-                <url>http://www.980km.com</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>137</inboundblogs>
-                <inboundlinks>327</inboundlinks>
-                <lastupdate>2007-11-11 21:08:33 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Allora vendi PageRank! E Matt Cutts lo conferma su Search Engine Journal | 980km</name>
-                <url>http://www.980km.com/google/allora-vendi-pagerank-e-matt-cutts-lo-conferma-su-search-engine-journal.html</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-10-31 13:06:51 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 293
tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblogClaim2.xml

@@ -1,293 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com/blog&type=weblog&claim=1
-    
-    The request has the following properties:
-     * url is blog
-     * type is weblog
-     * claim = 1
-     
-    This is the same as TestCosmosBlogWeblogClaim
-    but for somewhat else reason when I requested this file
-    claim option worked.
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>www.simonecarletti.com/blog</url>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-                <rank>81766</rank>
-            </weblog>
-            <inboundblogs>85</inboundblogs>
-            <inboundlinks/>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-                <author>
-                    <username>gioxx</username>
-                    <firstname>Gioxx</firstname>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=311288</thumbnailpicture>
-                </author>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>FeedBurner Stats 2 Feed 1.1 - Build your own FeedBurner feeds stats feed</name>
-                <url>http://lab.rss-world.info/feedburner-feedstats</url>
-                <rssurl>http://lab.rss-world.info/feedburner-feedstats/stats2feed.php</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>4</inboundlinks>
-                <lastupdate>2007-11-07 17:54:16 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Se siamo fatti di pura energia,</name>
-                <url>http://sitaram.splinder.com</url>
-                <rssurl>http://syndication.splinder.com/sitaram/rss2.xml</rssurl>
-                <atomurl>http://syndication.splinder.com/sitaram/atom.xml</atomurl>
-                <inboundblogs>27</inboundblogs>
-                <inboundlinks>49</inboundlinks>
-                <lastupdate>2007-11-10 19:27:05 GMT</lastupdate>
-                <author>
-                    <username>SitaRam</username>
-                    <firstname/>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=714617</thumbnailpicture>
-                </author>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>BLOG intarget.net</name>
-                <url>http://blog.intarget.net</url>
-                <rssurl>http://blog.intarget.net/feed</rssurl>
-                <atomurl>http://blog.intarget.net/feed/atom</atomurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-06 16:58:08 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Soft Review </name>
-                <url>http://softrevi.com</url>
-                <rssurl>http://softrevi.com/feed/</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>2007-11-12 17:38:55 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.wordpress.com</url>
-                <inboundblogs>7</inboundblogs>
-                <inboundlinks>8</inboundlinks>
-                <lastupdate>2007-11-12 21:35:14 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>DreamsWorld - www.dreamsworld.it - Errore Interno del Server</name>
-                <url>http://www.dreamsworld.it/emanuele</url>
-                <inboundblogs>112</inboundblogs>
-                <inboundlinks>354</inboundlinks>
-                <lastupdate>2007-11-12 18:42:17 GMT</lastupdate>
-                <author>
-                    <username>pixel8383</username>
-                    <firstname>Emanuele</firstname>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=143656</thumbnailpicture>
-                </author>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> …time is what you make of it…</name>
-                <url>http://emanuele.dreamsworld.it</url>
-                <rssurl>http://www.dreamsworld.it/emanuele/feed/</rssurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-11-12 15:24:46 GMT</lastupdate>
-                <author>
-                    <username>pixel8383</username>
-                    <firstname>Emanuele</firstname>
-                    <lastname/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=143656</thumbnailpicture>
-                </author>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Stefano Gorgoni » Dovevo chiedervi scusa?</name>
-                <url>http://www.stefanogorgoni.com/384/dovevo-chiedervi-scusa</url>
-                <rssurl>http://www.stefanogorgoni.com/feed/</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-02 14:11:04 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>[•] - RSS/ATOM Feeds Aggregator </name>
-                <url>http://www.codicesorgente.it</url>
-                <rssurl>http://www.codicesorgente.it/feedsaggregator/rss.php</rssurl>
-                <inboundblogs>67</inboundblogs>
-                <inboundlinks>321</inboundlinks>
-                <lastupdate>2007-11-05 02:40:19 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Roby Web World Italia</name>
-                <url>http://robyww.blogspot.com</url>
-                <atomurl>http://robyww.blogspot.com/feeds/posts/default</atomurl>
-                <inboundblogs>71</inboundblogs>
-                <inboundlinks>103</inboundlinks>
-                <lastupdate>2007-11-11 08:47:26 GMT</lastupdate>
-                <author>
-                    <username>rfilippini</username>
-                    <firstname>Roberto</firstname>
-                    <lastname>Filippini</lastname>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=290763</thumbnailpicture>
-                </author>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>ItalyFilm Blog</name>
-                <url>http://italyfilm.net</url>
-                <rssurl>http://italyfilm.net/feed/</rssurl>
-                <atomurl>http://italyfilm.net/feed/atom/</atomurl>
-                <inboundblogs>5</inboundblogs>
-                <inboundlinks>39</inboundlinks>
-                <lastupdate>2007-11-12 18:48:28 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>980km | Smart Web Marketing</name>
-                <url>http://www.980km.com</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>137</inboundblogs>
-                <inboundlinks>327</inboundlinks>
-                <lastupdate>2007-11-11 21:08:33 GMT</lastupdate>
-                <author>
-                    <username>johnniemaneiro</username>
-                    <firstname>Johnnie</firstname>
-                    <lastname>Maneiro</lastname>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=396500</thumbnailpicture>
-                </author>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Allora vendi PageRank! E Matt Cutts lo conferma su Search Engine Journal | 980km</name>
-                <url>http://www.980km.com/google/allora-vendi-pagerank-e-matt-cutts-lo-conferma-su-search-engine-journal.html</url>
-                <rssurl>http://feeds.980km.com/980kmSmartWebMarketing</rssurl>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-10-31 13:06:51 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com/blog</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 62
tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteLink.xml

@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com&type=link
-    
-    The request has the following properties:
-     * url is site (not a blog)
-     * type is link
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com</url>
-            <inboundlinks>949</inboundlinks>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-11 20:07:11 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Progetto-Seo </name>
-                <url>http://www.progetto-seo.com</url>
-                <rssurl>http://www.progetto-seo.com/feed/</rssurl>
-                <inboundblogs>43</inboundblogs>
-                <inboundlinks>84</inboundlinks>
-                <lastupdate>2007-11-10 08:57:22 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://www.progetto-seo.com/motori-di-ricerca/links-interni</nearestpermalink>
-            <excerpt>( soprattutto Google ) a riconoscere il nostro dominio di competenza; tutto questo influirà sensibilmente sui risultati dell’intero progetto.   I migliori SEO divulgano insegnamenti che sfortunatamente in pochi hanno l’accortezza di seguire;Simone Carlettiè sicuramente uno dei più autorevoli; vediamo insieme cosa egli scrive nella sua recente guida dedicata ai Google site links:  Ci sono alcune attività che possono agevolare l’analisi e l’interpretazione del sito, migliorando l</excerpt>
-            <linkcreated>2007-11-10 08:57:22 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/google-yahoo-ask-nofollow.php</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <excerpt>Scegli il mese             PREFERITI     [IMG]   Seth Godin's Blog       [IMG]   John Battelle's Search Blog       [IMG]   Search Engine Land       [IMG]   SEM Blog (Marco Loguercio)       [IMG]Simone Carletti's Blog</excerpt>
-            <linkcreated>2007-11-11 16:56:30 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 56
tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteUrlWithInvalidSchema.xml

@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com&type=weblog
-    
-    The request has the following properties:
-     * url is site (not a blog)
-     * type is weblog
-     * returned URL is missing a valid schema (http/s). 
-       It happens when type=weblog and url is not a Technorati weblog.
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>www.simonecarletti.com</url>
-            <inboundlinks/>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 54
tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteWeblog.xml

@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com&type=weblog
-    
-    The request has the following properties:
-     * url is site (not a blog)
-     * type is weblog
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com</url>
-            <inboundblogs>39</inboundblogs>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-            </weblog>
-            <linkurl>http://www.simonecarletti.com</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <linkurl>http://www.simonecarletti.com</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <linkurl>http://www.simonecarletti.com</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 55
tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteWeblogWithMissingInboundblogs.xml

@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com&type=weblog
-    
-    The request has the following properties:
-     * url is site (not a blog)
-     * type is weblog
-     * result header is missing a valid value for inboundblogs
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com</url>
-            <inboundlinks/>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name>Controrete - Search Marketing e dintorni</name>
-                <url>http://controrete.blog.excite.it</url>
-                <rssurl>http://feeds.feedburner.com/controrete/cFuo</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>1</inboundlinks>
-                <lastupdate>1970-01-01 00:00:00 GMT</lastupdate>
-            </weblog>
-            <linkurl>www.simonecarletti.com</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 47
tests/Zend/Service/Technorati/_files/TestCosmosSuccess.xml

@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Cosmos request
-    http://api.technorati.com/cosmos?key=VALID_API_KEY&url=www.simonecarletti.com
-    
-    The request has the following properties:
-     * url is site (not a blog)
-    
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <url>http://www.simonecarletti.com</url>
-            <inboundlinks>949</inboundlinks>
-            <rankingstart>1</rankingstart>
-        </result>
-        <item>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>85</inboundblogs>
-                <inboundlinks>112</inboundlinks>
-                <lastupdate>2007-11-12 20:51:52 GMT</lastupdate>
-            </weblog>
-            <excerpt>Superata la diffidenza iniziale (a dire il vero durata meno di 30 minuti) di pagare in anticipo senza alcuna referenza un servizio online, ho ordinato il mio primo template.  Tag: design (3) · html (3) · psd (1)   Continua la lettura di "PSD to HTML: convertire PSD in (X)HTML " »      Scritto da Simone Carletti alle 20:37  Permalink | Commenti (0) | TrackBack (0)     Categorie servizi</excerpt>
-            <linkcreated>2007-11-12 20:53:13 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/mt4/mt-search.cgi?tag=html&amp;blog_id=1</linkurl>
-        </item>
-        <item>
-            <weblog>
-                <name> Gioxx’s Wall</name>
-                <url>http://gioxx.org</url>
-                <inboundblogs>271</inboundblogs>
-                <inboundlinks>774</inboundlinks>
-                <lastupdate>2007-11-12 17:01:29 GMT</lastupdate>
-            </weblog>
-            <nearestpermalink>http://gioxx.org/2007/11/05/il-passaggio-a-mac-le-11-risposte/</nearestpermalink>
-            <excerpt>Ho intenzione di prendere il modello bianco “non base” (quello con il SuperDrive per intenderci)… quanta ram consigliate di mettergli? Escono di default con 1Gb, ma considerate che mi piacerebbe potersfruttare Parallelsper bene tenendo magari un OS secondario su uno degli “spaces” di Leopard.  Su Mercury ho 1 GB di ram, Leopard installato ed una virtuale XP Professional che uso quando ne ho bisogno. I consumi della virtuale si aggirano attorno ai 512 MB di ram</excerpt>
-            <linkcreated>2007-11-11 20:07:11 GMT</linkcreated>
-            <linkurl>http://www.simonecarletti.com/blog/2007/04/parallels-desktop-overview.php</linkurl>
-        </item>
-    </document>
-</tapi>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestDailyCountsError.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a Dailycounts request
-    http://api.technorati.com/dailycounts?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /dailycounts" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Missing required parameter: q</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 47
tests/Zend/Service/Technorati/_files/TestDailyCountsResultSet.xml

@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Dailycounts request
-    http://api.technorati.com/dailycounts?key=VALID_API_KEY&q=google
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `item` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <queryterm>google</queryterm>
-            <days>5</days>
-            <searchurl>http://technorati.com/search/google</searchurl>
-        </result>
-        <items>
-            <item>
-                <date>2007-11-14</date>
-                <count>29067</count>
-            </item>
-            <item>
-                <date>2007-11-13</date>
-                <count>54414</count>
-            </item>
-            <item>
-                <date>2007-11-12</date>
-                <count>62171</count>
-            </item>
-            <item>
-                <date>2007-11-11</date>
-                <count>43494</count>
-            </item>
-            <item>
-                <date>2007-11-10</date>
-                <count>29390</count>
-            </item>
-        </items>
-    </document>
-</tapi>

+ 0 - 747
tests/Zend/Service/Technorati/_files/TestDailyCountsSuccess.xml

@@ -1,747 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Dailycounts request
-    http://api.technorati.com/dailycounts?key=VALID_API_KEY&q=google
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `item` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <queryterm>google</queryterm>
-            <days>180</days>
-            <searchurl>http://technorati.com/search/google</searchurl>
-        </result>
-        <items>
-            <item>
-                <date>2007-11-14</date>
-                <count>29067</count>
-            </item>
-            <item>
-                <date>2007-11-13</date>
-                <count>54414</count>
-            </item>
-            <item>
-                <date>2007-11-12</date>
-                <count>62171</count>
-            </item>
-            <item>
-                <date>2007-11-11</date>
-                <count>43494</count>
-            </item>
-            <item>
-                <date>2007-11-10</date>
-                <count>29390</count>
-            </item>
-            <item>
-                <date>2007-11-09</date>
-                <count>35589</count>
-            </item>
-            <item>
-                <date>2007-11-08</date>
-                <count>37758</count>
-            </item>
-            <item>
-                <date>2007-11-07</date>
-                <count>40545</count>
-            </item>
-            <item>
-                <date>2007-11-06</date>
-                <count>45783</count>
-            </item>
-            <item>
-                <date>2007-11-05</date>
-                <count>46159</count>
-            </item>
-            <item>
-                <date>2007-11-04</date>
-                <count>35774</count>
-            </item>
-            <item>
-                <date>2007-11-03</date>
-                <count>30016</count>
-            </item>
-            <item>
-                <date>2007-11-02</date>
-                <count>24662</count>
-            </item>
-            <item>
-                <date>2007-11-01</date>
-                <count>16893</count>
-            </item>
-            <item>
-                <date>2007-10-31</date>
-                <count>30178</count>
-            </item>
-            <item>
-                <date>2007-10-30</date>
-                <count>30917</count>
-            </item>
-            <item>
-                <date>2007-10-29</date>
-                <count>29358</count>
-            </item>
-            <item>
-                <date>2007-10-28</date>
-                <count>23700</count>
-            </item>
-            <item>
-                <date>2007-10-27</date>
-                <count>25742</count>
-            </item>
-            <item>
-                <date>2007-10-26</date>
-                <count>29412</count>
-            </item>
-            <item>
-                <date>2007-10-25</date>
-                <count>30129</count>
-            </item>
-            <item>
-                <date>2007-10-24</date>
-                <count>27235</count>
-            </item>
-            <item>
-                <date>2007-10-23</date>
-                <count>26485</count>
-            </item>
-            <item>
-                <date>2007-10-22</date>
-                <count>23708</count>
-            </item>
-            <item>
-                <date>2007-10-21</date>
-                <count>18664</count>
-            </item>
-            <item>
-                <date>2007-10-20</date>
-                <count>12918</count>
-            </item>
-            <item>
-                <date>2007-10-19</date>
-                <count>12283</count>
-            </item>
-            <item>
-                <date>2007-10-18</date>
-                <count>18798</count>
-            </item>
-            <item>
-                <date>2007-10-17</date>
-                <count>17870</count>
-            </item>
-            <item>
-                <date>2007-10-16</date>
-                <count>27321</count>
-            </item>
-            <item>
-                <date>2007-10-15</date>
-                <count>20955</count>
-            </item>
-            <item>
-                <date>2007-10-14</date>
-                <count>17277</count>
-            </item>
-            <item>
-                <date>2007-10-13</date>
-                <count>15732</count>
-            </item>
-            <item>
-                <date>2007-10-12</date>
-                <count>22193</count>
-            </item>
-            <item>
-                <date>2007-10-11</date>
-                <count>23967</count>
-            </item>
-            <item>
-                <date>2007-10-10</date>
-                <count>24105</count>
-            </item>
-            <item>
-                <date>2007-10-09</date>
-                <count>25827</count>
-            </item>
-            <item>
-                <date>2007-10-08</date>
-                <count>22879</count>
-            </item>
-            <item>
-                <date>2007-10-07</date>
-                <count>16434</count>
-            </item>
-            <item>
-                <date>2007-10-06</date>
-                <count>14722</count>
-            </item>
-            <item>
-                <date>2007-10-05</date>
-                <count>20060</count>
-            </item>
-            <item>
-                <date>2007-10-04</date>
-                <count>22368</count>
-            </item>
-            <item>
-                <date>2007-10-03</date>
-                <count>22624</count>
-            </item>
-            <item>
-                <date>2007-10-02</date>
-                <count>22918</count>
-            </item>
-            <item>
-                <date>2007-10-01</date>
-                <count>23662</count>
-            </item>
-            <item>
-                <date>2007-09-30</date>
-                <count>18929</count>
-            </item>
-            <item>
-                <date>2007-09-29</date>
-                <count>17368</count>
-            </item>
-            <item>
-                <date>2007-09-28</date>
-                <count>22745</count>
-            </item>
-            <item>
-                <date>2007-09-27</date>
-                <count>25251</count>
-            </item>
-            <item>
-                <date>2007-09-26</date>
-                <count>25507</count>
-            </item>
-            <item>
-                <date>2007-09-25</date>
-                <count>25666</count>
-            </item>
-            <item>
-                <date>2007-09-24</date>
-                <count>27322</count>
-            </item>
-            <item>
-                <date>2007-09-23</date>
-                <count>22022</count>
-            </item>
-            <item>
-                <date>2007-09-22</date>
-                <count>20777</count>
-            </item>
-            <item>
-                <date>2007-09-21</date>
-                <count>23448</count>
-            </item>
-            <item>
-                <date>2007-09-20</date>
-                <count>23264</count>
-            </item>
-            <item>
-                <date>2007-09-19</date>
-                <count>25960</count>
-            </item>
-            <item>
-                <date>2007-09-18</date>
-                <count>27563</count>
-            </item>
-            <item>
-                <date>2007-09-17</date>
-                <count>26225</count>
-            </item>
-            <item>
-                <date>2007-09-16</date>
-                <count>22655</count>
-            </item>
-            <item>
-                <date>2007-09-15</date>
-                <count>21077</count>
-            </item>
-            <item>
-                <date>2007-09-14</date>
-                <count>26217</count>
-            </item>
-            <item>
-                <date>2007-09-13</date>
-                <count>26792</count>
-            </item>
-            <item>
-                <date>2007-09-12</date>
-                <count>23027</count>
-            </item>
-            <item>
-                <date>2007-09-11</date>
-                <count>23723</count>
-            </item>
-            <item>
-                <date>2007-09-10</date>
-                <count>24347</count>
-            </item>
-            <item>
-                <date>2007-09-09</date>
-                <count>19166</count>
-            </item>
-            <item>
-                <date>2007-09-08</date>
-                <count>17218</count>
-            </item>
-            <item>
-                <date>2007-09-07</date>
-                <count>22143</count>
-            </item>
-            <item>
-                <date>2007-09-06</date>
-                <count>24576</count>
-            </item>
-            <item>
-                <date>2007-09-05</date>
-                <count>24807</count>
-            </item>
-            <item>
-                <date>2007-09-04</date>
-                <count>24835</count>
-            </item>
-            <item>
-                <date>2007-09-03</date>
-                <count>24501</count>
-            </item>
-            <item>
-                <date>2007-09-02</date>
-                <count>24578</count>
-            </item>
-            <item>
-                <date>2007-09-01</date>
-                <count>22953</count>
-            </item>
-            <item>
-                <date>2007-08-31</date>
-                <count>26727</count>
-            </item>
-            <item>
-                <date>2007-08-30</date>
-                <count>25074</count>
-            </item>
-            <item>
-                <date>2007-08-29</date>
-                <count>24254</count>
-            </item>
-            <item>
-                <date>2007-08-28</date>
-                <count>26515</count>
-            </item>
-            <item>
-                <date>2007-08-27</date>
-                <count>26111</count>
-            </item>
-            <item>
-                <date>2007-08-26</date>
-                <count>20638</count>
-            </item>
-            <item>
-                <date>2007-08-25</date>
-                <count>18115</count>
-            </item>
-            <item>
-                <date>2007-08-24</date>
-                <count>22584</count>
-            </item>
-            <item>
-                <date>2007-08-23</date>
-                <count>25020</count>
-            </item>
-            <item>
-                <date>2007-08-22</date>
-                <count>27988</count>
-            </item>
-            <item>
-                <date>2007-08-21</date>
-                <count>25995</count>
-            </item>
-            <item>
-                <date>2007-08-20</date>
-                <count>24731</count>
-            </item>
-            <item>
-                <date>2007-08-19</date>
-                <count>18361</count>
-            </item>
-            <item>
-                <date>2007-08-18</date>
-                <count>16598</count>
-            </item>
-            <item>
-                <date>2007-08-17</date>
-                <count>20153</count>
-            </item>
-            <item>
-                <date>2007-08-16</date>
-                <count>21720</count>
-            </item>
-            <item>
-                <date>2007-08-15</date>
-                <count>21802</count>
-            </item>
-            <item>
-                <date>2007-08-14</date>
-                <count>22947</count>
-            </item>
-            <item>
-                <date>2007-08-13</date>
-                <count>21967</count>
-            </item>
-            <item>
-                <date>2007-08-12</date>
-                <count>16542</count>
-            </item>
-            <item>
-                <date>2007-08-11</date>
-                <count>14987</count>
-            </item>
-            <item>
-                <date>2007-08-10</date>
-                <count>19414</count>
-            </item>
-            <item>
-                <date>2007-08-09</date>
-                <count>18989</count>
-            </item>
-            <item>
-                <date>2007-08-08</date>
-                <count>21348</count>
-            </item>
-            <item>
-                <date>2007-08-07</date>
-                <count>22020</count>
-            </item>
-            <item>
-                <date>2007-08-06</date>
-                <count>22715</count>
-            </item>
-            <item>
-                <date>2007-08-05</date>
-                <count>17146</count>
-            </item>
-            <item>
-                <date>2007-08-04</date>
-                <count>15892</count>
-            </item>
-            <item>
-                <date>2007-08-03</date>
-                <count>21480</count>
-            </item>
-            <item>
-                <date>2007-08-02</date>
-                <count>22276</count>
-            </item>
-            <item>
-                <date>2007-08-01</date>
-                <count>21715</count>
-            </item>
-            <item>
-                <date>2007-07-31</date>
-                <count>21008</count>
-            </item>
-            <item>
-                <date>2007-07-30</date>
-                <count>21698</count>
-            </item>
-            <item>
-                <date>2007-07-29</date>
-                <count>15858</count>
-            </item>
-            <item>
-                <date>2007-07-28</date>
-                <count>13813</count>
-            </item>
-            <item>
-                <date>2007-07-27</date>
-                <count>18962</count>
-            </item>
-            <item>
-                <date>2007-07-26</date>
-                <count>17607</count>
-            </item>
-            <item>
-                <date>2007-07-25</date>
-                <count>17295</count>
-            </item>
-            <item>
-                <date>2007-07-24</date>
-                <count>17154</count>
-            </item>
-            <item>
-                <date>2007-07-23</date>
-                <count>21576</count>
-            </item>
-            <item>
-                <date>2007-07-22</date>
-                <count>15726</count>
-            </item>
-            <item>
-                <date>2007-07-21</date>
-                <count>13455</count>
-            </item>
-            <item>
-                <date>2007-07-20</date>
-                <count>19614</count>
-            </item>
-            <item>
-                <date>2007-07-19</date>
-                <count>20714</count>
-            </item>
-            <item>
-                <date>2007-07-18</date>
-                <count>20527</count>
-            </item>
-            <item>
-                <date>2007-07-17</date>
-                <count>22526</count>
-            </item>
-            <item>
-                <date>2007-07-16</date>
-                <count>22344</count>
-            </item>
-            <item>
-                <date>2007-07-15</date>
-                <count>16120</count>
-            </item>
-            <item>
-                <date>2007-07-14</date>
-                <count>14508</count>
-            </item>
-            <item>
-                <date>2007-07-13</date>
-                <count>18782</count>
-            </item>
-            <item>
-                <date>2007-07-12</date>
-                <count>22156</count>
-            </item>
-            <item>
-                <date>2007-07-11</date>
-                <count>22275</count>
-            </item>
-            <item>
-                <date>2007-07-10</date>
-                <count>21997</count>
-            </item>
-            <item>
-                <date>2007-07-09</date>
-                <count>22977</count>
-            </item>
-            <item>
-                <date>2007-07-08</date>
-                <count>15616</count>
-            </item>
-            <item>
-                <date>2007-07-07</date>
-                <count>13719</count>
-            </item>
-            <item>
-                <date>2007-07-06</date>
-                <count>18747</count>
-            </item>
-            <item>
-                <date>2007-07-05</date>
-                <count>19326</count>
-            </item>
-            <item>
-                <date>2007-07-04</date>
-                <count>17480</count>
-            </item>
-            <item>
-                <date>2007-07-03</date>
-                <count>21735</count>
-            </item>
-            <item>
-                <date>2007-07-02</date>
-                <count>21540</count>
-            </item>
-            <item>
-                <date>2007-07-01</date>
-                <count>20069</count>
-            </item>
-            <item>
-                <date>2007-06-30</date>
-                <count>17006</count>
-            </item>
-            <item>
-                <date>2007-06-29</date>
-                <count>19905</count>
-            </item>
-            <item>
-                <date>2007-06-28</date>
-                <count>21225</count>
-            </item>
-            <item>
-                <date>2007-06-27</date>
-                <count>21596</count>
-            </item>
-            <item>
-                <date>2007-06-26</date>
-                <count>22021</count>
-            </item>
-            <item>
-                <date>2007-06-25</date>
-                <count>21391</count>
-            </item>
-            <item>
-                <date>2007-06-24</date>
-                <count>15930</count>
-            </item>
-            <item>
-                <date>2007-06-23</date>
-                <count>13730</count>
-            </item>
-            <item>
-                <date>2007-06-22</date>
-                <count>18214</count>
-            </item>
-            <item>
-                <date>2007-06-21</date>
-                <count>20504</count>
-            </item>
-            <item>
-                <date>2007-06-20</date>
-                <count>22849</count>
-            </item>
-            <item>
-                <date>2007-06-19</date>
-                <count>23485</count>
-            </item>
-            <item>
-                <date>2007-06-18</date>
-                <count>21793</count>
-            </item>
-            <item>
-                <date>2007-06-17</date>
-                <count>16178</count>
-            </item>
-            <item>
-                <date>2007-06-16</date>
-                <count>16053</count>
-            </item>
-            <item>
-                <date>2007-06-15</date>
-                <count>20732</count>
-            </item>
-            <item>
-                <date>2007-06-14</date>
-                <count>21946</count>
-            </item>
-            <item>
-                <date>2007-06-13</date>
-                <count>22717</count>
-            </item>
-            <item>
-                <date>2007-06-12</date>
-                <count>23057</count>
-            </item>
-            <item>
-                <date>2007-06-11</date>
-                <count>23347</count>
-            </item>
-            <item>
-                <date>2007-06-10</date>
-                <count>17675</count>
-            </item>
-            <item>
-                <date>2007-06-09</date>
-                <count>14928</count>
-            </item>
-            <item>
-                <date>2007-06-08</date>
-                <count>19405</count>
-            </item>
-            <item>
-                <date>2007-06-07</date>
-                <count>21356</count>
-            </item>
-            <item>
-                <date>2007-06-06</date>
-                <count>21845</count>
-            </item>
-            <item>
-                <date>2007-06-05</date>
-                <count>21843</count>
-            </item>
-            <item>
-                <date>2007-06-04</date>
-                <count>23465</count>
-            </item>
-            <item>
-                <date>2007-06-03</date>
-                <count>18988</count>
-            </item>
-            <item>
-                <date>2007-06-02</date>
-                <count>17831</count>
-            </item>
-            <item>
-                <date>2007-06-01</date>
-                <count>21835</count>
-            </item>
-            <item>
-                <date>2007-05-31</date>
-                <count>25020</count>
-            </item>
-            <item>
-                <date>2007-05-30</date>
-                <count>24503</count>
-            </item>
-            <item>
-                <date>2007-05-29</date>
-                <count>24012</count>
-            </item>
-            <item>
-                <date>2007-05-28</date>
-                <count>21886</count>
-            </item>
-            <item>
-                <date>2007-05-27</date>
-                <count>16315</count>
-            </item>
-            <item>
-                <date>2007-05-26</date>
-                <count>15197</count>
-            </item>
-            <item>
-                <date>2007-05-25</date>
-                <count>19829</count>
-            </item>
-            <item>
-                <date>2007-05-24</date>
-                <count>22112</count>
-            </item>
-            <item>
-                <date>2007-05-23</date>
-                <count>23377</count>
-            </item>
-            <item>
-                <date>2007-05-22</date>
-                <count>22755</count>
-            </item>
-            <item>
-                <date>2007-05-21</date>
-                <count>22927</count>
-            </item>
-            <item>
-                <date>2007-05-20</date>
-                <count>17978</count>
-            </item>
-            <item>
-                <date>2007-05-19</date>
-                <count>15233</count>
-            </item>
-        </items>
-    </document>
-</tapi>

+ 0 - 15
tests/Zend/Service/Technorati/_files/TestError.xml

@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a generic request
-
--->
-<!-- generator="Technorati API version 1.0 /keyinfo" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Something weird happens!</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestGetInfoError.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a GetInfo request
-    http://api.technorati.com/getinfo?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /getinfo" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Username is a required field.</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 55
tests/Zend/Service/Technorati/_files/TestGetInfoResult.xml

@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a GetInfo request
-    http://api.technorati.com/getinfo?key=VALID_API_KEY&username=weppos
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `weblog` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0 /getinfo" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <username>weppos</username>
-            <firstname>Simone</firstname>
-            <lastname>Carletti</lastname>
-        </result>
-        <item>
-            <weblog>
-                <name> coComment -</name>
-                <url>http://www.cocomment.com/comments/weppos</url>
-                <rssurl>http://cocomment.com/myrss2/weppos.rss</rssurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-09-18 07:58:43 GMT</lastupdate>
-                <rank>2929077</rank>
-                <lat>0.0</lat>
-                <lon>0.0</lon>
-            </weblog>
-        </item>
-        <item>
-            <weblog>
-                <name>RSS World - Un mondo dedicato al formato RSS, Atom e Blog</name>
-                <url>http://www.rss-world.info</url>
-                <description>Dedicato ai formati RSS e Atom propone informazioni, articoli e risorse sul linguaggio con approfondimenti su blog e podcast.</description>
-                <rssurl>http://www.rss-world.info/feed/risorse.xml</rssurl>
-                <atomurl>http://www.rss-world.info/feed/news.xml</atomurl>
-                <inboundblogs>121</inboundblogs>
-                <inboundlinks>285</inboundlinks>
-                <lastupdate>2006-11-03 14:08:11 GMT</lastupdate>
-                <rank>64696</rank>
-                <lat>0.0</lat>
-                <lon>0.0</lon>
-                <lang>26230</lang>
-            </weblog>
-        </item>
-    </document>
-</tapi>
-

+ 0 - 114
tests/Zend/Service/Technorati/_files/TestGetInfoSuccess.xml

@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a GetInfo request
-    http://api.technorati.com/getinfo?key=VALID_API_KEY&username=weppos
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `weblog` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0 /getinfo" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <username>weppos</username>
-            <firstname>Simone</firstname>
-            <lastname>Carletti</lastname>
-        </result>
-        <item>
-            <weblog>
-                <name> coComment -</name>
-                <url>http://www.cocomment.com/comments/weppos</url>
-                <rssurl>http://cocomment.com/myrss2/weppos.rss</rssurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-09-18 07:58:43 GMT</lastupdate>
-                <rank>2929077</rank>
-                <lat>0.0</lat>
-                <lon>0.0</lon>
-            </weblog>
-        </item>
-        <item>
-            <weblog>
-                <name>RSS World - Un mondo dedicato al formato RSS, Atom e Blog</name>
-                <url>http://www.rss-world.info</url>
-                <description>Dedicato ai formati RSS e Atom propone informazioni, articoli e risorse sul linguaggio con approfondimenti su blog e podcast.</description>
-                <rssurl>http://www.rss-world.info/feed/risorse.xml</rssurl>
-                <atomurl>http://www.rss-world.info/feed/news.xml</atomurl>
-                <inboundblogs>121</inboundblogs>
-                <inboundlinks>285</inboundlinks>
-                <lastupdate>2006-11-03 14:08:11 GMT</lastupdate>
-                <rank>64696</rank>
-                <lat>0.0</lat>
-                <lon>0.0</lon>
-                <lang>26230</lang>
-            </weblog>
-        </item>
-        <item>
-            <weblog>
-                <name>Vino e Salute: Il potere curativo del vino</name>
-                <url>http://www.vino-salute.com</url>
-                <description>Un viaggio alla scoperta dei poteri terapeutici, degli effetti benefici e curativi del vino sul nostro organismo.</description>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-10-19 04:42:34 GMT</lastupdate>
-                <rank>2929077</rank>
-                <lat>0.0</lat>
-                <lon>0.0</lon>
-                <lang>26230</lang>
-            </weblog>
-        </item>
-        <item>
-            <weblog>
-                <name>ASP Stats Generator Blog</name>
-                <url>http://blog.asp-stats.com</url>
-                <rssurl>http://blog.asp-stats.com/index.php/feed/</rssurl>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>7</inboundlinks>
-                <lastupdate>2006-06-22 12:03:49 GMT</lastupdate>
-                <rank>2929077</rank>
-                <lat>0.0</lat>
-                <lon>0.0</lon>
-                <lang>26110</lang>
-            </weblog>
-        </item>
-        <item>
-            <weblog>
-                <name>Simone Carletti's Blog</name>
-                <url>http://www.simonecarletti.com/blog</url>
-                <description>Un piccolo spazio nel web dedicato a marketing, feed e motori di ricerca.</description>
-                <atomurl>http://www.simonecarletti.com/blog/index.xml</atomurl>
-                <inboundblogs>86</inboundblogs>
-                <inboundlinks>114</inboundlinks>
-                <lastupdate>2007-11-14 19:45:06 GMT</lastupdate>
-                <rank>96928</rank>
-                <lat>41.706</lat>
-                <lon>12.69</lon>
-                <lang>26230</lang>
-            </weblog>
-        </item>
-        <item>
-            <weblog>
-                <name>Daily Feed: Directory di blog e feed Rss/Atom</name>
-                <url>http://dailyfeed.rss-world.info</url>
-                <description>Directory multitematica di siti che propongono feed Atom ed RSS.</description>
-                <rssurl>http://dailyfeed.rss-world.info/index.xml</rssurl>
-                <atomurl>http://www.rss-world.info/feed/news.xml</atomurl>
-                <inboundblogs>2</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-08-13 09:59:20 GMT</lastupdate>
-                <rank>2929077</rank>
-                <lat>0.0</lat>
-                <lon>0.0</lon>
-                <lang>26230</lang>
-            </weblog>
-        </item>
-    </document>
-</tapi>
-

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestKeyInfoError.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a KeyInfo request
-    http://api.technorati.com/keyinfo?key=foo
-
--->
-<!-- generator="Technorati API version 1.0 /keyinfo" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Invalid key. Please visit http://technorati.com/developers/apikey.html to obtain a valid key.</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestKeyInfoResult.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a KeyInfo request
-    http://api.technorati.com/keyinfo?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /keyinfo" -->
-<tapi version="1.0">
-    <document>
-        <result>
-            <apiqueries>27</apiqueries>
-            <maxqueries>1500</maxqueries>
-        </result>
-    </document>
-</tapi>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestKeyInfoSuccess.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a KeyInfo request
-    http://api.technorati.com/keyinfo?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /keyinfo" -->
-<tapi version="1.0">
-    <document>
-        <result>
-            <apiqueries>0</apiqueries>
-            <maxqueries>500</maxqueries>
-        </result>
-    </document>
-</tapi>

+ 0 - 70
tests/Zend/Service/Technorati/_files/TestSearchResultSet.xml

@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Search request
-    http://api.technorati.com/search?key=VALID_API_KEY&query=google
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `author` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0 /search" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <query>google</query>
-            <querycount>4298362</querycount>
-            <rankingstart/>
-        </result>
-        <item>
-            <weblog>
-                <name>Mi otro blog… </name>
-                <url>http://blogs.eurielec.etsit.upm.es/miotroblog</url>
-                <rssurl>http://blogs.eurielec.etsit.upm.es/miotroblog/?feed=rss2</rssurl>
-                <atomurl/>
-                <inboundblogs>12</inboundblogs>
-                <inboundlinks>20</inboundlinks>
-                <lastupdate>2007-11-14 22:18:04 GMT</lastupdate>
-            </weblog>
-            <title>El SDK de Android ya está disponible</title>
-            <excerpt> [ Android]Este pasado lunes se publicó el SDK (Software Development Kit) de Android, el paquete de software para móviles presentado por &lt;strong class="keyword"&gt;Google&lt;/strong&gt; y la Open Handset Alliance ...  que cualquier desarrollador pueda construir aplicaciones para Android, se puede descargar de &lt;strong class="keyword"&gt;Google&lt;/strong&gt; Code, dónde</excerpt>
-            <created>2007-11-14 22:18:04 GMT</created>
-            <permalink>http://blogs.eurielec.etsit.upm.es/miotroblog/?p=271</permalink>
-        </item>
-        <item>
-            <weblog>
-                <name>インフォトップでバクバク稼ぐ</name>
-                <url>http://infotop60-02.269g.net</url>
-                <rssurl>http://infotop60-02.269g.net/index.rdf</rssurl>
-                <atomurl/>
-                <inboundblogs>0</inboundblogs>
-                <inboundlinks>0</inboundlinks>
-                <lastupdate>2007-11-14 22:11:46 GMT</lastupdate>
-            </weblog>
-            <title>質の超濃い読者をどかんと5000件集めます〔インフォトップ アフィリエイト〕</title>
-            <excerpt>出現パターンしかなかった!?負ける理由が見つからない・徹底したリスク管理で、女性や初めての方でも安心して取り組めますインフォトップ全商材対応!!完全自動ブログ更新ツール!! きっとあなたのアフィリエイト生活・・  楽しくないでしょやっと アフィリエイト で 稼ぐ ことが出来ることを【確信】したからです 私が今まで、 アフィリエイト をする時には、 インフォトップ 、 インフォカート 、他にも色々 ASP を使ってきましたが… ここまで好条件の ASP超簡単 毎日 seesaa ブログアフィリエイト aaa 記事 &lt;strong class="keyword"&gt;GooGle&lt;/strong&gt; 再販 顧客心理 sexi RSS 主婦 株 オークション ライティング せどり sns fc2 メール 万 ネット 稼ぐ 初心者 億万長者 知恵蔵 モバ</excerpt>
-            <created>2007-11-14 22:11:46 GMT</created>
-            <permalink>http://infotop60-02.269g.net/article/6594548.html</permalink>
-        </item>
-        <item>
-            <weblog>
-                <name>Tecno Wappy </name>
-                <url>http://tecno.wappy.ws</url>
-                <rssurl>http://feeds.feedburner.com/tecno-wappy</rssurl>
-                <atomurl/>
-                <inboundblogs>19</inboundblogs>
-                <inboundlinks>795</inboundlinks>
-                <lastupdate>2007-11-14 22:16:55 GMT</lastupdate>
-            </weblog>
-            <title>AdSense: Cambios en las zonas de los clics</title>
-            <excerpt>AdSense: Cambios en las zonas de los clics  Por Nicolás — sin comentarios »    Por medio del Blog de Dirson y una entrada en sus foros, nos enteramos que &lt;strong class="keyword"&gt;Google&lt;/strong&gt; AdSense esta llevando a cabo ciertas modificaciones en el comportamiento ...  desde hace unas cuantas semanas atrás, por lo técnicos de &lt;strong class="keyword"&gt;Google&lt;/strong&gt;.    El ajuste que ha hecho &lt;strong class="keyword"&gt;Google&lt;/strong&gt; es</excerpt>
-            <created>2007-11-14 22:16:55 GMT</created>
-            <permalink>http://tecno.wappy.ws/2007/11/15/adsense-cambios-en-las-zonas-de-los-clics.html</permalink>
-        </item>
-    </document>
-</tapi>

+ 0 - 55
tests/Zend/Service/Technorati/_files/TestSearchSuccess.xml

@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Search request
-    http://api.technorati.com/search?key=VALID_API_KEY&query=google
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `author` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0 /search" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <query>google</query>
-            <querycount>4298362</querycount>
-            <rankingstart/>
-        </result>
-        <item>
-            <weblog>
-                <name>Mi otro blog… </name>
-                <url>http://blogs.eurielec.etsit.upm.es/miotroblog</url>
-                <rssurl>http://blogs.eurielec.etsit.upm.es/miotroblog/?feed=rss2</rssurl>
-                <atomurl/>
-                <inboundblogs>12</inboundblogs>
-                <inboundlinks>20</inboundlinks>
-                <lastupdate>2007-11-14 22:18:04 GMT</lastupdate>
-            </weblog>
-            <title>El SDK de Android ya está disponible</title>
-            <excerpt> [ Android]Este pasado lunes se publicó el SDK (Software Development Kit) de Android, el paquete de software para móviles presentado por &lt;strong class="keyword"&gt;Google&lt;/strong&gt; y la Open Handset Alliance ...  que cualquier desarrollador pueda construir aplicaciones para Android, se puede descargar de &lt;strong class="keyword"&gt;Google&lt;/strong&gt; Code, dónde</excerpt>
-            <created>2007-11-14 22:18:04 GMT</created>
-            <permalink>http://blogs.eurielec.etsit.upm.es/miotroblog/?p=271</permalink>
-        </item>
-        <item>
-            <weblog>
-                <name>Quick Aid For Everyone</name>
-                <url>http://quickaid4me.com</url>
-                <rssurl/>
-                <atomurl/>
-                <inboundblogs>1</inboundblogs>
-                <inboundlinks>2</inboundlinks>
-                <lastupdate>2007-11-14 22:17:28 GMT</lastupdate>
-            </weblog>
-            <title>KitchenAid Stand Mixer Owners Manual</title>
-            <excerpt>KitchenAid Stand Mixer Owners Manual  by Kitchen aid stand mixer   Converting Your Recipe for the Mixer The mixing instructions for recipes in this ...  Mixer Owners Manual at &lt;strong class="keyword"&gt;Google&lt;/strong&gt; Blog Search: kitchen aid stand mixer    Tag: Kitchen aid stand mixer   </excerpt>
-            <created>2007-11-14 22:17:28 GMT</created>
-            <permalink>http://quickaid4me.com/category/kitchen-aid-stand-mixer/224/kitchenaid-stand-mixer-owners-manual/</permalink>
-        </item>
-    </document>
-</tapi>

+ 0 - 16
tests/Zend/Service/Technorati/_files/TestTagError.xml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a Tag request
-    http://api.technorati.com/tag?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /tag" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <error>Invalid request.</error>
-        </result>
-    </document>
-</tapi>

+ 0 - 87
tests/Zend/Service/Technorati/_files/TestTagResultSet.xml

@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Tag request
-    http://api.technorati.com/tag?key=VALID_API_KEY&tag=google
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `author` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <query>google</query>
-            <postsmatched>268877</postsmatched>
-            <blogsmatched>1812</blogsmatched>
-            <start>1</start>
-            <limit>3</limit>
-            <querytime>2.109</querytime>
-        </result>
-        <item>
-            <weblog>
-                <name>Apple Rocker Report</name>
-                <url>http://apple.rockerreport.com</url>
-                <rssurl>http://apple.rockerreport.com/blog/1/feed</rssurl>
-                <atomurl/>
-                <inboundlinks>197</inboundlinks>
-                <inboundblogs>17</inboundblogs>
-                <lastupdate>2007-11-14 22:01:43</lastupdate>
-                <hasphoto/>
-            </weblog>
-            <title>Apple number one when you type "store"</title>
-            <excerpt> Type "store" in Google and no you do not get Google store as the number one result, but in fact the Apple store comes up, wow!</excerpt>
-            <created>2007-11-14 22:01:43</created>
-            <postupdate>2007-11-14 22:02:11</postupdate>
-            <permalink>http://apple.rockerreport.com/apple_number_one_when_you_type_store</permalink>
-        </item>
-        <item>
-            <weblog>
-                <name> ScienceRoll</name>
-                <url>http://scienceroll.com</url>
-                <rssurl/>
-                <atomurl/>
-                <inboundlinks>1341</inboundlinks>
-                <inboundblogs>357</inboundblogs>
-                <lastupdate>2007-11-14 21:52:11</lastupdate>
-                <hasphoto/>
-                <author>
-                    <firstname>Bertalan</firstname>
-                    <lastname>Meskó</lastname>
-                    <username>NCurse</username>
-                    <description>A journey inside medicine and genetics. I try to make medicine, genetics more readable even for those who don't like these too much. And I also write about pop-medicine.</description>
-                    <bio/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=419980</thumbnailpicture>
-                </author>
-            </weblog>
-            <title>Permalink for : VerveEarth: Locate Your Blog!</title>
-            <excerpt>VerveEarth: Locate Your Blog!  Posted by Bertalan Meskó in Community Site, Google, RSS, Web 2.0.  </excerpt>
-            <created>2007-11-14 21:52:11</created>
-            <postupdate>2007-11-14 21:57:59</postupdate>
-            <permalink>http://scienceroll.com/2007/11/14/verveearth-locate-your-blog/</permalink>
-        </item>
-        <item>
-            <weblog>
-                <name>Linux, Open Source, Mandriva :: thecamels.org :: Artykuły, Newsy, Download</name>
-                <url>http://thecamels.org</url>
-                <rssurl>http://thecamels.org/feed/</rssurl>
-                <atomurl>http://thecamels.org/feed/atom/</atomurl>
-                <inboundlinks>28</inboundlinks>
-                <inboundblogs>11</inboundblogs>
-                <lastupdate>2007-11-14 21:29:39</lastupdate>
-                <hasphoto/>
-            </weblog>
-            <title>Luka w Firefoksie obejmuje użytkowników Gmail</title>
-            <excerpt>Odkryta dziura w przeglądarce Firefox związana z protokołem JAR pozwala na wykorzystanie jej w celu </excerpt>
-            <created>2007-11-14 21:47:54</created>
-            <postupdate>2007-11-14 21:51:46</postupdate>
-            <permalink>http://thecamels.org/2007/11/14/luka-w-firefoksie-obejmuje-uzytkownikow-gmail/</permalink>
-        </item>
-    </document>
-</tapi>

+ 0 - 70
tests/Zend/Service/Technorati/_files/TestTagSuccess.xml

@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Tag request
-    http://api.technorati.com/tag?key=VALID_API_KEY&tag=google
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `author` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <query>google</query>
-            <postsmatched>268877</postsmatched>
-            <blogsmatched/>
-            <start>1</start>
-            <limit>2</limit>
-            <querytime>2.109</querytime>
-        </result>
-        <item>
-            <weblog>
-                <name>Apple Rocker Report</name>
-                <url>http://apple.rockerreport.com</url>
-                <rssurl>http://apple.rockerreport.com/blog/1/feed</rssurl>
-                <atomurl/>
-                <inboundlinks>197</inboundlinks>
-                <inboundblogs>17</inboundblogs>
-                <lastupdate>2007-11-14 22:01:43</lastupdate>
-                <hasphoto/>
-            </weblog>
-            <title>Apple number one when you type "store"</title>
-            <excerpt> Type "store" in Google and no you do not get Google store as the number one result, but in fact the Apple store comes up, wow!</excerpt>
-            <created>2007-11-14 22:01:43</created>
-            <postupdate>2007-11-14 22:02:11</postupdate>
-            <permalink>http://apple.rockerreport.com/apple_number_one_when_you_type_store</permalink>
-        </item>
-        <item>
-            <weblog>
-                <name>Chismes Calientes</name>
-                <url>http://chismescalientitos.blogspot.com</url>
-                <rssurl/>
-                <atomurl>http://chismescalientitos.blogspot.com/feeds/posts/default</atomurl>
-                <inboundlinks>4</inboundlinks>
-                <inboundblogs>3</inboundblogs>
-                <lastupdate>2007-11-14 21:57:31</lastupdate>
-                <hasphoto/>
-                <author>
-                    <firstname/>
-                    <lastname/>
-                    <username>jmiguelus</username>
-                    <description>Chismes atrevidos y escándalos de la farándula mundial.</description>
-                    <bio/>
-                    <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=794083</thumbnailpicture>
-                </author>
-            </weblog>
-            <title>Fotos hot de Beyoncé escandaliza a vecinos</title>
-            <excerpt>[IMG ] Un poster en el que figura Beyonce Knowles ha sido etiquetado como obsceno por indignados res</excerpt>
-            <created>2007-11-14 21:57:31</created>
-            <postupdate>2007-11-14 22:01:06</postupdate>
-            <permalink>http://chismescalientitos.blogspot.com/2007/11/fotos-hot-de-beyonc-escandaliza-vecinos.html</permalink>
-        </item>
-    </document>
-</tapi>

+ 0 - 35
tests/Zend/Service/Technorati/_files/TestTagsResultSet.xml

@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Successful response returned for a Dailycounts request
-    http://api.technorati.com/toptags?key=VALID_API_KEY
-    
-    Be aware that some test cases underlined how sometimes Technorati 
-    doesn't take care of its DTD.
-    For instance, in the following response `result` node is invalid
-    according to current DTD declaration.
-    
-    See http://framework.zend.com/issues/browse/ZF-2203
-
--->
-<!-- generator="Technorati API version 1.0 /topptags" -->
-<!DOCTYPE tapi PUBLIC "-//Technorati, Inc.//DTD TAPI 0.02//EN" "http://api.technorati.com/dtd/tapi-002.xml">
-<tapi version="1.0">
-    <document>
-        <result>
-            <limit>3</limit>
-        </result>
-        <item>
-            <tag>練習用</tag>
-            <posts>19655999</posts>
-        </item>
-        <item>
-            <tag>未分類</tag>
-            <posts>9095407</posts>
-        </item>
-        <item>
-            <tag>Weblog</tag>
-            <posts>8336350</posts>
-        </item>
-    </document>
-</tapi>

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott