<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tech Explorer</title>
	<atom:link href="http://techxplorer.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://techxplorer.com</link>
	<description>Musings on the Exploration of Technology</description>
	<pubDate>Mon, 30 Jun 2008 04:23:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>YourStats are MyStats</title>
		<link>http://techxplorer.com/2008/06/30/yourstats-are-mystats/</link>
		<comments>http://techxplorer.com/2008/06/30/yourstats-are-mystats/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 04:23:21 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Musings]]></category>

		<category><![CDATA[Perl]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[feedburner]]></category>

		<category><![CDATA[rss]]></category>

		<category><![CDATA[rss4lib]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=367</guid>
		<description><![CDATA[Many people who have websites, blogs included, are obsessive about their stats. Always wondering about questions like:

 Which pages are more popular than others?
Where are visitors to my site coming from?
How did they find my site?
How many subscribers do I have to my RSS feed?

It is this last one that has been bothering me at [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Many people who have websites, blogs included, are obsessive about their stats. Always wondering about questions like:</p>
<ul>
<li> Which pages are more popular than others?</li>
<li>Where are visitors to my site coming from?</li>
<li>How did they find my site?</li>
<li>How many subscribers do I have to my RSS feed?</li>
</ul>
<p>It is this last one that has been bothering me at <acronym title="My Place Of Work">MPOW</acronym> for a little while now. If you ask this question, the most obvious answer, especially if you run your own blog, is to use a service like <a title="Official FeedBurner website" href="http://www.feedburner.com">FeedBurner</a>.</p>
<p>But what do you do if you can&#8217;t use service like this? The blog server I manage at my <acronym title="My Place Of Work">MPOW</acronym> will potentially host many blogs. I can&#8217;t create accounts at FeedBurner for earch one. It would be too administratively burdensome.</p>
<p>Fortunately kind people like Ken Varnum from <a title="Official RSS4Lib website" href="http://www.rss4lib.com/">RSS4Lib</a> have been thinking about this same question and have done more than think, they&#8217;ve done something about it. Ken has built the <a title="Direct link to the tool" href="http://www.rss4lib.com/feedstats/yourstats.pl">YourStats tool</a>. You can <a title="Post on the RSS4Lib blog outlining the YourStats tool" href="http://www.rss4lib.com/2008/06/how_many_subscribers_does_your.html">read more about it</a> on the RSS4Lib blog.</p>
<p>What&#8217;s wonderul about the tool is that you can upload your webserver log file, and the tool will work its magic and estimate the number of subscribers you have to your RSS feed.</p>
<p>For those of us, such as me, who can&#8217;t transfer logfiles out of our organisations Ken will kindly share the source code of the tool.</p>
<p>Now I&#8217;ve got one more statistic in my bag of tricks to help show how popular <a title="Homepage of the Office of Research blog" href="http://blogs.flinders.edu.au/research/">our blog</a> is.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/367/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/367/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=367&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/30/yourstats-are-mystats/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>
	</item>
		<item>
		<title>Listing Subscribe2 Subscription Preferences</title>
		<link>http://techxplorer.com/2008/06/26/listing-subscribe2-subscription-preferences/</link>
		<comments>http://techxplorer.com/2008/06/26/listing-subscribe2-subscription-preferences/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 02:27:36 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Musings]]></category>

		<category><![CDATA[sql]]></category>

		<category><![CDATA[subscribe2]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wordpress-mu]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=366</guid>
		<description><![CDATA[At MPOW we use a blog to help us communicate with our users. We&#8217;ve affectionately called our blog &#8220;The ORB&#8221; following a successful naming competition that we held earlier in the year.
An integral part of the blog is the Subscribe2 plugin. I think I can safely say that without this plugin our blog would not [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>At <acronym title="My Place Of Work">MPOW</acronym> we use a blog to help us communicate with our users. We&#8217;ve affectionately called our blog &#8220;<a title="More information about the blog" href="http://blogs.flinders.edu.au/research/">The ORB</a>&#8221; following a successful naming competition that we held earlier in the year.</p>
<p>An integral part of the blog is the <a title="More information about this plugin" href="http://subscribe2.wordpress.com/">Subscribe2</a> plugin. I think I can safely say that without this plugin our blog would not have gotten past the planning stage. This is primarily because we migrated away from an email list to the blog platform and needed a way to continue this mailing list functionality.</p>
<p>This morning I needed to find out which categories a specific user had subscribed to in order to recieve email updates. The SQL I used is as follows.</p>
<pre name="code" class="sql">

SELECT wpt.name
FROM wp_terms wpt
WHERE term_id IN (
    SELECT wpum.meta_value
    FROM wp_users wpu, wp_usermeta wpum
    WHERE wpu.user_login = &#039;USER&#039;
    AND wpu.id = wpum.user_id
    AND wpum.meta_key LIKE &#039;s2_cat%&#039; )
ORDER BY wpt.name
</pre>
<p>Replace <code>USER</code> with the code above with the user name of the user you are investigating</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/366/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/366/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/366/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=366&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/26/listing-subscribe2-subscription-preferences/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>
	</item>
		<item>
		<title>Counting posts in WordPress</title>
		<link>http://techxplorer.com/2008/06/26/counting-posts-in-wordpress/</link>
		<comments>http://techxplorer.com/2008/06/26/counting-posts-in-wordpress/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 00:20:22 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Musings]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[sql]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wordpress-mu]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=365</guid>
		<description><![CDATA[Yesterday I needed to get a count of the number of posts in a WordPress blog in each category. I used the following SQL code.


SELECT wpt.name, COUNT(wptr.object_id) as post_count
FROM wp_terms wpt, wp_term_taxonomy wptt, wp_term_relationships wptr
WHERE wpt.term_id = wptt.term_id
AND wptt.taxonomy = &#039;category&#039;
AND wptt.term_taxonomy_id = wptr.term_taxonomy_id
GROUP BY wpt.name

The same technique will work with WordPress MU based blogs [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Yesterday I needed to get a count of the number of posts in a <a title="More information about WordPress" href="http://wordpress.org">WordPress</a> blog in each category. I used the following SQL code.</p>
<pre name="code" class="sql">

SELECT wpt.name, COUNT(wptr.object_id) as post_count
FROM wp_terms wpt, wp_term_taxonomy wptt, wp_term_relationships wptr
WHERE wpt.term_id = wptt.term_id
AND wptt.taxonomy = &#039;category&#039;
AND wptt.term_taxonomy_id = wptr.term_taxonomy_id
GROUP BY wpt.name
</pre>
<p>The same technique will work with <a title="More information about WordPress MU" href="http://mu.wordpress.org">WordPress MU</a> based blogs as well. Just substitute the table names with those for the specific blog in the WordPress MU system.</p>
<p>Something to keep in mind is that the if you add up the total of the &#8216;post_count&#8217; fields reported by this query it is likely to be more than the total number of posts in your blog. This is because posts can be in one or more categories.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/365/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/365/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/365/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=365&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/26/counting-posts-in-wordpress/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>
	</item>
		<item>
		<title>A tunnel of water drops</title>
		<link>http://techxplorer.com/2008/06/23/a-tunnel-of-water-drops/</link>
		<comments>http://techxplorer.com/2008/06/23/a-tunnel-of-water-drops/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 23:30:16 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=359</guid>
		<description><![CDATA[I captured this tunnel of water drops as the water came out of the spouts in the second of the two fountains in front of the State Library in Adelaide, South Australia.

(Click image for larger version)
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I captured this tunnel of water drops as the water came out of the spouts in the second of the two fountains in front of the <a title="Official State Library website" href="http://www.slsa.sa.gov.au/">State Library</a> in Adelaide, South Australia.</p>
<p style="text-align:center;"><a href="http://picasaweb.google.com.au/techxplorer/Adelaide/photo#5208553793162419362"><img src="http://lh6.ggpht.com/techxplorer/SEiAFCr1nKI/AAAAAAAACEQ/1yFOUBaSVY0/s288/RIMG0094.JPG" border="0" alt="" /></a><br />
(Click image for larger version)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/359/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/359/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=359&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/23/a-tunnel-of-water-drops/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>

		<media:content url="http://lh6.ggpht.com/techxplorer/SEiAFCr1nKI/AAAAAAAACEQ/1yFOUBaSVY0/s288/RIMG0094.JPG" medium="image" />
	</item>
		<item>
		<title>Copying a Digital Video Disc using Ubuntu</title>
		<link>http://techxplorer.com/2008/06/20/copying-a-digital-video-disc-using-ubuntu/</link>
		<comments>http://techxplorer.com/2008/06/20/copying-a-digital-video-disc-using-ubuntu/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 05:26:59 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Musings]]></category>

		<category><![CDATA[brasero]]></category>

		<category><![CDATA[DVD]]></category>

		<category><![CDATA[iso]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=362</guid>
		<description><![CDATA[Earlier today I needed to copy a non encrypted Digital Video Disc (DVD) to make a few backup copies. The disc contained a movie recorded on a video camera of someone that MPOW is collaborating with on a project. As always I used my laptop running the Ubuntu Linux distribution.
I first tried to use the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignright size-full wp-image-363" src="http://techxplorer.files.wordpress.com/2008/06/water-drop-on-dvd.jpg?w=240&h=160" alt=" " width="240" height="160" />Earlier today I needed to copy a non encrypted <a title="Wikipedia article on DVDs" href="http://en.wikipedia.org/wiki/Dvd">Digital Video Disc</a> (DVD) to make a few backup copies. The disc contained a movie recorded on a video camera of someone that <acronym title="My Place of Work">MPOW</acronym> is collaborating with on a project. As always I used my laptop running the <a title="Official Ubuntu Linux website" href="http://www.ubuntu.com">Ubuntu Linux</a> distribution.</p>
<p>I first tried to use the <a title="Official Brasero website" href="http://www.gnome.org/projects/brasero/">Brasero Disc Burning</a> application to make the copy. Unfortunately the application tried to make the copy as if it was a DVD containing files and data and not a DVD containing a movie. This meant that the copy was corrupt and would not play.</p>
<p>To make a copy of the disc I made a copy of it first as an ISO file by using this command:</p>
<p><code>cat /dev/dvdrw &gt; ~/backup-copy.iso</code></p>
<p>Please note that the <code>/dev/dvdrw</code> path may be different on your system, for example it may be /dev/cdrom. The filename, after the <code>&gt;</code>, is also arbitrary.</p>
<p>Once the copy using <a title="Wikipedia article on the cat command" href="http://en.wikipedia.org/wiki/Cat_(Unix)">cat</a> completed, which took some time, I was able to use the <a title="Official Brasero website" href="http://www.gnome.org/projects/brasero/">Brasero Disc Burning</a> application to burn the <a title="Wikipedia article on ISO image files" href="http://en.wikipedia.org/wiki/ISO_image">ISO image</a> just like any other image.</p>
<p>This technique resulted in a perfect copy and I can use the ISO image file as many times as I need to make as many copies as I need.</p>
<p style="font-size:xx-small;">The &#8220;<a title="Direct link to this photo" href="http://www.flickr.com/photos/jongruitt/355825544/">Water droplet on a DVD</a>&#8221; photo was uploaded to <a title="Flickr homepage" href="http://www.flickr.com">Flickr</a> by <a title="Flickr profile page for -j0n-" href="http://www.flickr.com/people/jongruitt/">-j0n-</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/362/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/362/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/362/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=362&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/20/copying-a-digital-video-disc-using-ubuntu/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>

		<media:content url="http://techxplorer.files.wordpress.com/2008/06/water-drop-on-dvd.jpg" medium="image">
			<media:title type="html"> </media:title>
		</media:content>
	</item>
		<item>
		<title>DSpace in a Virtual Box</title>
		<link>http://techxplorer.com/2008/06/18/dspace-in-a-virtual-box/</link>
		<comments>http://techxplorer.com/2008/06/18/dspace-in-a-virtual-box/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 06:19:20 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Musings]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[dspace]]></category>

		<category><![CDATA[Institutional repositories]]></category>

		<category><![CDATA[Libraries]]></category>

		<category><![CDATA[Library Systems]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=361</guid>
		<description><![CDATA[Last night I decided to set myself a challenge, possibly for the beginning of a new project. I wanted to install the latest DSpace open source repository software, currently version 1.5, on an Ubuntu based environment.
Knowing that I&#8217;d need to have things like a PostgreSQL database, and have Apache Tomcat running, I wanted to explore [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Last night I decided to set myself a challenge, possibly for the beginning of a new project. I wanted to install the latest <a title="Office DSpace website" href="http://www.dspace.org/">DSpace</a> open source repository software, currently version 1.5, on an <a title="Official Ubuntu website" href="http://www.ubuntu.com/">Ubuntu</a> based environment.</p>
<p>Knowing that I&#8217;d need to have things like a <a title="Official PostgreSQL website" href="http://www.postgresql.org/">PostgreSQL</a> database, and have <a title="Official Apache Tomcat website" href="http://tomcat.apache.org/">Apache Tomcat</a> running, I wanted to explore this project in a <a title="Wikipedia article on Virtual Machines" href="http://en.wikipedia.org/wiki/Virtual_machine">virtual machine</a> environment. I wanted to do this so as to reduce the likelihood of it interfering with the existing services and development environment I have on my laptop running Ubuntu.</p>
<p>Below are notes about the things that I learnt. This isn&#8217;t in any way meant to be a full procedure manual, it is more about highlighting potential issues that I experienced along the way and hopefully act as some documentation for myself at a future time.</p>
<p><span id="more-361"></span></p>
<p><strong>Virtual Environment</strong></p>
<p>In the past I&#8217;ve used the <a title="More information about this product" href="http://www.vmware.com/products/server/">Virtual Server</a> software from <a title="Official VMware website" href="http://www.vmware.com/">VMware</a> for virtual machines. The last time I used virtual machines, around 6 months ago, I had issues with time synchronisation and the compilation of kernel modules. Apparently at the time the Linux kernel I had running on my Ubuntu installation was newer than the one supported by Virtual Server.</p>
<p>I looked around for an alternative and found <a title="Official VirtualBox website" href="http://www.virtualbox.org/">VirtualBox</a> which is software from <a title="Official Sun Microsystems website" href="http://www.sun.com/">Sun Microsystems</a>. I was pleased to see that the latest release official supported Ubuntu 8.04 which is what I&#8217;m running. Sadly the latest release isn&#8217;t in the Ubuntu repositories yet. Fortunately the deb installation file from Sun worked really well and the installation was very smooth and is running perfectly for me.</p>
<p><strong>Server Operating System</strong></p>
<p>Being most familiar with the Ubuntu distribution of Linux I decided to use the <a title="Direct link for more information" href="http://www.ubuntu.com/products/WhatIsUbuntu/serveredition">Ubuntu Server edition</a> for my virtual machine. In this way I wouldn&#8217;t be encumbered with a graphical user interface. My virtual machine could be &#8220;lean and mean&#8221;.</p>
<p>One thing to note is that to use Ubuntu Server edition inside a VirtualBox virtual machine you must enable the <a title="Wikipedia article on Physical Address Extension" href="http://en.wikipedia.org/wiki/Physical_Address_Extension">PAE/NX option</a> so that this feature of your CPU will be exposed, and therefore used, by your virtual machine. This is an option that you can set on the &#8220;Advanced&#8221; tab on the &#8220;General&#8221; settings display.</p>
<p><strong>Additional Software</strong></p>
<p>For the majority of the additional software required by DSpace I used the versions in the Ubuntu repositories. This includes things like the <a title="Official PostgreSQL website" href="http://www.postgresql.org/">PostgreSQL</a> database, the Sun Java JDK, the <a title="Official Apache Maven project website" href="http://maven.apache.org/">Apache Maven</a> build system, and the <a title="Official Apache Ant project website" href="http://ant.apache.org/">Apache Ant</a> build system.</p>
<p>I used the Apache Tomcat 5.5 software from the official <a title="Official Apache Tomcat website" href="http://tomcat.apache.org/">Apache Tomcat</a> website. I did this so that I can run both it and DSpace under its own user dspace user. This makes life so much easier. Trying to the Ubuntu package of Tomcat was not working. I kept getting errors related to permissions.</p>
<p><strong>DSpace installation</strong></p>
<p>These are brief notes about the installation itself:</p>
<ul>
<li>The documentation is not kidding when it says to use a specific dspace user.</li>
<li>I&#8217;ve installed everything DSpace related into the home directory of the dspace user.</li>
<li>The build time will take about 15 minutes, based on my experience. Most of this time is taken up with the Maven build process downloading a seemingly endless list of modules.</li>
<li>Once build the installation is very straight forward.</li>
<li>Installing the options Tomcat administration package can be very useful in debugging things.</li>
</ul>
<p><strong>Final Notes</strong></p>
<p>Once installed and running the latest version of DSpace looks just like it did the last time I installed it. This is deceptive as their are many new things in this new version, all very interesting things that I want to explore.</p>
<p>The latest version cements in my mind the opinion of DSpace I formed while I was on the <a title="Official RUBRIC website" href="http://www.rubric.edu.au/">RUBRIC</a> project, which seems like a life time ago now. DSpace is a solid option for those wanting to implement a repository and shows that you don&#8217;t need a vendor supported solution, as some other projects and vendors would like you to believe.</p>
<p>I look forward to exploring some of these new options in the near future.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/361/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/361/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/361/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=361&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/18/dspace-in-a-virtual-box/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>
	</item>
		<item>
		<title>Water drops in a fountain</title>
		<link>http://techxplorer.com/2008/06/16/water-drops-in-a-fountain/</link>
		<comments>http://techxplorer.com/2008/06/16/water-drops-in-a-fountain/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 23:30:40 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=358</guid>
		<description><![CDATA[I captured these water drops coming out of one of the spouts of one of the two fountains in front of the State Library in Adelaide, South Australia.

(Click image for larger version)
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I captured these water drops coming out of one of the spouts of one of the two fountains in front of the <a title="Official State Library website" href="http://www.slsa.sa.gov.au/">State Library</a> in Adelaide, South Australia.</p>
<p style="text-align:center;"><a href="http://picasaweb.google.com.au/techxplorer/Adelaide/photo#5208553783018919362"><img src="http://lh6.ggpht.com/techxplorer/SEiAEc5cFcI/AAAAAAAACH4/t_sqSk_WMZ8/s288/RIMG0085.JPG" alt="" /></a><br />
(Click image for larger version)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/358/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/358/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/358/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=358&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/16/water-drops-in-a-fountain/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>

		<media:content url="http://lh6.ggpht.com/techxplorer/SEiAEc5cFcI/AAAAAAAACH4/t_sqSk_WMZ8/s288/RIMG0085.JPG" medium="image" />
	</item>
		<item>
		<title>So very true</title>
		<link>http://techxplorer.com/2008/06/10/so-very-true/</link>
		<comments>http://techxplorer.com/2008/06/10/so-very-true/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 23:50:00 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Musings]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=360</guid>
		<description><![CDATA[“To get something done, a committee should consist of no more than three men, two of whom are absent.”
- Robert Copeland
Spotted on the The Lone Sysadmin blog.
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>“To get something done, a committee should consist of no more than three men, two of whom are absent.”</p>
<p>- Robert Copeland</p>
<p>Spotted on the <a title="Direct link to post" href="http://lonesysadmin.net/2008/06/06/getting-things-done-in-committee/">The Lone Sysadmin</a> blog.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/360/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/360/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/360/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=360&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/10/so-very-true/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>
	</item>
		<item>
		<title>Honouring Pioneer Women</title>
		<link>http://techxplorer.com/2008/06/09/honouring-pioneer-women/</link>
		<comments>http://techxplorer.com/2008/06/09/honouring-pioneer-women/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 23:30:56 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=357</guid>
		<description><![CDATA[A few weekends ago I was walking around the Adelaide CBD and stumbled across the Pioneer Women&#8217;s Memorial Gardens. In it is this statue.

(Click image for larger version)
I&#8217;ve been seeing one of my favourite photographers taking a number of B&#38;W images and so I decided to try it with this statue. They came out rather [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A few weekends ago I was walking around the Adelaide CBD and stumbled across the Pioneer <a title="More information on Wikipedia" href="http://en.wikipedia.org/wiki/Pioneer_Women%27s_Memorial_Gardens">Women&#8217;s Memorial Gardens</a>. In it is this statue.</p>
<p style="text-align:center;"><a href="http://picasaweb.google.com.au/techxplorer/Adelaide/photo#5208553045657486818"><img src="http://lh4.ggpht.com/techxplorer/SEh_ZiAxheI/AAAAAAAACHI/-6FqxZfOvN8/s288/RIMG0058.JPG" border="0" alt="" /></a><br />
(Click image for larger version)</p>
<p>I&#8217;ve been seeing one of my favourite photographers taking a number of B&amp;W images and so I decided to try it with this statue. They came out rather well I think. The shadows and highlights created by the use of B&amp;W add to the image I think. This is the statue from another angle.
</p>
<p style="text-align:center;"><a href="http://picasaweb.google.com.au/techxplorer/Adelaide/photo#5208553059448746738"><img src="http://lh5.ggpht.com/techxplorer/SEh_aVY3cvI/AAAAAAAACHc/pRcLN428Nzc/s288/RIMG0060.JPG" border="0" alt="" /></a><br />
(Click image for larger version)</p>
<p>An inscription at the base of the statue reads:</p>
<blockquote><p>&#8220;The garden of remembrance and the flying doctor base at Alice Springs  were established in the centenary year 1936 by the women of South Australia as a tribute to the pioneer women of the state&#8221;</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/357/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/357/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/357/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=357&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/06/09/honouring-pioneer-women/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>

		<media:content url="http://lh4.ggpht.com/techxplorer/SEh_ZiAxheI/AAAAAAAACHI/-6FqxZfOvN8/s288/RIMG0058.JPG" medium="image" />

		<media:content url="http://lh5.ggpht.com/techxplorer/SEh_aVY3cvI/AAAAAAAACHc/pRcLN428Nzc/s288/RIMG0060.JPG" medium="image" />
	</item>
		<item>
		<title>Using JSON with PHP</title>
		<link>http://techxplorer.com/2008/05/09/using-json-with-php/</link>
		<comments>http://techxplorer.com/2008/05/09/using-json-with-php/#comments</comments>
		<pubDate>Fri, 09 May 2008 01:25:43 +0000</pubDate>
		<dc:creator>techxplorer</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Musings]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://techxplorer.wordpress.com/?p=355</guid>
		<description><![CDATA[In a recent programming task I&#8217;ve been working on I&#8217;ve needed to transfer some data, in the form of arrays, from one PHP page to another via hidden input fields in a form. I&#8217;ve used JSON for this task. More information on JSON is available at the official website.
Some of things I&#8217;ve learnt are:
Check to [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In a recent programming task I&#8217;ve been working on I&#8217;ve needed to transfer some data, in the form of arrays, from one <a title="Direct link for more information" href="http://www.php.net">PHP</a> page to another via hidden input fields in a form. I&#8217;ve used <acronym title="JavaScript Object Notation">JSON</acronym> for this task. More information on JSON is available at the <a title="Direct link for more information" href="http://www.json.org/">official website</a>.</p>
<p>Some of things I&#8217;ve learnt are:</p>
<p><strong>Check to ensure the JSON functions are available</strong></p>
<p>The <a title="Direct link for more information" href="http://www.php.net/manual/en/ref.json.php">JSON functions</a> in PHP are provided by an extension that is only bundled with PHP version 5.2 and above. If you don&#8217;t have that specific version you can <a title="Direct link for more information" href="http://aurore.net/projects/php-json/">compile and include</a> the php-json extension yourself, or use the <a title="Direct link for more information" href="http://mike.teczno.com/json.html">JSON-PHP library</a> which is written in pure PHP and doesn&#8217;t require any compilation.</p>
<p><strong>Detecting which library to use is easy</strong></p>
<p>To ensure your code doesn&#8217;t cause problems you can construct it in such a way that it detects if the php-json extension is available and if not use the json-php library using code like this:</p>
<pre name="code" class="php">

if(!function_exists(&#039;json_encode&#039;)) {
    // PHP pre 5.2 or the library isn&#039;t installed
    // include the alternate library
    require_once(&#039;path/to/library/JSON.php&#039;);
    $json_services = new Services_JSON();
    $encoded = $json_services-&gt;encode($my_var);

} else {
    $encoded = json_encode($my_var);
}
</pre>
<p>The same technique will work for decoding as well:</p>
<pre name="code" class="php">

if(!function_exists(&#039;json_encode&#039;)) {
    // PHP pre 5.2 or the library isn&#039;t installed
    // include the alternate library
    require_once(&#039;path/to/library/JSON.php&#039;);
    $json_services = new Services_JSON();
    $my_var = $json_services-&gt;decode($encoded);

} else {
    $my_var = json_decode($encoded);
}
</pre>
<p><strong>Including the data in a form requires some extra work</strong></p>
<p>To include the data in the form, you need to change the double quotes (&#8221;) in the encoded data into single quotes (&#8217;). Otherwise the generated HTML will be invalid. You can do this quite easily using the <a title="Direct link for more information" href="http://www.php.net/manual/en/function.str-replace.php">str_replace</a> function. Remember to do the reverse replacement before decoding the data.</p>
<p><strong>Ensure you get the variable type you expect</strong></p>
<p>By default an array will be decoded as an object. This can make using it in your code a little bit more complicated. Fortunately the json_decode function will take an additional boolean operator to return an array, and you can use variable type casting when using the json-php library. For example:</p>
<pre name="code" class="php">

if(!function_exists(&#039;json_encode&#039;)) {
    // PHP pre 5.2 or the library isn&#039;t installed
    // include the alternate library
    require_once(&#039;path/to/library/JSON.php&#039;);
    $json_services = new Services_JSON();
    $my_array = (array) $json_services-&gt;decode($encoded);

} else {
    $my_array = json_decode($encoded, TRUE);
}
</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/techxplorer.wordpress.com/355/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/techxplorer.wordpress.com/355/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techxplorer.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techxplorer.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techxplorer.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techxplorer.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techxplorer.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techxplorer.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techxplorer.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techxplorer.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techxplorer.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techxplorer.wordpress.com/355/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techxplorer.com&blog=193831&post=355&subd=techxplorer&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://techxplorer.com/2008/05/09/using-json-with-php/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/techxplorer-128.jpg" medium="image">
			<media:title type="html">techxplorer</media:title>
		</media:content>
	</item>
	</channel>
</rss>