<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5.1" -->
<rss version="0.92">
<channel>
	<title>spudly.shuoink.com</title>
	<link>http://spudly.shuoink.com</link>
	<description>the best way to predict the future is to implement it</description>
	<lastBuildDate>Thu, 21 Feb 2008 15:14:33 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Using the XML DOM Without Writing 15,0000 Lines of Code</title>
		<description>I'm a pretty big fan of using the XML DOM rather than innerHTML, simply because it seems to me to be better programming style. I hate hate hate, however, that it takes 15 lines of code to create one node. Today, I came up with an idea to solve the ...</description>
		<link>http://spudly.shuoink.com/2008/02/20/using-the-xml-dom-without-writing-150000-lines-of-code/</link>
			</item>
	<item>
		<title>PHP Error Log Parser</title>
		<description>So about a month ago I got pretty tired of looking at this:

[17-Feb-2008 07:33:52] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting '(' in C:\www\forms\validate.php on line 10
[17-Feb-2008 07:33:54] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting '(' in C:\www\forms\validate.php on line 10
[17-Feb-2008 07:34:08] PHP Fatal error:  ...</description>
		<link>http://spudly.shuoink.com/2008/02/17/php-error-log-parser/</link>
			</item>
	<item>
		<title>Steal These Buttons! - CSS Sprite Style</title>
		<description>We've all seen these buttons floating around the internet. Every other website you see uses them, proclaiming their standard compliance. They're called "steal these buttons" and there are a number of websites where you can download them.

Here's my set, in the form of a CSS Sprite. In case you don't ...</description>
		<link>http://spudly.shuoink.com/2008/02/13/steal-these-buttons-css-sprite-style/</link>
			</item>
	<item>
		<title>PHP Template Engine</title>
		<description>I've been looking for a good PHP template engine for quite a while now, but I haven't been able to find one that I feel good about. In my bout of frustration, I made my own. Mine, however, is based on normal php tags, rather than creating my own new ...</description>
		<link>http://spudly.shuoink.com/2008/02/09/php-template-engine/</link>
			</item>
	<item>
		<title>Pointers / References in JavaScript: a hack</title>
		<description>I prefer to call them references, but some people call them pointers. Regardless of what you call them, any experienced programmer knows that references sometimes come in handy.

In JavaScript, objects and functions are already passed by reference (as long as you don't use parenthesis after the function name). Unfortunately, there ...</description>
		<link>http://spudly.shuoink.com/2007/12/27/pointers-references-in-javascript-a-hack/</link>
			</item>
	<item>
		<title>my version of the popular addEvent()</title>
		<description>Ok, so here is my version of the popular addEvent() javascript function.

usage:
event_listener.add( object, event_type, function );
Example:
function init() {
   alert("the page is fully loaded");
}
event_listener.add(window,"onload", init);
-OR -

event_listener.add(window, "onload", function init() {
   alert("the page is fully loaded");
});
Then you can also remove events as well. Remove them in the same ...</description>
		<link>http://spudly.shuoink.com/2007/12/08/my-version-of-the-popular-addevent/</link>
			</item>
	<item>
		<title>more class functions&#8230;</title>
		<description>Update: changed from Object.prototype.hasClass(className) to simply hasClass(element, className) for cross-browser compatibility

Ok... nothing to revolutionary here. This has been done before lots of times. I've written two new functions to go along with my hasClass() javascript function.

First is addClass(), which simply adds a class to an object, while preserving the existing ...</description>
		<link>http://spudly.shuoink.com/2007/12/06/more-class-functions/</link>
			</item>
	<item>
		<title>Object.hasClass()</title>
		<description>Update: For compatibility, Object.hasClass(className) is being changed to simply hasClass(node, className).

Inspired by the dojo toolkit, this function checks to see if a given class is assigned to a node. Simply run it like this:
var my_node = document.getElementsById("mydiv");
if( hasClass(my_node, "myclass") ) {
   // ...do something
}

Enough talk; here's the code:
function ...</description>
		<link>http://spudly.shuoink.com/2007/12/01/objecthasclass/</link>
			</item>
	<item>
		<title>the ultimate getElementsBy*: Object.getElementsWhere()</title>
		<description>Update: for compatibility, Object.getElementsWhere("condition") is being changed to getElementsWhere(node, condition) where node is the node to search in.

I've looked a lot lately at the getElementsByClass() function and other getElementsBy functions, but they all seemed rather inadequate to me.

I rewrote the function about three times before I figured out what to ...</description>
		<link>http://spudly.shuoink.com/2007/12/01/the-ultimate-getelementsby-objectgetelementswhere/</link>
			</item>
	<item>
		<title>alert(&#8217;Hello world!&#8217;);</title>
		<description>So here's my new blog - dedicated to sharing and explaining the functions that I write in javascript, php, and others ... </description>
		<link>http://spudly.shuoink.com/2007/11/29/hello-world/</link>
			</item>
</channel>
</rss>
