<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>westworld: a webmasters best friend &#187; a note to self</title>
	<atom:link href="http://www.westworld.be/category/a-note-to-self/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.westworld.be</link>
	<description>A webmasters best friend</description>
	<lastBuildDate>Tue, 22 Nov 2011 10:58:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Cleaning up after an emailing</title>
		<link>http://www.westworld.be/a-note-to-self/cleaning-up-after-an-emailing/</link>
		<comments>http://www.westworld.be/a-note-to-self/cleaning-up-after-an-emailing/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 15:48:23 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[PHP IMAP]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=168</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/cleaning-up-after-an-emailing/" title="Cleaning up after an emailing"></a>As a web master, I often send out mass mailings. After the mailing is done, the bounced emails are returned to my Outlook. I go through them manually. The real bouncers are put in a &#8220;Bounced&#8221; folder and,  Out of &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/cleaning-up-after-an-emailing/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/cleaning-up-after-an-emailing/" title="Cleaning up after an emailing"></a><p>As a web master, I often send out mass mailings. After the mailing is done, the bounced emails are returned to my Outlook. I go through them manually. The real bouncers are put in a &#8220;Bounced&#8221; folder and,  Out of office messages in the &#8220;Trash&#8221;. The rest of the emails are addresses I need to update in my database or people that wish to unsubscribe. Since sorting through 2000 bouncers can take up a lot of time, I did some research on how to automate this.</p>
<p>PHP offers a set of functions to connect to a mail server (IMAP/POP3).  The plan was to let my web server connect to the mail server and sort out the bouncers for me. Below is a little script to give you some ideas of what I came up with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/cleaning-up-after-an-emailing/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>__autoload function</title>
		<link>http://www.westworld.be/a-note-to-self/__autoload-function/</link>
		<comments>http://www.westworld.be/a-note-to-self/__autoload-function/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 08:05:07 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[autoload exception]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=108</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/__autoload-function/" title="__autoload function"></a>Some info,snippets on PHP5 autoload function: function __autoload($className) { include_once __autoloadFilename($className); } function __autoloadFilename($className) { return str_replace('_','/',$className).".php"; } $class = new myclass(); When a Class is not found, php will pass the classname to the __autoload function. You can name &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/__autoload-function/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/__autoload-function/" title="__autoload function"></a><p>Some info,snippets on PHP5 autoload function:</p>
<p><code>function __autoload($className) {<br />
include_once __autoloadFilename($className);<br />
}<br />
function __autoloadFilename($className) {<br />
return str_replace('_','/',$className).".php";<br />
}<br />
$class = new myclass();</code></p>
<p>When a Class is not found, php will pass the classname to the __autoload function.<br />
You can name your class like Folder1_Folder1a_Myclass and this function will look for it in Folder1/Folder1a/Myclass.php</p>
<p>You can put multiple classes in one folder and still make this work by creating a link to the correct file.<br />
On Unix, Linux machines use the command &#8220;ln -s targetfile.php nonexistingclassfile.php&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/__autoload-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prototype: submit multiple select with ajax call</title>
		<link>http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/</link>
		<comments>http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 12:45:37 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[Prototype js multiple select]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=107</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/" title="Prototype: submit multiple select with ajax call"></a>Beware when posting data from a multiple select through ajax. You can&#8217;t send an array with a Prototype ajax call. expl. function postmydata(){ new Ajax.Request(&#8216;data.php&#8217;, { method:&#8217;post&#8217;, parameters: {selectdata: $F(&#8216;myselect&#8217;)}, onSuccess: function(transport){ var response = transport.responseText &#124;&#124; alert(&#8220;couldn&#8217;t add data&#8221;); &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/" title="Prototype: submit multiple select with ajax call"></a><p>Beware when posting data from a multiple select through ajax. You can&#8217;t send an array with a Prototype ajax call.</p>
<p>expl.</p>
<p>function postmydata(){<br />
new Ajax.Request(&#8216;data.php&#8217;,<br />
{<br />
method:&#8217;post&#8217;,<br />
parameters: {selectdata: $F(&#8216;myselect&#8217;)},<br />
onSuccess: function(transport){<br />
var response = transport.responseText || alert(&#8220;couldn&#8217;t add data&#8221;);<br />
$(&#8216;mydiv&#8217;).update(response);<br />
},<br />
onFailure: function(){ $(&#8216;mydiv&#8217;).update(&#8216;error&#8217;); }<br />
});<br />
}</p>
<p>This won&#8217;t work. Your php page will not get an array.</p>
<p>Solution</p>
<p>replace the parameter part with:<br />
parameters: {selectdata: $F(&#8216;myselect&#8217;).join(&#8220;,&#8221;)}, // this will send a comma seperated string<br />
In your php code use:<br />
$myselect = = explode(&#8216;,&#8217;,$_POST['selectdata']);<br />
<h4>Related Blogs</h4>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none">Related Blogs on <b></b></li>
<li><a href="http://www.spottedhere.com/dallas/club/joyce+nightclub">Joyce Dallas</a>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/prototype-submit-multiple-select-with-ajax-call/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google analytics api &#8211; no PHP</title>
		<link>http://www.westworld.be/a-note-to-self/google-analytics-api-no-php/</link>
		<comments>http://www.westworld.be/a-note-to-self/google-analytics-api-no-php/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 08:54:21 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[Curl Analytics Google]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=79</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/google-analytics-api-no-php/" title="Google analytics api - no PHP"></a>Google finally released an api for Analytics this month. The example code includes code for java and javascript but no PHP. Fortunatly The electric toolbox hosts some example data of how it can be used with Curl.]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/google-analytics-api-no-php/" title="Google analytics api - no PHP"></a><p>Google finally released an api for Analytics this month. The example code includes code for java and javascript but no PHP. Fortunatly <a href="http://www.electrictoolbox.com/php-class-google-analytics-api/">The electric toolbox</a> hosts some example data of how it can be used with Curl.</p>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none"></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/google-analytics-api-no-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>usersniffing: visitors from a dogs point of view</title>
		<link>http://www.westworld.be/a-note-to-self/usersniffing-visitors-from-a-dogs-point-of-view/</link>
		<comments>http://www.westworld.be/a-note-to-self/usersniffing-visitors-from-a-dogs-point-of-view/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 13:36:44 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[sniffing]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=71</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/usersniffing-visitors-from-a-dogs-point-of-view/" title="usersniffing: visitors from a dogs point of view"></a>Companys put a lot of time and effort in creating compelling websites. Tons of resources are spend to ensure sites add to sales. But is all this money well spend? Thats what analytics software should clarify. Tools like Google Analytics, &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/usersniffing-visitors-from-a-dogs-point-of-view/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/usersniffing-visitors-from-a-dogs-point-of-view/" title="usersniffing: visitors from a dogs point of view"></a><p>Companys put a lot of time and effort in creating compelling websites. Tons of resources are spend to ensure sites add to sales. But is all this money well spend? Thats what analytics software should clarify. Tools like Google Analytics, AWstats,&#8230; give a wide overview of visitors, time on site, conversions and other usefull information. But what if this is not enough? What if you want to target your visitors in a more personal way. What follows are some of the options that I found and that could help you change your content on a page per page level.</p>
<p><strong>GeoIP:</strong><br />
This tool allows you to check the visitors ip adres and make an estimated guess as to where he/she is from. <a href="http://www.maxmind.com/app/ip-location">Maxmind</a> offers a free and a licensed version for GeoIP Country and GeoIP City.<br />
I tried out the free version and it gave me:</p>
<ul>
<li>country code</li>
<li>city</li>
<li>Postal code</li>
<li>latitude &#8211; longitude</li>
</ul>
<p>Device<a href="http://www.handsetdetection.com/devices/properties"></a></p>
<p><a href="http://www.handsetdetection.com/devices/properties">Handsetdetection.com</a> has a big list of hardware it can detect. Even Kindle 2 is included.</p>
<p><strong>PHP</strong></p>
<p>With php you have a few tools to analyse your visitors. Just like GeoIP, you cannot be 100% sure. Some of the data that gets send to the server can be manipulated. Here are some of the things that I use.</p>
<p>$_SERVER referer. What is the page that the visitor was on before he came to the current.<br />
<a href="http://be.php.net/function.get-browser">get_browser</a> A php function that uses an ini file to detect browserinfo.</p>
<p><strong>CSS, HTML and Javascript</strong></p>
<ul>
<li><a rel="nofollow" href="http://ha.ckers.org/weird/CSS-history-hack.html">css history</a>: a css-javascript trick to check visited sites from a list. This is a very old bug but noone seems to be fixing it. <a rel="nofollow" href="http://www.merchantos.com/makebeta/tools/spyjax/">Spajax</a> is a good example of this. <a rel="nofollow" href="https://www.blackhat.com/presentations/bh-usa-07/Grossman/Whitepaper/bh-usa-07-grossman-WP.pdf">[Blackhat</a>]</li>
<li><a rel="nofollow" href="http://www.quirksmode.org/css/condcom.html">conditional comments</a> Test if a visitor uses Internet Explorer, Microsoft office [<a rel="nofollow" href="http://www.sitepoint.com/blogs/2008/07/18/conditional-comments-for-html-email/">*</a>]</li>
<li> <a rel="nofollow" href="http://www.mikeonads.com/2008/07/13/using-your-browser-url-history-estimate-gender/">estimate gender</a>: build ontop of the css history hack. Script to guess visitors gender.</li>
<li><a rel="nofollow" href="http://www.azarask.in/blog/post/socialhistoryjs/">socialhistory</a>: uses the css history hack to track your bookmark sites.</li>
<li><a href="http://kentbrewster.com/patching-privacy-leaks/">privacy leaks<br />
</a></li>
<li><a href="http://kentbrewster.com/amazon-wish-lists-are-dreadfully-insecure/">Amazon wishlist</a></li>
<li><a href="http://jeremiahgrossman.blogspot.com/2009/03/detecting-private-browsing-mode.html">detect private browsing</a></li>
<li><a href="http://jeremiahgrossman.blogspot.com/2008/10/clickjacking-web-pages-can-see-and-hear.html">clickjacking</a> [this is pure evil and should not be used in marketing, yuk]</li>
</ul>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none"></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/usersniffing-visitors-from-a-dogs-point-of-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>performance checklist AS3</title>
		<link>http://www.westworld.be/a-note-to-self/performance-checklist-as3/</link>
		<comments>http://www.westworld.be/a-note-to-self/performance-checklist-as3/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 10:59:42 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[PDFlib]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=77</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/performance-checklist-as3/" title="performance checklist AS3"></a>cach bitmaps when possible use correct object types: int and unit instead of Number if possible set mouseEnabled and mouseChildren to fals for items that don&#8217;t use mouseevents keep only the objects that you use and when you use them. &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/performance-checklist-as3/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/performance-checklist-as3/" title="performance checklist AS3"></a><ul>
<li>cach bitmaps when possible</li>
<li>use correct object types: int and unit instead of Number if possible</li>
<li>set mouseEnabled and mouseChildren to fals for items that don&#8217;t use mouseevents</li>
<li>keep only the objects that you use and when you use them. Assign null when nolonger needed</li>
<li><a href="http://lab.polygonal.de/2007/05/10/bitwise-gems-fast-integer-math/" rel="nofollow">Bitwise math</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/performance-checklist-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unchecked checkbox not in $_POST</title>
		<link>http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/</link>
		<comments>http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 10:34:11 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[$_POST]]></category>
		<category><![CDATA[checkbox]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=68</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/" title="unchecked checkbox not in $_POST"></a>Iamcam posted a good hack on his blog. It makes your unchecked checkboxes show up in the $_POST on the server. It&#8217;s very simple and doesn&#8217;t need javascript. &#60;input type="hidden" name="box1" value="0" /&#62; &#60;input type="checkbox" name="box1" value="1" /&#62; If the &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/" title="unchecked checkbox not in $_POST"></a><p><a href="http://iamcam.wordpress.com/2008/01/15/unchecked-checkbox-values/" rel="nofollow">Iamcam</a> posted a good hack on his blog. It makes your unchecked checkboxes show up in the $_POST on the server.<br />
It&#8217;s very simple and doesn&#8217;t need javascript.</p>
<p><code>&lt;input type="hidden" name="box1" value="0" /&gt;<br />
&lt;input type="checkbox" name="box1" value="1" /&gt;</code></p>
<p>If the checkbox is not checked then the value of the hidden input is submited, else the value of the checkbox.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/uncheck-checkpost-not-in-_post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>scraping your pc for mp3 files</title>
		<link>http://www.westworld.be/a-note-to-self/scraping-your-pc-for-mp3-files/</link>
		<comments>http://www.westworld.be/a-note-to-self/scraping-your-pc-for-mp3-files/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 14:37:39 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[PDFlib]]></category>
		<category><![CDATA[scrape]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=67</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/scraping-your-pc-for-mp3-files/" title="scraping your pc for mp3 files"></a>The following is a simple dos trick to create a playlist of all your mp3&#8242;s. go to the start menu click run enter cmd  =&#62; this opens a black dos window type dir /b/s *.mp3 &#62; c:\mp3list.m3u When this command &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/scraping-your-pc-for-mp3-files/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/scraping-your-pc-for-mp3-files/" title="scraping your pc for mp3 files"></a><p>The following is a simple dos trick to create a playlist of all your mp3&#8242;s.</p>
<ol>
<li>go to the start menu</li>
<li>click run</li>
<li>enter cmd  =&gt; this opens a black dos window</li>
<li>type dir /b/s *.mp3 &gt; c:\mp3list.m3u</li>
</ol>
<p>When this command finishes, a file will be created under c: with a list of all your mp3 files.<br />
The m3u file is a plain text file with links to all your music. Some audio applications us this format for playlists.</p>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none"></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/scraping-your-pc-for-mp3-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travian.nl</title>
		<link>http://www.westworld.be/a-note-to-self/traviannl/</link>
		<comments>http://www.westworld.be/a-note-to-self/traviannl/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 12:32:24 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=66</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/traviannl/" title="Travian.nl"></a>Some tools to help play Travian http://asite.110mb.com/cropfinder.php Graandorpen zoeken http://www.travianmap.nl/ http://travian.drvdijk.nl/ http://traviantool2.ww7.be/ mensen die niet actief zijn http://www.traviantoolbox.com/combat_simulator http://travian.ws/analyser.pl Speler analiseren http://traviantoolbox.com/index.php travian FAQ:http://help.travian.nl/index.php?type=start&#38;mod=100 wiki travian(Eng):http://dhost.info/travian2005/Wiki/index.php/Main_Page travian wiki v3 (Eng): http://travianwiki.uni.cc/index.php?title=Main_Page Travian guide: http://tg.dutchtraviantools.nl/ DutchTravianTools: http://dutchtraviantools.nl/ help: http://help.travian.nl/ gebouwen stamboom: &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/traviannl/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/traviannl/" title="Travian.nl"></a><p>Some tools to help play Travian</p>
<p><a href="http://asite.110mb.com/cropfinder.php" rel='nofollow'>http://asite.110mb.com/cropfinder.php</a><br />
Graandorpen zoeken</p>
<p><a href="http://www.travianmap.nl/"  rel='nofollow'>http://www.travianmap.nl/</a><br />
<a href="http://travian.drvdijk.nl/"  rel='nofollow'>http://travian.drvdijk.nl/</a><br />
<a href="http://traviantool2.ww7.be/"  rel='nofollow'>http://traviantool2.ww7.be/</a> mensen die niet actief zijn<br />
<a href="http://www.traviantoolbox.com/combat_simulator"  rel='nofollow'>http://www.traviantoolbox.com/combat_simulator</a><br />
<a href="http://travian.ws/analyser.pl"  rel='nofollow'>http://travian.ws/analyser.pl</a> Speler analiseren<br />
<a href="http://traviantoolbox.com/index.php"  rel='nofollow'>http://traviantoolbox.com/index.php</a></p>
<p>travian FAQ:<a href="http://help.travian.nl/index.php?type=start&amp;mod=100"  rel='nofollow'>http://help.travian.nl/index.php?type=start&amp;mod=100</a><br />
wiki travian(Eng):<a href="http://dhost.info/travian2005/Wiki/index.php/Main_Page"  rel='nofollow'>http://dhost.info/travian2005/Wiki/index.php/Main_Page</a><br />
travian wiki v3 (Eng): <a href="http://travianwiki.uni.cc/index.php?title=Main_Page"  rel='nofollow'>http://travianwiki.uni.cc/index.php?title=Main_Page</a><br />
Travian guide: <a href="http://tg.dutchtraviantools.nl/"  rel='nofollow'>http://tg.dutchtraviantools.nl/</a><br />
DutchTravianTools: <a href="http://dutchtraviantools.nl/"  rel='nofollow'>http://dutchtraviantools.nl/</a><br />
help: <a href="http://help.travian.nl/"  rel='nofollow'>http://help.travian.nl/</a><br />
gebouwen stamboom: http://img107.imageshack.us/img107/7140/gebouwenenunitsv37zo.jpg</p>
<p>troepen vergelijker: http://n00bz.biz/travianstuff/troops.html</p>
<p>travian troepen tabel: http://forum.travian.nl/showthread.php?t=14297</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/traviannl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>scraping the web</title>
		<link>http://www.westworld.be/a-note-to-self/wget-as-a-spider/</link>
		<comments>http://www.westworld.be/a-note-to-self/wget-as-a-spider/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 08:22:19 +0000</pubDate>
		<dc:creator>westworld</dc:creator>
				<category><![CDATA[a note to self]]></category>
		<category><![CDATA[scrape validate]]></category>

		<guid isPermaLink="false">http://www.westworld.be/?p=65</guid>
		<description><![CDATA[<a href="http://www.westworld.be/a-note-to-self/wget-as-a-spider/" title="scraping the web"></a>I&#8217;ve been working on a tool to scrape urls. The idea is to have a tool that checks my sites for invalid code, urls and images. Below some tools and ideas that I might consider using Wget can be used &#8230;<p class="read-more"><a href="http://www.westworld.be/a-note-to-self/wget-as-a-spider/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.westworld.be/a-note-to-self/wget-as-a-spider/" title="scraping the web"></a><p>I&#8217;ve been working on a tool to scrape urls. The idea is to have a tool that checks my sites for invalid code, urls and images.</p>
<p>Below some tools and ideas that I might consider using</p>
<ul>
<li>Wget can be used to spider a website (list url&#8217;s, not download) with the following command: wget -r &#8211;spider -o logfile.txt http://www.myurl.com</li>
<li>ruby: open-uri &amp; hapricot.</li>
<li>php is not a good idea since scripts can only run for a certain time. (php on commandline is ok)</li>
<li>put the results in a mysql database so I can link it with other data</li>
</ul>
<p>check for:</p>
<ul>
<li>Valid html</li>
<li>404</li>
<li>sitespeed</li>
<li>image compression (jpegsnoop for photoshop compression, Smush it)</li>
<li>readability</li>
<li>pagerank</li>
<li>internal links (links on my domain to pages on my domain)</li>
<li>external links (links on my domain to external domains)</li>
<li>received links (who links to me and what alt text is used, page rank)</li>
<li>keywords</li>
</ul>
<p>Try to :</p>
<p>curl into Google analytics and import the results in mysql</p>
<p>[update]should <a href="http://www.merchantos.com/makebeta/php/scraping-links-with-php/">read</a>[/update]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westworld.be/a-note-to-self/wget-as-a-spider/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.westworld.be @ 2012-02-06 08:21:26 -->
