<?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>House of Laudanum</title>
	<atom:link href="http://houseoflaudanum.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://houseoflaudanum.com</link>
	<description>Bespoke solutions for creative people, Sydney Australia +61 412 116121</description>
	<lastBuildDate>Mon, 09 Jan 2012 02:37:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Removing spam from Postfix queues.</title>
		<link>http://houseoflaudanum.com/navigate/snippets/removing-spam-from-postfix-queues/</link>
		<comments>http://houseoflaudanum.com/navigate/snippets/removing-spam-from-postfix-queues/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 02:32:04 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1300</guid>
		<description><![CDATA[I&#8217;ve done this a couple of times now so it needs recording. Every now and then someone manages to sneak a load of spam into my mailqueue which does nasty things to my server. Its a matter of identifying the spam and deleting it from the queue. Sometimes I also create a firewall filter for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done this a couple of times now so it needs recording. Every now and then someone manages to sneak a load of spam into my mailqueue which does nasty things to my server. Its a matter of identifying the spam and deleting it from the queue. Sometimes I also create a firewall filter for the particular IP address of the offender.</p>
<p>This command does several things.</p>
<ol>
<li>Read in the mailqueue</li>
<li>Look for sender address that end with `example.com`</li>
<li>Ignore senders with valid addresses (`david` and `john`)</li>
<li>Deletes all those messages from the queue</li>
</ol>
<p><code>$ mailq | tail +2 | grep -v '^ *(' | awk 'BEGIN { RS = "" } { if ($7 ~ "example.com$" &amp;&amp; $7 !~ "^david|^john" &amp;&amp; $9 == "" ) print $1 } ' | tr -d '*!' | sudo postsuper -d -</code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/snippets/removing-spam-from-postfix-queues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Etisalat data plans in Egypt.</title>
		<link>http://houseoflaudanum.com/navigate/howtos/setting-up-etisalat-data-plans-in-egypt-and-dubai/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/setting-up-etisalat-data-plans-in-egypt-and-dubai/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 16:41:47 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[roaming]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1290</guid>
		<description><![CDATA[NB: I preferred to use cash for setting all this up so that I didn&#8217;t have my credit card involved. You can always recharge online or on the phone with a card but it requires an Etisalat Egypt account which I couldn&#8217;t set up anyway.

Buy a data only Etisalat sim card. Mine was brought in [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-style: italic; ">NB: I preferred to use cash for setting all this up so that I didn&#8217;t have my credit card involved. You can always recharge online or on the phone with a card but it requires an Etisalat Egypt account which I couldn&#8217;t set up anyway.</span></p>
<ol>
<li>Buy a data only Etisalat sim card. Mine was brought in to a local supermarket as a special order and cost 100LE (regular ones seem to be about 25LE or so for Vodafone or Etisalat). If you need to do this then get a 50 or 100 LE recharge card at the same time. This will save you some typing</li>
<li>Insert and activate the sim card. I didn&#8217;t activate the card myself as I had a friendly supermarket owner who&#8217;d already done it for me. I imagine it&#8217;s straight forward. He selected the most inexpensive plan (although that may be the default). 3LE/day for a small amount of data.<em>NB: iPhone 4&#8217;s and iPads have microsim cards which I couldn&#8217;t buy. You can cut down a regular sim to the correct size. I didn&#8217;t need to do that as my phone takes a full size sim.</em></li>
<li>Buy a recharge scratch card and recharge the sim. If you are unsure use a low value one first (I used 10LE). You do this using the phone itself by dialling special codes. The card has instructions on it. Dial<code>*858*[secretnumber]#</code><code> </code>You&#8217;ll get an SMS in reply–helpfully in Arabic.</li>
<li>At this point and at any point in the future you can check your balance by Texting a blank message to <strong>555</strong>. It will return your balance in LE and your current data consumption. Unhelpfully it doesn&#8217;t return what your limit is.</li>
<li>Configure your phone to use the Etisalat Access Point (APN). On my Android these are the steps.
<ol>
<li><strong>Settings &gt; Wireless &amp; networks &gt; Mobile networks &gt; Access Point Names</strong></li>
<li>Press the hardware menu key and <strong>New APN.</strong></li>
<li>The defaults are mostly fine. Add the following.
<ul>
<li>Name: Etisalat Internet <em>(although this is just FYI)</em></li>
<li>APN: Etisalat <em>(note the capital E)</em></li>
<li>Authentication type: PAP<em> (although its strange you need this if user/pass are blank)</em></li>
<li>APN type: default,supl<em> (note the lack of space around the comma)</em>.</li>
</ul>
<p><em>(note: I don&#8217;t use MMS so I haven&#8217;t bothered configuring the MMS specific settings)</em></li>
<li>Menu again and <strong>Save</strong>.</li>
<li>Press the checkbox to the right of the APN you just created (Etisalat Internet) and then the hardware return key.</li>
</ol>
</li>
<li>I&#8217;ve got <strong>Enable always-on mobile data</strong> checked.</li>
<li>Hardware return key again to <strong>Wireless &amp; networks</strong>. Make sure <strong>Mobile network</strong> is checked.</li>
<li>Restart the phone.</li>
<li>After the reboot you should have HSPDA, 3G or Edge connectivity. On my phone <strong>Mobile network </strong>in<strong> Wireless &amp; Networks</strong> shows connected. Check by googling something. Note: Egypt is potentially blocking access to some sites.</li>
<li>Recharge your phone with recharge scratch cards to what you need for your plan. Same as above. Dial<code>*858*[secretnumber]#</code></li>
<li>Send a text to change your plan to something more useful. I selected the &#8220;Monthy Unlimited 99&#8243; (which isn&#8217;t unlimited at all–its 99LE 2GB/month then speed limited after that). Therefore I sent a blank text to <strong>5034</strong>. 49LE 500MB/mo is <strong>5035</strong>. See the table below and<a href="http://etisalat.com.eg/etisalat/Etisalat_Portal_En/smartnet/internet_rateplans.htm?_pageid=42,1&amp;_dad=portal&amp;_schema=PORTAL&amp;siteAlias=etisalat&amp;sitePath=Etisalat_Portal_En&amp;kpAlias=smartnet&amp;pageAlias=internet_rateplans"> refer to their website for their current plans</a>.</li>
</ol>
<p>At that point you should have a reasonable speed network at a reasonable cost. Turn on wireless hotspot on your iPhone OS4 or Android, or connect to your computer and create an Ad-Hoc network to share to your other devices.</p>
<p>Remember to check your usage by texting to <strong>555</strong>. To reset your plan after you&#8217;ve consumed your allocation text to <strong>545</strong>. On the 99/mo plan that costs 30LE per GB. After consuming the allocation you are supposedly speed limited apart from their `freezone` (Google, facebook, Yahoo). What I noticed is that the freezone sites worked well and nothing else worked at all. Possibly 64kbps is just too slow these days.</p>
<h3>Shortcuts</h3>
<p>You can find shortcuts on the Etisalat website in a hidden section at the <a href="http://etisalat.com.eg/etisalat/Etisalat_Portal_En/smartnet/internet_rateplans.htm?_pageid=42,1&amp;_dad=portal&amp;_schema=PORTAL&amp;siteAlias=etisalat&amp;sitePath=Etisalat_Portal_En&amp;kpAlias=smartnet&amp;pageAlias=internet_rateplans">bottom of this page</a>.</p>
<p>555 Account balance</p>
<p>545 Reset usage (requires credit)</p>
<p>553 Speed plus (for 19/99/mo plan) *</p>
<h3>Plans</h3>
<table border="1" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<th class="border_top">Plan name</th>
<th class="border_top">Plan fee</th>
<th class="border_top">MB incl.</th>
<th class="border_top">Reset</th>
<th class="border_top">Speed</th>
<th class="border_top">Short code</th>
</tr>
<tr class="even">
<td class="shadow">Monthly Unlimited 19</td>
<td class="shadow">19 LE/month</td>
<td class="shadow">110 MB</td>
<td class="shadow">60 MB for 10 LE</td>
<td class="shadow">0.5Mbps*</td>
<td class="shadow">5032</td>
</tr>
<tr class="odd">
<td>Monthly Unlimited 49</td>
<td>49 LE/month</td>
<td>500 MB</td>
<td>250 MB for 20LE</td>
<td class="shadow">7Mbps</td>
<td class="shadow">5035</td>
</tr>
<tr class="even">
<td class="shadow">Monthly Unlimited 99</td>
<td class="shadow">99 LE/month</td>
<td class="shadow">2 GB</td>
<td class="shadow">1 GB for 30 LE</td>
<td class="shadow">7Mbps*</td>
<td class="shadow">5034</td>
</tr>
<tr class="odd">
<td>Monthly Unlimited 149</td>
<td>149 LE/month</td>
<td>6 GB</td>
<td>1 GB for 30 LE</td>
<td class="shadow">7Mbps</td>
<td class="shadow">5037</td>
</tr>
<tr class="even">
<td class="shadow border_bottom">Monthly Unlimited 249</td>
<td class="shadow border_bottom">249 LE/month</td>
<td class="shadow border_bottom">10 GB</td>
<td class="shadow border_bottom">1 GB for 30 LE</td>
<td class="shadow">21Mbps</td>
<td class="shadow">5036</td>
</tr>
</tbody>
</table>
<p><em>* While writing this post I noticed that the 99LE/mo plan is speed limited to 512Kbps (although I expect that it&#8217;s actually a typo and should be the 19/mo plan). To uncap that to 7.2Mbps you need to text to <strong>553 </strong>which costs 20LE/mo. This would make the 149LE/mo plan much more attractive if accurate.</em></p>
<h3>References</h3>
<p>Forum post with correct settings<br />
<a href="http://forum.xda-developers.com/archive/index.php/t-875199.html"> http://forum.xda-developers.com/archive/index.php/t-875199.html</a></p>
<p>Etisalat pages with plans and shortcodes<br />
<a href="http://etisalat.com.eg/etisalat/Etisalat_Portal_En/smartnet/internet_rateplans.htm?_pageid=42,1&amp;_dad=portal&amp;_schema=PORTAL&amp;siteAlias=etisalat&amp;sitePath=Etisalat_Portal_En&amp;kpAlias=smartnet&amp;pageAlias=internet_rateplans">http://etisalat.com.eg/etisalat/Etisalat_Portal_En/smartnet/internet_rateplans.htm?_pageid=42,1&amp;_dad=portal&amp;_schema=PORTAL&amp;siteAlias=etisalat&amp;sitePath=Etisalat_Portal_En&amp;kpAlias=smartnet&amp;pageAlias=internet_rateplans </a></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/setting-up-etisalat-data-plans-in-egypt-and-dubai/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project Star</title>
		<link>http://houseoflaudanum.com/art-technology/project-star/</link>
		<comments>http://houseoflaudanum.com/art-technology/project-star/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 04:41:39 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Art and Technology]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[Sculpture]]></category>
		<category><![CDATA[Social]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1149</guid>
		<description><![CDATA[Intelligent viral sculptural art for Sydney landmarks]]></description>
			<content:encoded><![CDATA[<h2>All Systems Go</h2>
<p>We were given an exciting new concept to run wild with by our friends over at the creative agency <a href=http://themonkeys.com.au/>Three Drunk Monkeys</a>, and <a href=http://www.newmediacuration.com/>New Media</a> Curator Deborah Turnbull.  The mission was to deliver ideas for intelligent viral sculptures that were socially aware and star-like in complexion.  They were to be placed in public spaces for a top secret campaign at a number of Sydney&#8217;s most celebrated landmarks.  They had to be self contained, with the ability to operate for up to 10 days at a time.</p>
<p>Upon receiving the initial brief outlining general requirements, we conducted an extensive brainstorming session around our trusty oval marble table.  Ideas and sketches flowed freely as many a geeky discussion took place regarding programming and possible materials to be utilised.</p>
<p>Both House of Laudanum and the City of Sydney favour sustainable projects.  Having a long and established relationship with a solar research unit, we had access to equipment and support to successfully power the pieces with the very light they were going to portray.</p>
<h2>Viral Installations</h2>
<p>Three similar proposals had now been conceived.  All three pieces were inspired by pulsars, which are rapidly rotating neutron stars that emit bright bursts of electromagnetic radiation at rates of up to one thousand pulses per second.</p>
<p>Vela Rigid was proposal 01, an architectural piece that was loosely inspired by Leo Villareal&#8217;s Flying Star.  It comprised of approximately eighty weather sealed acrylic tubes and was anchored by a polymer ruff at it&#8217;s core.  Each tube was to contain lighting strips with individually addressable LED panels. When operating, sharp edgy sounds and cool white illumination would whip and crackle at increasing speeds and luminosities.  As the number of moving spectators around the sculpture increased, so too would its intensity.  This simulates the act of accretion or inward falling matter, which fuels a pulsar and builds its momentum up to an almost incomprehensible speed.</p>
<p>Proposal 02 was Vela Soft.  This ingenious inflatable piece relied upon flexible conduits containing LED strips that would be wrapped around a large plastic core. Warm light would lash around the nucleus in 3D, displaying a mesmerising pulsating pattern.  Much like proposal 01, this sculpture is socially aware and controllers, speakers, computers and battery packs could be concealed inside the array.</p>
<p>Vela Floating was proposal 03.  This piece moved further towards the abstract and comprised of a helium filled chloroprene core encrusted with a myriad of perfectly circular bubble balloons.  Each bubble balloon would contain an independently controllable LED module and contribute to this beautiful orb-like pulsating display that was to float between two to eight metres in the sky.</p>
<h2>Creative Campaigns</h2>
<p>Unfortunately the client that commissioned the concept decided to go with one of their other campaigns and these sculptures were no longer required to be built.  We remain proud of the work and ideas that poured into this project and continue to actively engage in building beautiful social art for our clients.</p>
<p>We hope to one day make project star a reality.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/art-technology/project-star/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wanted: Python / Django Developer</title>
		<link>http://houseoflaudanum.com/identities/wanted-python-django-developer/</link>
		<comments>http://houseoflaudanum.com/identities/wanted-python-django-developer/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 00:24:29 +0000</pubDate>
		<dc:creator>zina</dc:creator>
				<category><![CDATA[Friends]]></category>
		<category><![CDATA[Staff]]></category>
		<category><![CDATA[job ad]]></category>
		<category><![CDATA[job posting]]></category>
		<category><![CDATA[vacancy]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1142</guid>
		<description><![CDATA[Job Description:
Calling a Python / Django developer for an existing Python site that needs rebuilding and extending to be a commercial truth source. (The truth is out there.) Website will be rebuilt in Django. You may want to telecommute if Australia is not on your bus line.
Responsibilities:
• Working with the Technical Lead, UX person &#38; [...]]]></description>
			<content:encoded><![CDATA[<h2>Job Description:</h2>
<p>Calling a Python / Django developer for an existing Python site that needs rebuilding and extending to be a commercial truth source. (<a href="http://en.wikiquote.org/wiki/X-Files:_Fight_The_Future">The truth is out there.</a>) Website will be rebuilt in Django. You may want to telecommute if Australia is not on your bus line.</p>
<h2>Responsibilities:</h2>
<p>• Working with the Technical Lead, UX person &amp; Project Manager &amp; CSS person.</p>
<p>• Develop &amp; manage the new system &amp; its on-going upgrades.</p>
<p>• Write software &amp; build automation continuously to enhance the core offering &amp; automate back end processes.</p>
<h2>Requirements</h2>
<p>• Fluent in Python, PHP, MySQL</p>
<p>• Good understanding of HTML, JQuery, CSS</p>
<p>• Knowledge of SEO</p>
<p>• Great communication skills</p>
<p>• Demonstrated experience programming solutions within the constraints of budget &amp; time</p>
<h2>About the company</h2>
<p>We are the House of Laudanum, a growing company based in Sydney, Australia specialising in creative and innovative content for the online world. We build fabulous work for groovy clients and strive to deliver impeccably designed solutions that work well and deliver good business outcomes.</p>
<h2>Contact</h2>
<p>• Contact: Kieran Gibb</p>
<p>• E-mail contact: kieran@houseoflaudanum.com</p>
<p>• Telecommuting OK</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/identities/wanted-python-django-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leg Burn Treatment and Exercise</title>
		<link>http://houseoflaudanum.com/uncategorized/leg-burn-treatment-and-exercise/</link>
		<comments>http://houseoflaudanum.com/uncategorized/leg-burn-treatment-and-exercise/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 09:54:49 +0000</pubDate>
		<dc:creator>zina</dc:creator>
				<category><![CDATA[Megazina]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1138</guid>
		<description><![CDATA[Twelve days ago I scalded my leg by knocking a just made cup of tea off a table.
This is a post about treatment, it&#8217;s not about safety!
The gist is that you are responsible for your own health. The health professionals outside the ER are generally time poor, underpaid, tired and occasionally undertrained, bless them. Empathy [...]]]></description>
			<content:encoded><![CDATA[<p>Twelve days ago I scalded my leg by knocking a just made cup of tea off a table.</p>
<p>This is a post about treatment, it&#8217;s not about safety!</p>
<p>The gist is that you are responsible for your own health. The health professionals outside the ER are generally time poor, underpaid, tired and occasionally undertrained, bless them. Empathy for their situation is important. So is using a communication style to check that you and the nurse/doctor understand eachother clearly.</p>
<p>In case you are in a hurry here are my tips in point form:</p>
<ul>
<li>Put any burn under tepid-cool running water for 20 minutes &#8211; it vastly improves the outcome.</li>
<li>Call an ambulance as they have specialised dressings that can also improve outcome.</li>
<li>Keep a photographic record of the burn as you go on your telephone.</li>
<li>Keep a record of the meds you took, any test results etc on your telephone. Either as photos and calendar entries, or in an App.</li>
<li>Keep telling everyone you meet about your personal relevant issues: do not rely on them asking you. Check understanding by asking them if that specifically affects your case. eg. I have an X infection right now, does that affect my treatment?</li>
<li>If you are not referred to a specialist wound nurse, make sure the leg is bandaged tightly as swelling will impede progress.</li>
<li>Leg burns are painful &#8211; a bit like having contractions when you give birth. The larger body of pain lasts 7-10 days so keep motivated!</li>
<li>Stay seated or lying with your leg up to reduce swelling. Periodically go to stand up and get some circulation into the leg, at least every 15 minutes if you can.</li>
<li>Move your foot around in circles to get the circulation going as this aids in healing.</li>
<li>I took the maximum amount of Vitamins A, C, E, Zinc and Magnesium to aid in cell repair.</li>
<li>Put the heel down as you walk so your skin gets movement as it&#8217;s healing.</li>
<li>Do calf stretches &#8211; at least one every 30 mins.</li>
<li>Talk to people on the phone, request visits, stay chipper!</li>
<li>Generally speaking wounds should heal within 2 weeks and beyond that are candidates for a skin graft.</li>
<li>Sydney dwellers: there are two specialist burns units: Concord Hospital and Royal North Shore. You are generally referred to a unit to perform dressings and monitor the progress of the wound. These guys have an awesome array of different kinds of dressings to make your life less painful.</li>
</ul>
<p>Luckily a few years ago we did the <a href="http://www.kidsfirstaid.com.au">Kids First Aid</a> course at a friend&#8217;s house. The ambulance man who took the course was very clear on what to do: put the burn under cool running water for at least 20 minutes and call an ambulance. We did that and every time we&#8217;ve seen a nurse or other wound specialist they&#8217;ve reinforced that it is the gold standard course of action.</p>
<p>Good luck! You&#8217;ll get through it.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/uncategorized/leg-burn-treatment-and-exercise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RewriteMaps, QueryStrings and MediaTemple</title>
		<link>http://houseoflaudanum.com/navigate/howtos/rewritemaps-querystrings-and-mediatemple/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/rewritemaps-querystrings-and-mediatemple/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 10:39:11 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[(mt)]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[rewrites]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1132</guid>
		<description><![CDATA[So we needed to migrate one of our last isEngine sites to an archived (not database driven) site with modern CSS and jQuery. The old site was stored in XML so we built a Python script to migrate the content into new templates and store a sitemap and an ID map.
When it came time to [...]]]></description>
			<content:encoded><![CDATA[<p>So we needed to migrate one of our last isEngine sites to an archived (not database driven) site with modern CSS and jQuery. The old site was stored in XML so we built a Python script to migrate the content into new templates and store a sitemap and an ID map.</p>
<p>When it came time to translate the URLs using Apache Rewrite I had several go&#8217;s at getting it working. The recipe is as follows.</p>
<p>A RewriteMap directive. This cannot be in an .htaccess file or in a &lt;Directory&gt; directive. It must be in a &lt;VirtualHost&gt; directive. In mediatemple that meant adding it to the root <em>and</em> sub domain conf/vhost.conf file (even though we were working in a subdomain).</p>
<p><code>$ cat conf/vhost.conf<br />
RewriteMap              dynamic2static "txt:/var/www/vhosts/1001.net.au/repository/source/rewrite-map.txt"<br />
$ /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=1001.net.au<br />
$ /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=staging.1001.net.au<br />
$ /sbin/service httpd graceful </code></p>
<p>Also in order to redirect URLs containing <em>cgi-bin</em> I needed to disable the overriding ScriptAlias in the main server config file. I changed it to <em>cgi</em> instead.</p>
<p><code>$ vi /etc/httpd/conf/httpd.conf<br />
# ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"<br />
ScriptAlias /cgi/ "/var/www/cgi-bin/"<br />
$/sbin/service httpd graceful</code></p>
<p>Next our rewrite map file. Here are the first 10 lines.</p>
<p><code>119	1<br />
127	2<br />
128	3<br />
129	4<br />
149	5<br />
130	6<br />
131	7<br />
132	8<br />
133	9<br />
134	10</code></p>
<p>And finally our .htaccess file.</p>
<p><code> Options +FollowSymlinks<br />
RewriteEngine   on<br />
RewriteBase     /<br />
RewriteCond     %{QUERY_STRING}  id=(\d+)$<br />
RewriteRule     ^cgi-bin/isengine$ /story/${dynamic2static:%1|NOTFOUND}? [L]<br />
RewriteRule     ^Prompt/(\d+)$ /story/${dynamic2static:$1|NOTFOUND}? [L]</code></p>
<p>The interesting lines are</p>
<p><code>RewriteCond %{QUERY_STRING} id=(\d+)$<br />
</code>Only apply the following rule if we can match a <em>query string</em> ending with <em>id=[some integer]</em></p>
<p><code>RewriteRule ^isengine$ /story/${dynamic2static:%1|NOTFOUND}? [L]<br />
</code>If the URL ended with <em>isengine</em> then rewrite it to<em> story/</em> followed by our matched <em>id</em> (%1) mapped using our <em>dynamic2static</em> map.</p>
<p>eg:<br />
<a href="http://1001.net.au/cgi-bin/isengine?o=1001&amp;action=display&amp;id=407  ">http://1001.net.au/cgi-bin/isengine?o=1001&amp;action=display&amp;id=407<br />
</a>becomes<br />
http://1001.net.au/story/87</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/rewritemaps-querystrings-and-mediatemple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nodequeue and features</title>
		<link>http://houseoflaudanum.com/navigate/howtos/nodequeue-and-features/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/nodequeue-and-features/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 11:07:58 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[nodequeue]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1129</guid>
		<description><![CDATA[Recently I tried to push an exported Drupal Feature to another install and failed miserably. After enabling and disabling various modules and features I finally disabled the lot, deleted the nodequeue and smartqueue tables and remove the nodequeue rows in the system table. Enabling nodequeue first and checking that it was working I was then [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I tried to push an exported Drupal Feature to another install and failed miserably. After enabling and disabling various modules and features I finally disabled the lot, deleted the nodequeue and smartqueue tables and remove the nodequeue rows in the system table. Enabling nodequeue first and checking that it was working I was then able to go through and enable smartqueues, create the smartqueue we needed and enable the feature. Phew!</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/nodequeue-and-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New models of research publishing</title>
		<link>http://houseoflaudanum.com/news/new-models-of-research-publishing/</link>
		<comments>http://houseoflaudanum.com/news/new-models-of-research-publishing/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 11:05:01 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1095</guid>
		<description><![CDATA[Mashups have recently given rise to exciting new possibilities for SaaS research projects that are light on resources and heavy on assets. By combining existing research with open source tools, cloud computing and hosted solutions, researchers can limit costs, improve outcomes and spend less time coding.
This project by Tim Sherratt caught our eye for just these [...]]]></description>
			<content:encoded><![CDATA[<p>Mashups have recently given rise to exciting new possibilities for SaaS research projects that are light on resources and heavy on assets. By combining existing research with open source tools, cloud computing and hosted solutions, researchers can limit costs, improve outcomes and spend less time coding.</p>
<p>This project by Tim Sherratt caught our eye for just these reasons and clearly demonstrates this methodology most clearly.</p>
<p><a href="http://discontents.com.au/shoebox/weather-research-topics/some-exhibition-magic-with-zotero-and-omeka">Some exhibition magic with Zotero and Omeka</a></p>
<p>We&#8217;ve looked at both <a href="http://www.google.com.au/url?sa=t&amp;source=web&amp;cd=8&amp;sqi=2&amp;ved=0CFQQFjAH&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FZotero&amp;ei=dk5nTub1J8eQiAeLi4H6Cw&amp;usg=AFQjCNH_Q9iZdiSH3wCjJBRyIKmGy1_lmw">Zotero</a> and <a href="http://en.wikipedia.org/wiki/Omeka">Omeka</a> in the past for various projects because of their growing use by the research community. This project leverages existing data with an API, an open source CMS and some Python magic to create a new view in to an ongoing research project.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/news/new-models-of-research-publishing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting taxonomy nodes</title>
		<link>http://houseoflaudanum.com/navigate/howtos/sorting-taxonomy-nodes/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/sorting-taxonomy-nodes/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 19:52:01 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[HowTos]]></category>
		<category><![CDATA[D7]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1119</guid>
		<description><![CDATA[Nodequeues is one of the more common ways to sort nodes in Drupal. You can create `arbitrary lists of nodes` and order them via drag and drop.
Smart queues are ways that modules can define methods for automatically creating queues. Nodequeues ships with a taxonomy smart queue that we can use to create queues for taxonomy [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://drupal.org/project/nodequeue">Nodequeues</a> is one of the more common ways to sort nodes in Drupal. You can create `arbitrary lists of nodes` and order them via drag and drop.</p>
<p>Smart queues are ways that modules can define methods for automatically creating queues. Nodequeues ships with a taxonomy smart queue that we can use to create queues for taxonomy terms or `categories`.</p>
<ol>
<li>Install and enable nodequeues and smart queues. We&#8217;ll also need <a href="http://drupal.org/project/views">Views</a> if that isn&#8217;t already installed.
<ol>
<li>drush dl nodequeue views; drush en views views_ui nodequeue smartqueue</li>
</ol>
</li>
<li>Allow smart queues to create a queue for our `categories` term.
<ol>
<li>Navigate to <strong>admin/structure/nodequeue</strong></li>
<li>Add a new taxonomy queue</li>
<li>Tick our category term in <em>Taxonomy fields</em>.</li>
<li>Optionally limit it to our content type under <em>Types</em>.</li>
</ol>
</li>
<li>Add nodes to the queue. (New nodes will be added automatically). There is a secondary tab for this. Find it on the edit page.</li>
<li>Replace the regular taxonomy/term page with a view.
<ol>
<li>Navigate to views <strong>admin/structure/views</strong>.</li>
<li>Clone the <em>Taxonomy term</em> view (provided by the Views module). Note: the template tpl file will be based on your choice of view name. Ours is views-view&#8211;taxonomy-term-nodequeue&#8211;page.tpl.php.</li>
<li>Edit the view. Under the <em>Advanced</em> section add a <em>Relationship to Nodequeue</em>. Don&#8217;t require this relationship but do `Limit to one or more queues` specifying our `category` queue.</li>
<li>Under the <em>Sort criteria</em> remove all existing criteria (post date, stickyness). Add a new criteria specifying `Nodequeue: Postion`.</li>
</ol>
</li>
</ol>
<p>To do.</p>
<ol>
<li>Add `add to queue` link from tabs into contextual links.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/sorting-taxonomy-nodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Future Vision!</title>
		<link>http://houseoflaudanum.com/news/future-vision/</link>
		<comments>http://houseoflaudanum.com/news/future-vision/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 00:10:48 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Social media]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1103</guid>
		<description><![CDATA[Future Vision – House of Laudanum’s Breakfast Briefing
Pendolino’s Restaurant &#38; Café
Level 2, The Strand Arcade, 412 – 414 George Street
Sydney
Wednesday, August 31st 2011
9 – 11am
Seats are limited, attendees MUST RSVP!
Breakfast is on us!
The ubiquity of digital technology means social reputation can now be created — or destroyed — in a matter of days, and we [...]]]></description>
			<content:encoded><![CDATA[<address>Future Vision – House of Laudanum’s Breakfast Briefing<br />
Pendolino’s Restaurant &amp; Café<br />
Level 2, The Strand Arcade, 412 – 414 George Street<br />
Sydney<br />
Wednesday, August 31st 2011<br />
9 – 11am<br />
<strong><span style="color: #e81783;">Seats are limited, attendees <span style="text-decoration: underline;">MUST</span> RSVP!</span></strong></address>
<h3>Breakfast is on us!</h3>
<p>The ubiquity of digital technology means social reputation can now be created — or destroyed — in a matter of days, and we are only at the very beginning.  The question on everyone’s lips is: how do we leverage this extraordinary power?<br />
Join us on Wednesday the 31<sup>st</sup> of August 2011 at Pendolino Restaurant &amp; Café at 9am, and we’ll offer you some answers.</p>
<h3>Crucial intelligence for your business</h3>
<p>You’ll hear the results of our latest research into social collaboration, the inexorable rise of reputation indexes and the implications for meeting the needs of your future customers in our changing world.</p>
<p>We’ll also prove why the retail sector (of both goods and services) stands to benefit more than most from adopting and using collaborative Internet solutions. In doing so, we&#8217;ll walk through several case studies — illustrating the success of those who got it right, and the key mistakes of those who didn’t.</p>
<p>Topics will include:</p>
<ul>
<li>Why organisations must engage in online collaboration to survive and succeed</li>
<li>Key consumer behavioral concepts</li>
<li>Predictions for retail in 2015</li>
<li>How to employ behavioural design to boost collaboration</li>
<li>How to cross-fertilise your campaigns and generate a critical mass of interest</li>
<li>The critical position of reputation indexes and how to use them to leverage group reputation</li>
</ul>
<p>Not simply another seminar, this two-hour briefing will be conducted in an intimate roundtable environment conducive to generating real discussion with ample opportunities to ask questions and bring thoughts to the table.</p>
<p>Seats are limited.  To RSVP call Kieran on 02 8405 6807 or e-mail <a href="mailto:kieran@houseoflaudanum.com">kieran@houseoflaudanum.com</a> Alternatively, if you&#8217;d like to get in touch to organise a private briefing for yourself or one of your colleagues then please contact Zina directly.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/news/future-vision/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

