<?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/"
	>

<channel>
	<title>One Of These Days</title>
	<atom:link href="http://www.oneofthesedaysblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oneofthesedaysblog.com</link>
	<description>I'm going to cut you into little peices</description>
	<pubDate>Thu, 25 Jun 2009 07:57:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cross Browser CSS Dropdown</title>
		<link>http://www.oneofthesedaysblog.com/cross-browser-css-dropdown/</link>
		<comments>http://www.oneofthesedaysblog.com/cross-browser-css-dropdown/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 05:01:52 +0000</pubDate>
		<dc:creator>oneofthesedays</dc:creator>
		
		<category><![CDATA[Design]]></category>

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

		<guid isPermaLink="false">http://www.oneofthesedaysblog.com/?p=65</guid>
		<description><![CDATA[The CSS dropdown from the last post works in all browsers except IE6! I&#8217;ve made a few minor changes to ensure it displays correctly in IE7 however.

.Navigation li ul {
	  	background:#FFFFFF none repeat scroll 0 0;
		border:1px solid #000000;
		padding:4px;
		position:absolute;
		width:720px;
		top:30px;
		overflow:visible;
		height:42px;
		left:-135px;
		z-index:10;
	}

A z-index was applied to keep it above any content that might be below, and a left [...]]]></description>
			<content:encoded><![CDATA[<p>The CSS dropdown from the last post works in all browsers except IE6! I&#8217;ve made a few minor changes to ensure it displays correctly in IE7 however.</p>
<p><code><br />
.Navigation li ul {<br />
	  	background:#FFFFFF none repeat scroll 0 0;<br />
		border:1px solid #000000;<br />
		padding:4px;<br />
		position:absolute;<br />
		width:720px;<br />
		top:30px;<br />
		overflow:visible;<br />
		height:42px;<br />
		left:-135px;<br />
		z-index:10;<br />
	}<br />
</code></p>
<p>A z-index was applied to keep it above any content that might be below, and a left position was added to move the dropdown over slightly.</p>
<p>Now as for IE6, we can get it to work with some simple javascript. Not the most accessible solution but really, if you&#8217;re using IE6 and you have javascript disabled, you deserve it.</p>
<p>Using jQuery we can add the hover event to our list with a few lines<br />
<code><br />
$(function() {<br />
	$(".Navigation ul li").hover(<br />
	function () {<br />
		$(this).css("overflow", "visible");<br />
	},<br />
	function () {<br />
		$(this).css("overflow", "hidden");<br />
	});<br />
});<br />
</code></p>
<p>and voila! Simply setting the overflow property when each list element is hovered is enough to make the dropdown work.</p>
<p>Now if you don&#8217;t want the extra overhead of the jquery library you can use conditional comments to only grab it if they&#8217;re using IE.<br />
<code><br />
&lt;!--[if IE 6]&gt;<br />
&lt;script src=&quot;http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
$(function() {<br />
	$(&quot;.Navigation ul li&quot;).hover(<br />
	function () {<br />
		$(this).css(&quot;overflow&quot;, &quot;visible&quot;);<br />
	},<br />
	function () {<br />
		$(this).css(&quot;overflow&quot;, &quot;hidden&quot;);<br />
	});<br />
});<br />
&lt;/script&gt;<br />
&lt;![endif]&#8211;&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oneofthesedaysblog.com/cross-browser-css-dropdown/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pure CSS Dropdown for Firefox</title>
		<link>http://www.oneofthesedaysblog.com/pure-css-dropdown-for-firefox/</link>
		<comments>http://www.oneofthesedaysblog.com/pure-css-dropdown-for-firefox/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 06:13:56 +0000</pubDate>
		<dc:creator>oneofthesedays</dc:creator>
		
		<category><![CDATA[Design]]></category>

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

		<guid isPermaLink="false">http://www.oneofthesedaysblog.com/?p=58</guid>
		<description><![CDATA[Here&#8217;s a quick and dirty pure CSS dropdown that at present only works in Firefox. 

.Navigation li {
	position:relative; display:block;
	float:left;
	height:26px;
	overflow:hidden;
	display:inline;
	padding:0px 10px;
}
.Navigation li:hover { color:orange; cursor:pointer; overflow:visible;}

.Navigation li ul {
	background:#FFFFFF none repeat scroll 0 0;
	border:1px solid #000000;
	padding:4px;
	position:absolute;
	width:600px;
	top:30px;
	overflow:visible;
	height:42px;
}
.Navigation li ul li { display:inline; color:#000; }

That&#8217;s all the CSS needed, along with this HTML:

&#60;&#100;&#105;&#118;&#32;&#99;&#108;&#97;&#115;&#115;&#61;&#34;&#78;&#97;&#118;&#105;&#103;&#97;&#116;&#105;&#111;&#110;&#34;&#62;&#9;&#60;&#117;&#108;&#62;&#9;&#9;&#60;&#108;&#105;&#62;&#60;&#97;&#62;&#72;&#111;&#109;&#101;&#60;&#47;&#97;&#62;&#60;&#47;&#108;&#105;&#62;&#9;&#9;&#60;&#108;&#105;&#62;&#9;&#9;&#9;&#60;&#97;&#62;&#65;&#98;&#111;&#117;&#116;&#32;&#85;&#115;&#60;&#47;&#97;&#62;&#9;&#9;&#9;&#60;&#117;&#108;&#62;&#9;&#9;&#9;&#9;&#60;&#108;&#105;&#62;&#83;&#117;&#98;&#32;&#76;&#105;&#110;&#107;&#32;&#49;&#60;&#47;&#108;&#105;&#62;&#9;&#9;&#9;&#9;&#60;&#108;&#105;&#62;&#83;&#117;&#98;&#32;&#76;&#105;&#110;&#107;&#32;&#50;&#60;&#47;&#108;&#105;&#62;&#9;&#9;&#9;&#9;&#60;&#108;&#105;&#62;&#83;&#117;&#98;&#32;&#76;&#105;&#110;&#107;&#32;&#51;&#60;&#47;&#108;&#105;&#62;&#9;&#9;&#9;&#60;&#47;&#117;&#108;&#62;&#9;&#9;&#60;&#47;&#108;&#105;&#62;&#9;&#9;&#32;&#60;&#108;&#105;&#62;&#60;&#97;&#62;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#115;&#60;&#47;&#97;&#62;&#60;&#47;&#108;&#105;&#62;&#9;&#9;&#32;&#60;&#108;&#105;&#62;&#60;&#97;&#62;&#67;&#111;&#110;&#116;&#97;&#99;&#116;&#60;&#47;&#97;&#62;&#60;&#47;&#108;&#105;&#62;&#9;&#60;&#47;&#117;&#108;&#62;&#9;&#60;&#47;&#100;&#105;&#118;&#62;

By floating each list element as [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick and dirty pure CSS dropdown that at present only works in Firefox. </p>
<pre>
.Navigation li {
	position:relative; display:block;
	float:left;
	height:26px;
	overflow:hidden;
	display:inline;
	padding:0px 10px;
}
.Navigation li:hover { color:orange; cursor:pointer; overflow:visible;}

.Navigation li ul {
	background:#FFFFFF none repeat scroll 0 0;
	border:1px solid #000000;
	padding:4px;
	position:absolute;
	width:600px;
	top:30px;
	overflow:visible;
	height:42px;
}
.Navigation li ul li { display:inline; color:#000; }
</pre>
<p>That&#8217;s all the CSS needed, along with this HTML:</p>
<p><code><br />
&#60;&#100;&#105;&#118;&#32;&#99;&#108;&#97;&#115;&#115;&#61;&#34;&#78;&#97;&#118;&#105;&#103;&#97;&#116;&#105;&#111;&#110;&#34;&#62;<br />&#9;&#60;&#117;&#108;&#62;<br />&#9;&#9;&#60;&#108;&#105;&#62;&#60;&#97;&#62;&#72;&#111;&#109;&#101;&#60;&#47;&#97;&#62;&#60;&#47;&#108;&#105;&#62;<br />&#9;&#9;&#60;&#108;&#105;&#62;<br />&#9;&#9;&#9;&#60;&#97;&#62;&#65;&#98;&#111;&#117;&#116;&#32;&#85;&#115;&#60;&#47;&#97;&#62;<br />&#9;&#9;&#9;&#60;&#117;&#108;&#62;<br />&#9;&#9;&#9;&#9;&#60;&#108;&#105;&#62;&#83;&#117;&#98;&#32;&#76;&#105;&#110;&#107;&#32;&#49;&#60;&#47;&#108;&#105;&#62;<br />&#9;&#9;&#9;&#9;&#60;&#108;&#105;&#62;&#83;&#117;&#98;&#32;&#76;&#105;&#110;&#107;&#32;&#50;&#60;&#47;&#108;&#105;&#62;<br />&#9;&#9;&#9;&#9;&#60;&#108;&#105;&#62;&#83;&#117;&#98;&#32;&#76;&#105;&#110;&#107;&#32;&#51;&#60;&#47;&#108;&#105;&#62;<br />&#9;&#9;&#9;&#60;&#47;&#117;&#108;&#62;<br />&#9;&#9;&#60;&#47;&#108;&#105;&#62;<br />&#9;&#9;&#32;&#60;&#108;&#105;&#62;&#60;&#97;&#62;&#80;&#114;&#111;&#100;&#117;&#99;&#116;&#115;&#60;&#47;&#97;&#62;&#60;&#47;&#108;&#105;&#62;<br />&#9;&#9;&#32;&#60;&#108;&#105;&#62;&#60;&#97;&#62;&#67;&#111;&#110;&#116;&#97;&#99;&#116;&#60;&#47;&#97;&#62;&#60;&#47;&#108;&#105;&#62;<br />&#9;&#60;&#47;&#117;&#108;&#62;&#9;<br />&#60;&#47;&#100;&#105;&#118;&#62;<br />
</code></p>
<p>By floating each list element as a block element, we can hide the sub menu by hiding the overflow content of the div. Hovering over an element sets overflow to visible, and so the sub menu appears.</p>
<p>Now if only it worked in IE..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oneofthesedaysblog.com/pure-css-dropdown-for-firefox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Running YUI Rich Text Editor Inside Thickbox</title>
		<link>http://www.oneofthesedaysblog.com/running-yui-rich-text-editor-inside-thickbox/</link>
		<comments>http://www.oneofthesedaysblog.com/running-yui-rich-text-editor-inside-thickbox/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 07:56:07 +0000</pubDate>
		<dc:creator>oneofthesedays</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.oneofthesedaysblog.com/?p=45</guid>
		<description><![CDATA[The latest project at work required me to get a rich text editor (RTE) running inside jquery thickbox. After trying out a few different RTEs I finally settled on the Yahoo YUI editor as it looks the nicest, and is easily customized. 
After 5 lines, YUI editor was up and running inside thickbox. Sweet, no [...]]]></description>
			<content:encoded><![CDATA[<p>The latest project at work required me to get a rich text editor (RTE) running inside jquery thickbox. After trying out a few different RTEs I finally settled on the Yahoo YUI editor as it looks the nicest, and is easily customized. </p>
<p>After 5 lines, YUI editor was up and running inside thickbox. Sweet, no problems there. However the insert image and link boxes failed completely, in all browsers. </p>
<p>The boxes were created and inserted alongside thickbox, instead of inside. Thankfully thanks to all of YUI editor&#8217;s events this was an easy fix.<br />
<code language="javascript"><br />
        editor.on('windowInsertImageRender', function() {<br />
          document.getElementById('dd-editor').appendChild(this.get('panel').element);<br />
});<br />
</code></p>
<p>Here, &#8220;dd-editor&#8221; is the ID of the div surrounding by YUI editor and &#8216;editor&#8217; is the name of my YUI editor object. We simply set it to listen to the &#8216;windowInsertImageRender&#8217; event and, when it occurs, attach it to the same div that the editor is in. </p>
<p>That fixed, it seemed to be working very smoothly until, surprise, it fails in IE.</p>
<p><img src="http://www.oneofthesedaysblog.com/wp-content/uploads/2009/02/yui-thickbox-scroll-bug.png" alt="yui-thickbox-scroll-bug" title="yui-thickbox-scroll-bug" width="611" height="294" class="alignnone size-full wp-image-48" /></p>
<p>When the thickbox is too small to hold all of the content and scrollbars appear, scrolling down creates all manners of positioning problems with the toolbar. Drilling down with the IE developer toolbar revealed that scrolling works down to the list element with a class of &#8220;yui-toolbar-groupitem&#8221;. It is the elements inside that bug out.</p>
<p>After an hour of trying various css positionings and styles, I managed to fix the content area and title bar in place with a bit of jquery.<br />
<code><br />
$("#editor_editor").attr("position", "static")<br />
</code></p>
<p>A fix for the buttons was eventually found as well, however it isn&#8217;t so much a fix as it is a sluggish, ungainly hack.</p>
<p><code><br />
$("#TB_ajaxContent").scroll(function () { editor.toolbar.collapse(true); editor.toolbar.collapse(false); } );<br />
</code></p>
<p>Hooking in to the scroll event on the thickbox window, each time it moves we collapse and then redisplay the toolbar. This causes the buttons to jump into the correct place at the cost of a very slow scrolling time. </p>
<p>Note: the above 2 lines need to be called after the editor has fulled rendered and only in IE. This can be done by using the windowRender event and a bit of jquery, like so:<br />
<code><br />
if ($.browser.msie) {<br />
     editor.on('windowRender', function() {<br />
         $("#editor_editor").attr("position", "static");<br />
         $("#TB_ajaxContent").scroll(function () { editor.toolbar.collapse(true); editor.toolbar.collapse(false); } );<br />
     });<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oneofthesedaysblog.com/running-yui-rich-text-editor-inside-thickbox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Checking your account data with Zend_Http_Client</title>
		<link>http://www.oneofthesedaysblog.com/checking-your-account-data-with-zend_http_client/</link>
		<comments>http://www.oneofthesedaysblog.com/checking-your-account-data-with-zend_http_client/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 10:15:49 +0000</pubDate>
		<dc:creator>oneofthesedays</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Zend Framework]]></category>

		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.oneofthesedaysblog.com/?p=30</guid>
		<description><![CDATA[I live in a flat with 2 other avid internet users. Some months our bandwidth gets used up within a week yet my computer tells me I&#8217;ve only used a few hundred megabytes. In order to get accurate accountability for my internet usage, in comparrison to my flatmates, I wrote a PHP script to give [...]]]></description>
			<content:encoded><![CDATA[<p>I live in a flat with 2 other avid internet users. Some months our bandwidth gets used up within a week yet my computer tells me I&#8217;ve only used a few hundred megabytes. In order to get accurate accountability for my internet usage, in comparrison to my flatmates, I wrote a PHP script to give me my usage as a percentage of the total usage for each day.</p>
<p>Our ISP provides a web portal which gives statistics such as daily and monthly usage. To get the statistics from my own usage, I installed <a href="http://humdi.net/vnstat/">vnstat</a>.</p>
<p>To combine the 2 I decided I would use PHP as an excuse to try out the Zend_Http_Client component. </p>
<p>First off I needed to grab the stats from my computer. This is quite straightforward with the system() function.</p>
<pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php

ob_start</span><span style="color: #007700">();
</span><span style="color: #0000BB">system</span><span style="color: #007700">(</span><span style="color: #DD0000">'vnstat -d -s'</span><span style="color: #007700">);
</span><span style="color: #0000BB">$vnstat </span><span style="color: #007700">= </span><span style="color: #0000BB">ob_get_contents</span><span style="color: #007700">();
</span><span style="color: #0000BB">ob_end_clean</span><span style="color: #007700">();

</span><span style="color: #0000BB">?&gt;</span></span></pre>
<p>Output buffering is used to capture the information that the system command normally sends to the browser. As the system command only returns the last line of output from the command, we can get the entire output by using ob_get_contents().</p>
<p>The options for vnstat make it return statistics for just today (-d) and in short form (-s), looking like this<br />
<code><br />
                                  rx       /         tx      /        total    /  estimated<br />
 wlan0:<br />
           yesterday    162.76 MB  /   78.25 MB  /  241.00 MB<br />
                 today    138.14 MB  /   89.97 MB  /  228.11 MB  /     523 MB<br />
</code></p>
<p>Now we need to get just the total for today:</p>
<pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php

</span><span style="color: #FF8000">//make an array of the output
</span><span style="color: #0000BB">$vnstatComponents </span><span style="color: #007700">= </span><span style="color: #0000BB">split</span><span style="color: #007700">(</span><span style="color: #DD0000">"/"</span><span style="color: #007700">, </span><span style="color: #0000BB">$vnstat</span><span style="color: #007700">);
</span><span style="color: #FF8000">//get today's usage (2nd to last element of the array) and remove whitespace
</span><span style="color: #0000BB">$netUsage </span><span style="color: #007700">= </span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$vnstatComponents</span><span style="color: #007700">[</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$vnstatComponents</span><span style="color: #007700">) - </span><span style="color: #0000BB">2</span><span style="color: #007700">]);
</span><span style="color: #FF8000">//remove 'MB', giving us just the number
</span><span style="color: #0000BB">$myUsage </span><span style="color: #007700">= </span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$netUsage</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$netUsage</span><span style="color: #007700">) - </span><span style="color: #0000BB">3</span><span style="color: #007700">);

</span><span style="color: #0000BB">?&gt;</span></span></pre>
<p>We&#8217;re now ready to start using Zend_Http_Client. </p>
<pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php

</span><span style="color: #FF8000">//open a link to isp website
</span><span style="color: #0000BB">$client </span><span style="color: #007700">= new </span><span style="color: #0000BB">Zend_Http_Client</span><span style="color: #007700">(</span><span style="color: #DD0000">"https://the.vodafone.co.nz/acnts/myaccounts.pl/login"</span><span style="color: #007700">);
</span><span style="color: #0000BB">$client</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setMethod</span><span style="color: #007700">(</span><span style="color: #0000BB">Zend_Http_Client</span><span style="color: #007700">::</span><span style="color: #0000BB">POST</span><span style="color: #007700">);
</span><span style="color: #0000BB">$client</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setParameterPost</span><span style="color: #007700">(array(
    </span><span style="color: #DD0000">'login'  </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'myusername'</span><span style="color: #007700">,
    </span><span style="color: #DD0000">'password' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'mypassword'
</span><span style="color: #007700">));
</span><span style="color: #0000BB">$response </span><span style="color: #007700">= </span><span style="color: #0000BB">$client</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">request</span><span style="color: #007700">();

</span><span style="color: #FF8000">//grab our cookies
</span><span style="color: #0000BB">$cookiejar </span><span style="color: #007700">= </span><span style="color: #0000BB">Zend_Http_CookieJar</span><span style="color: #007700">::</span><span style="color: #0000BB">fromResponse</span><span style="color: #007700">(</span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$client</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getUri</span><span style="color: #007700">());

</span><span style="color: #0000BB">?&gt;</span></span></pre>
<p>The link we open a connection to is the link that the login form will submit to. Firebug can be handy to quickly find this out. You&#8217;ll also need to set the array keys in the setParameterPost method to match the names of the username and password fields on the login form.</p>
<p>The last part of the code is what will enable us to persist our login credentials. Zend_Http_CookieJar is fairly self explanatory in it&#8217;s name. We pass in the request object and the uri of the site we&#8217;re posting to and it will store the cookies that the browser would receive if we were actually visiting the site.</p>
<p>Now let&#8217;s try and log in to the usage page with our new cookies.</p>
<pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php

</span><span style="color: #FF8000">//if we're logged in ok, open account page
</span><span style="color: #007700">if (</span><span style="color: #0000BB">$response</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getMessage</span><span style="color: #007700">() == </span><span style="color: #DD0000">"OK"</span><span style="color: #007700">) {
    </span><span style="color: #0000BB">$client </span><span style="color: #007700">= new </span><span style="color: #0000BB">Zend_Http_Client</span><span style="color: #007700">(</span><span style="color: #DD0000">"https://the.vodafone.co.nz/acnts/myaccount-int.pl/usage-data"</span><span style="color: #007700">);
    </span><span style="color: #0000BB">$client</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setCookieJar</span><span style="color: #007700">(</span><span style="color: #0000BB">$cookiejar</span><span style="color: #007700">);
    </span><span style="color: #0000BB">$usageResponse </span><span style="color: #007700">= </span><span style="color: #0000BB">$client</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">request</span><span style="color: #007700">();
}

</span><span style="color: #0000BB">?&gt;</span></span></pre>
<p>And that&#8217;s it! We&#8217;ve now got an object that contains the entire content for the page we specified in the Zend_Http_Client constructor. Now this data might be a little unwieldy to dissect so we can use another handy Zend component, Zend_Dom_Query.</p>
<pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php

$dom </span><span style="color: #007700">= new </span><span style="color: #0000BB">Zend_Dom_Query</span><span style="color: #007700">(</span><span style="color: #0000BB">$usageResponse</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getBody</span><span style="color: #007700">());

</span><span style="color: #0000BB">?&gt;</span></span></pre>
<p>If you have any experience with CSS then the usage of this object for getting data will seem quite natural.</p>
<pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php

$dom</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">query</span><span style="color: #007700">(</span><span style="color: #DD0000">'.tdDataRight'</span><span style="color: #007700">);

</span><span style="color: #0000BB">?&gt;</span></span></pre>
<p>This will return an array of all elements with the class &#8216;tdDataRight&#8217;. </p>
<p>While this example is rather specific, it shows how to use Zend_Http_Client in a way that will no doubt apply to many other situations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oneofthesedaysblog.com/checking-your-account-data-with-zend_http_client/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New on the blog scene</title>
		<link>http://www.oneofthesedaysblog.com/new-on-the-blog-scene/</link>
		<comments>http://www.oneofthesedaysblog.com/new-on-the-blog-scene/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 02:24:08 +0000</pubDate>
		<dc:creator>oneofthesedays</dc:creator>
		
		<category><![CDATA[News]]></category>

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

		<guid isPermaLink="false">http://www.flataccounting.net/blog/?p=1</guid>
		<description><![CDATA[After reading many blogs for many months I have finally managed to enter the blogosphere.
First, a little about myself. I&#8217;m currently in my third year of studying Software Engineering at the University of Auckland, New Zealand. I&#8217;ve also been doing freelance web development for the better part of 4 years. I also have a job [...]]]></description>
			<content:encoded><![CDATA[<p>After reading many blogs for many months I have finally managed to enter the blogosphere.</p>
<p>First, a little about myself. I&#8217;m currently in my third year of studying Software Engineering at the University of Auckland, New Zealand. I&#8217;ve also been doing freelance web development for the better part of 4 years. I also have a job as a developer/IT support guy at a company that deals with online learning solutions.</p>
<p>I love to work with PHP; it&#8217;s a very no fuss language that gives you a lot of flexibility, while still providing the strength required to make complex applications. As far as frameworks go, I&#8217;m all for them and use the Zend Framework. </p>
<p>I&#8217;ve also worked with the .NET framework with C# for both web and windows development and I have to say that I really enjoy using it. It&#8217;s a very powerful system that makes coding easy and fun. Unfortunately it&#8217;s not so great to develop from a Linux machine, which is my primary computer, and the licensing costs are only viable when you have a company paying for everything.</p>
<p>If you&#8217;re interested in some of my work, check out my portfolio at <a href="http://www.spdalton.com">www.spdalton.com</a>.</p>
<p>Now that work is out of the way, some more about my personal self.</p>
<p>I&#8217;m an absolute music nut and spend my days listening to the likes of Pink Floyd, Led Zeppelin, Beethoven, Bach, Miles Davis, BB King, Tool, The Doors, Don McLean and other such blues/classic rock/classical/jazz bands, artists and composers. I&#8217;ve been learning Japanese for about 8 years now and really enjoy doing so. I play guitar in a band too. </p>
<p>What&#8217;s my reason for blogging? Many times I&#8217;ve found a solution to a problem that I simply was not able to find on the internet. I hope that by posting about problems and solutions that I come across, it will help others who find themselves in the same spot. As well as this, it&#8217;s a place for me to collect my thoughts and write about things that interest me, and hopefully others.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oneofthesedaysblog.com/new-on-the-blog-scene/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
