Modified:
/framework/trunk/piwi-crawler/Crawler.php
/framework/trunk/piwi-crawler/classes/Crawler.class.php
=======================================
--- /framework/trunk/piwi-crawler/Crawler.php Sat Oct 9 09:41:03 2010
+++ /framework/trunk/piwi-crawler/Crawler.php Mon Oct 11 10:31:47 2010
@@ -1,6 +1,6 @@
<?php
/**
- * $argv[1]: The adress of the server. E.g. 'http://127.0.0.1:80/'
+ * $argv[1]: The address of the server. E.g. 'http://127.0.0.1:80/'
* $argv[2]: The url where the crawling should be started.
E.g. 'default.html'
* $argv[3]: The languages that, apart from 'default', should be crawled.
E.g 'en,fr'
* $argv[4]: The directory where the crawled site should be placed.
E.g. 'target'
=======================================
--- /framework/trunk/piwi-crawler/classes/Crawler.class.php Tue Feb 3
03:19:31 2009
+++ /framework/trunk/piwi-crawler/classes/Crawler.class.php Mon Oct 11
10:31:47 2010
@@ -92,9 +92,9 @@
foreach ($this->formats as $format) {
echo " " . strtoupper($format) . ":\n";
foreach ($this->pagesAlreadyCrawled as $page) {
- $page->setFormat($format);
- echo $page->getURL() . "\n";
- $page->save();
+ $page->setFormat($format);
+ echo $page->getURL() . "\n";
+ $page->save();
}
}
}