Ver Fonte

Unit tests for Technorati removed

Frank Brückner há 10 anos atrás
pai
commit
e9fb54aead
66 ficheiros alterados com 1 adições e 6548 exclusões
  1. 0 2
      tests/Zend/Service/AllTests.php
  2. 0 94
      tests/Zend/Service/Technorati/AllTests.php
  3. 0 138
      tests/Zend/Service/Technorati/AuthorTest.php
  4. 0 92
      tests/Zend/Service/Technorati/BlogInfoResultTest.php
  5. 0 170
      tests/Zend/Service/Technorati/CosmosResultSetTest.php
  6. 0 129
      tests/Zend/Service/Technorati/CosmosResultTest.php
  7. 0 88
      tests/Zend/Service/Technorati/DailyCountsResultSetTest.php
  8. 0 76
      tests/Zend/Service/Technorati/DailyCountsResultTest.php
  9. 0 76
      tests/Zend/Service/Technorati/GetInfoResultTest.php
  10. 0 90
      tests/Zend/Service/Technorati/KeyInfoResultTest.php
  11. 0 131
      tests/Zend/Service/Technorati/ResultSetTest.php
  12. 0 80
      tests/Zend/Service/Technorati/ResultTest.php
  13. 0 84
      tests/Zend/Service/Technorati/SearchResultSetTest.php
  14. 0 91
      tests/Zend/Service/Technorati/SearchResultTest.php
  15. 0 90
      tests/Zend/Service/Technorati/TagResultSetTest.php
  16. 0 86
      tests/Zend/Service/Technorati/TagResultTest.php
  17. 0 85
      tests/Zend/Service/Technorati/TagsResultSetTest.php
  18. 0 83
      tests/Zend/Service/Technorati/TagsResultTest.php
  19. 0 638
      tests/Zend/Service/Technorati/TechnoratiTest.php
  20. 0 159
      tests/Zend/Service/Technorati/TestCase.php
  21. 0 102
      tests/Zend/Service/Technorati/UtilsTest.php
  22. 0 277
      tests/Zend/Service/Technorati/WeblogTest.php
  23. 0 15
      tests/Zend/Service/Technorati/_files/MISSING
  24. 0 14
      tests/Zend/Service/Technorati/_files/TestAuthor.xml
  25. 0 12
      tests/Zend/Service/Technorati/_files/TestAuthorNullFields.xml
  26. 0 16
      tests/Zend/Service/Technorati/_files/TestBlogInfoError.xml
  27. 0 19
      tests/Zend/Service/Technorati/_files/TestBlogInfoErrorUrlNotWeblog.xml
  28. 0 31
      tests/Zend/Service/Technorati/_files/TestBlogInfoResult.xml
  29. 0 32
      tests/Zend/Service/Technorati/_files/TestBlogInfoResultUrlWithInvalidSchema.xml
  30. 0 31
      tests/Zend/Service/Technorati/_files/TestBlogInfoSuccess.xml
  31. 0 16
      tests/Zend/Service/Technorati/_files/TestBlogPostTagsError.xml
  32. 0 24
      tests/Zend/Service/Technorati/_files/TestBlogPostTagsErrorUrlNotWeblog.xml
  33. 0 103
      tests/Zend/Service/Technorati/_files/TestBlogPostTagsSuccess.xml
  34. 0 16
      tests/Zend/Service/Technorati/_files/TestCosmosError.xml
  35. 0 57
      tests/Zend/Service/Technorati/_files/TestCosmosResultSet.xml
  36. 0 303
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogLink.xml
  37. 0 348
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogLinkClaim.xml
  38. 0 252
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblog.xml
  39. 0 266
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblogClaim.xml
  40. 0 293
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetBlogWeblogClaim2.xml
  41. 0 62
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteLink.xml
  42. 0 56
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteUrlWithInvalidSchema.xml
  43. 0 54
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteWeblog.xml
  44. 0 55
      tests/Zend/Service/Technorati/_files/TestCosmosResultSetSiteWeblogWithMissingInboundblogs.xml
  45. 0 47
      tests/Zend/Service/Technorati/_files/TestCosmosSuccess.xml
  46. 0 16
      tests/Zend/Service/Technorati/_files/TestDailyCountsError.xml
  47. 0 47
      tests/Zend/Service/Technorati/_files/TestDailyCountsResultSet.xml
  48. 0 747
      tests/Zend/Service/Technorati/_files/TestDailyCountsSuccess.xml
  49. 0 15
      tests/Zend/Service/Technorati/_files/TestError.xml
  50. 0 16
      tests/Zend/Service/Technorati/_files/TestGetInfoError.xml
  51. 0 55
      tests/Zend/Service/Technorati/_files/TestGetInfoResult.xml
  52. 0 114
      tests/Zend/Service/Technorati/_files/TestGetInfoSuccess.xml
  53. 0 16
      tests/Zend/Service/Technorati/_files/TestKeyInfoError.xml
  54. 0 16
      tests/Zend/Service/Technorati/_files/TestKeyInfoResult.xml
  55. 0 16
      tests/Zend/Service/Technorati/_files/TestKeyInfoSuccess.xml
  56. 0 70
      tests/Zend/Service/Technorati/_files/TestSearchResultSet.xml
  57. 0 55
      tests/Zend/Service/Technorati/_files/TestSearchSuccess.xml
  58. 0 16
      tests/Zend/Service/Technorati/_files/TestTagError.xml
  59. 0 87
      tests/Zend/Service/Technorati/_files/TestTagResultSet.xml
  60. 0 70
      tests/Zend/Service/Technorati/_files/TestTagSuccess.xml
  61. 0 35
      tests/Zend/Service/Technorati/_files/TestTagsResultSet.xml
  62. 0 16
      tests/Zend/Service/Technorati/_files/TestTopTagsError.xml
  63. 0 103
      tests/Zend/Service/Technorati/_files/TestTopTagsSuccess.xml
  64. 0 25
      tests/Zend/Service/Technorati/_files/TestWeblog.xml
  65. 0 29
      tests/Zend/Service/Technorati/_files/TestWeblogTwoAuthors.xml
  66. 1 1
      tests/runtests.sh

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

@@ -36,7 +36,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';
@@ -82,7 +81,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>

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

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Error response returned for a Toptags request
-    http://api.technorati.com/toptags?key=VALID_API_KEY
-
--->
-<!-- generator="Technorati API version 1.0 /toptags" -->
-<!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 - 103
tests/Zend/Service/Technorati/_files/TestTopTagsSuccess.xml

@@ -1,103 +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>20</limit>
-        </result>
-        <item>
-            <tag>練習用</tag>
-            <posts>19655999</posts>
-        </item>
-        <item>
-            <tag>未分類</tag>
-            <posts>9095407</posts>
-        </item>
-        <item>
-            <tag>Weblog</tag>
-            <posts>8336350</posts>
-        </item>
-        <item>
-            <tag>Life</tag>
-            <posts>6870173</posts>
-        </item>
-        <item>
-            <tag>Music</tag>
-            <posts>3693811</posts>
-        </item>
-        <item>
-            <tag>News</tag>
-            <posts>2740259</posts>
-        </item>
-        <item>
-            <tag>Blogging</tag>
-            <posts>1876351</posts>
-        </item>
-        <item>
-            <tag>Writing and poetry</tag>
-            <posts>1782247</posts>
-        </item>
-        <item>
-            <tag>日常</tag>
-            <posts>1653909</posts>
-        </item>
-        <item>
-            <tag>雑記</tag>
-            <posts>1581913</posts>
-        </item>
-        <item>
-            <tag>Romance and Relationships</tag>
-            <posts>1551242</posts>
-        </item>
-        <item>
-            <tag>Friends</tag>
-            <posts>1296840</posts>
-        </item>
-        <item>
-            <tag>Diary</tag>
-            <posts>1173377</posts>
-        </item>
-        <item>
-            <tag>общие</tag>
-            <posts>1157059</posts>
-        </item>
-        <item>
-            <tag>その他</tag>
-            <posts>1071083</posts>
-        </item>
-        <item>
-            <tag>Blog</tag>
-            <posts>1015232</posts>
-        </item>
-        <item>
-            <tag>ゲーム</tag>
-            <posts>996613</posts>
-        </item>
-        <item>
-            <tag>音楽</tag>
-            <posts>969464</posts>
-        </item>
-        <item>
-            <tag>Politics</tag>
-            <posts>967007</posts>
-        </item>
-        <item>
-            <tag>心情</tag>
-            <posts>944025</posts>
-        </item>
-    </document>
-</tapi>

+ 0 - 25
tests/Zend/Service/Technorati/_files/TestWeblog.xml

@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Weblog XML fragment.
-    
--->
-<weblog>
-    <name>Roby Web World Italia</name>
-    <url>http://robyww.blogspot.com</url>
-    <atomurl>http://robyww.blogspot.com/feeds/posts/atom</atomurl>
-    <rssurl>http://robyww.blogspot.com/feeds/posts/rss</rssurl>
-    <inboundblogs>71</inboundblogs>
-    <inboundlinks>103</inboundlinks>
-    <lastupdate>2007-11-11 08:47:26 GMT</lastupdate>
-    <rank>93473</rank>
-    <!-- available only in Cosmos <result> tag -->
-    <rankingstart>1</rankingstart>
-    <author>
-        <username>rfilippini</username>
-        <firstname>Roberto</firstname>
-        <lastname>Filippini</lastname>
-        <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=290763</thumbnailpicture>
-    </author>
-</weblog>
-

+ 0 - 29
tests/Zend/Service/Technorati/_files/TestWeblogTwoAuthors.xml

@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
-
-    Weblog XML fragment.
-    
--->
-<weblog>
-    <name>Roby Web World Italia</name>
-    <url>http://robyww.blogspot.com</url>
-    <atomurl>http://robyww.blogspot.com/feeds/posts/atom</atomurl>
-    <rssurl>http://robyww.blogspot.com/feeds/posts/rss</rssurl>
-    <inboundblogs>71</inboundblogs>
-    <inboundlinks>103</inboundlinks>
-    <lastupdate>2007-11-11 08:47:26 GMT</lastupdate>
-    <rank>93473</rank>
-    <author>
-        <username>rfilippini</username>
-        <firstname>Roberto</firstname>
-        <lastname>Filippini</lastname>
-        <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=290763</thumbnailpicture>
-    </author>
-    <author>
-        <username>Rinzi</username>
-        <firstname>Simone</firstname>
-        <lastname>Rinzivillo</lastname>
-        <thumbnailpicture>http://static.technorati.com/progimages/photo.jpg?uid=377409</thumbnailpicture>
-    </author>
-</weblog>
-

+ 1 - 1
tests/runtests.sh

@@ -47,7 +47,7 @@ while [ -n "$1" ] ; do
      PHPUNIT_GROUPS="" 
      break ;;
 
-    Akismet|Amazon|Amazon_Ec2|Amazon_S3|Amazon_Sqs|Audioscrobbler|Delicious|Flickr|LiveDocx|ReCaptcha|Simpy|SlideShare|StrikeIron|Technorati|Twitter|WindowsAzure|Yahoo)
+    Akismet|Amazon|Amazon_Ec2|Amazon_S3|Amazon_Sqs|Audioscrobbler|Delicious|Flickr|LiveDocx|ReCaptcha|Simpy|SlideShare|StrikeIron|Twitter|WindowsAzure|Yahoo)
      PHPUNIT_GROUPS="${PHPUNIT_GROUPS:+"$PHPUNIT_GROUPS,"}Zend_Service_$1" 
      shift ;;
     Ec2|S3)