<?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>seoxys.com&#187; English</title>
	<atom:link href="http://www.seoxys.com/category/english/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seoxys.com</link>
	<description></description>
	<lastBuildDate>Mon, 04 Jan 2010 17:14:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The Azure License: meaningful attribution</title>
		<link>http://www.seoxys.com/azure-license/</link>
		<comments>http://www.seoxys.com/azure-license/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 20:59:01 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=233</guid>
		<description><![CDATA[Open-source licensing can be a real nightmare. Some licenses are nearly impossible to decipher, while some (namely&#8201;&#8211;&#8201;the GNU GPL) are just pure&#160;evil. I have been trying to find a software license which, like the Creative Commons Attribution license, would let the licensee do pretty much anything with the software, except it would require attribution in [...]]]></description>
			<content:encoded><![CDATA[<p>Open-source licensing can be a real nightmare. Some licenses are nearly impossible to decipher, while some (namely&thinsp;&#8211;&thinsp;the GNU GPL) are just <a href="http://www.red-sweater.com/blog/825/getting-pretty-lonely">pure&nbsp;evil</a>.</p>
<p>I have been trying to find a software license which, like the Creative Commons Attribution license, would let the licensee do pretty much anything with the software, except it would require attribution in a meaningful way. That is to say, documentation and/or credits of any derivative&nbsp;work.</p>
<p>The MIT license came closest to this, and it is the base on which the Azure License was&nbsp;written.</p>
<p>A good way to give attribution, as required by the license, would be a friendly &ldquo;Contains code by Copyright Holder [linked]&rdquo; or &ldquo;Special thanks to Copyright Holder [linked]&rdquo; in the about&nbsp;box.</p>
<p>Without further ado, the Azure&nbsp;License:</p>
<blockquote><p>The Azure&nbsp;License</p>
<p>Copyright (c) {year} {copyright&nbsp;holders}</p>
<p>Attribute to {individual or group name} -&nbsp;{link}</p>
<p>You (the licensee) are hereby granted permission, free of charge, to deal in this software or source code (this &#8220;Software&#8221;) without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sublicense this Software, subject to the following&nbsp;conditions:</p>
<p>You must give attribution to the party mentioned above, by name and by hyperlink, in the about box, credits document and/or documentation of any derivative work using a substantial portion of this&nbsp;Software.</p>
<p>You may not use the name of the copyright holder(s) to endorse or promote products derived from this Software without specific prior written&nbsp;permission.</p>
<p>THIS SOFTWARE IS PROVIDED &#8220;AS IS&#8221;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THIS SOFTWARE OR THE USE OR OTHER DEALINGS IN THIS&nbsp;SOFTWARE.</p>
<p>http://seoxys.com/azure-license/</p></blockquote>
<p><a href="http://dl.azuretalon.com/azure_license.txt">Plain text Azure&nbsp;License</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/azure-license/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATTemplate: Simple Templating System in PHP</title>
		<link>http://www.seoxys.com/attemplate-simple-templating-system-in-php/</link>
		<comments>http://www.seoxys.com/attemplate-simple-templating-system-in-php/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 10:13:42 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=203</guid>
		<description><![CDATA[Let me say this first: I do not believe in big bloated MVC PHP frameworks. I believe in having custom code that runs as fast as possible. For recurring useful functionality, such as templates, I believe in using simple, efficient and flexible dedicated standalone&#160;modules. For the past several years, I have been using a home-grown [...]]]></description>
			<content:encoded><![CDATA[<p>Let me say this first: I do not believe in big bloated MVC PHP frameworks. I believe in having custom code that runs as fast as possible. For recurring useful functionality, such as templates, I believe in using simple, efficient and flexible dedicated standalone&nbsp;modules.</p>
<p>For the past several years, I have been using a home-grown templating system that functioned by parsing template files which would have a dedicated / invented syntax. It would replace, for example, %TAG%, with a value. It had several more advanced features too, such as conditionals, recursion, embedded PHP, and&nbsp;more.</p>
<p>And while it functioned just fine, it implemented a custom parser, and required templates to be written using a non-standard syntax. But, after having used Ruby on Rails, I was inspired to design something&nbsp;better.</p>
<p>ATTemplate is the result of this. The main idea behind ATTemplate is that PHP in itself is already a parser, so why reinvent the&nbsp;wheel?</p>
<p>ATTemplate is very lightweight and relatively simple, but it&#8217;s very powerful without being bulky. It allows for everything the other templating systems can do, including loops, nested templates, recursion, conditionals,&nbsp;etc.</p>
<h1>How to&nbsp;use</h1>
<p>Here&#8217;s how you&#8217;d use&nbsp;ATTemplate:</p>
<pre class="textmate-source"><span class="text text_html text_html_basic"><span class="source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span>

<span class="comment comment_line comment_line_double-slash comment_line_double-slash_php"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_php">//</span> Include the ATTemplate class
</span><span class="meta meta_include meta_include_php"><span class="keyword keyword_control keyword_control_import keyword_control_import_include keyword_control_import_include_php">require_once</span> <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">attemplate.inc.php</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span></span><span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span>

<span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>template</span> <span class="keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php">=</span> <span class="keyword keyword_other keyword_other_new keyword_other_new_php">new</span> <span class="support support_class support_class_php">ATTemplate</span>()<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span>

<span class="comment comment_line comment_line_double-slash comment_line_double-slash_php"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_php">//</span> Optionally, you can give it properties, like so:
</span><span class="comment comment_line comment_line_double-slash comment_line_double-slash_php"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_php">//</span> $template = new ATTemplate($property_array);
</span>
<span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>unread_messages</span> <span class="keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php">=</span> <span class="support support_function support_function_rand support_function_rand_php">rand</span>(<span class="constant constant_numeric constant_numeric_php">0</span>, <span class="constant constant_numeric constant_numeric_php">20</span>)<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span>

<span class="comment comment_line comment_line_double-slash comment_line_double-slash_php"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_php">//</span> Sets property 'unread_messages' to 10.
</span><span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>template</span><span class="keyword keyword_operator keyword_operator_class keyword_operator_class_php">-&gt;</span><span class="meta meta_function-call meta_function-call_object meta_function-call_object_php">set</span>(<span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">unread_messages</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>, <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>unread_messages</span>)<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span>

<span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>template</span><span class="keyword keyword_operator keyword_operator_class keyword_operator_class_php">-&gt;</span><span class="meta meta_function-call meta_function-call_object meta_function-call_object_php">set</span>(<span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">title</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>, <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">ATTemplate Test</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>)<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span>

<span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>property_array</span> <span class="keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php">=</span> <span class="meta meta_array meta_array_php"><span class="support support_function support_function_construct support_function_construct_php">array</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_begin punctuation_definition_array_begin_php">(</span>
    <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">first_name</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span> <span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span> <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">John</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>,
    <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">time</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span> <span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span> <span class="support support_function support_function_php_date support_function_php_date_php">date</span>(<span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">H:i:s</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_end punctuation_definition_array_end_php">)</span></span>,
    <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">friend_requests</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span> <span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span> <span class="meta meta_array meta_array_php"><span class="support support_function support_function_construct support_function_construct_php">array</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_begin punctuation_definition_array_begin_php">(</span>
        <span class="meta meta_array meta_array_php"><span class="support support_function support_function_construct support_function_construct_php">array</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_begin punctuation_definition_array_begin_php">(</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">name</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">James</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>, <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">followers</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="support support_function support_function_rand support_function_rand_php">rand</span>(<span class="constant constant_numeric constant_numeric_php">0</span>, <span class="constant constant_numeric constant_numeric_php">200</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_end punctuation_definition_array_end_php">)</span></span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_end punctuation_definition_array_end_php">)</span></span>,
        <span class="meta meta_array meta_array_php"><span class="support support_function support_function_construct support_function_construct_php">array</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_begin punctuation_definition_array_begin_php">(</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">name</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">Josh</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>, <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">followers</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="support support_function support_function_rand support_function_rand_php">rand</span>(<span class="constant constant_numeric constant_numeric_php">0</span>, <span class="constant constant_numeric constant_numeric_php">200</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_end punctuation_definition_array_end_php">)</span></span>),
        <span class="meta meta_array meta_array_php"><span class="support support_function support_function_construct support_function_construct_php">array</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_begin punctuation_definition_array_begin_php">(</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">name</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">Aaron</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>, <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">followers</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="support support_function support_function_rand support_function_rand_php">rand</span>(<span class="constant constant_numeric constant_numeric_php">0</span>, <span class="constant constant_numeric constant_numeric_php">200</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_end punctuation_definition_array_end_php">)</span></span>),
        <span class="meta meta_array meta_array_php"><span class="support support_function support_function_construct support_function_construct_php">array</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_begin punctuation_definition_array_begin_php">(</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">name</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">Eric</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>, <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">followers</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="support support_function support_function_rand support_function_rand_php">rand</span>(<span class="constant constant_numeric constant_numeric_php">0</span>, <span class="constant constant_numeric constant_numeric_php">200</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_end punctuation_definition_array_end_php">)</span></span>),
        <span class="meta meta_array meta_array_php"><span class="support support_function support_function_construct support_function_construct_php">array</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_begin punctuation_definition_array_begin_php">(</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">name</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">Mike</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>, <span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">followers</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span><span class="keyword keyword_operator keyword_operator_key keyword_operator_key_php">=&gt;</span><span class="support support_function support_function_rand support_function_rand_php">rand</span>(<span class="constant constant_numeric constant_numeric_php">0</span>, <span class="constant constant_numeric constant_numeric_php">200</span><span class="punctuation punctuation_definition punctuation_definition_array punctuation_definition_array_end punctuation_definition_array_end_php">)</span></span>)
    )
)<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span>

<span class="comment comment_line comment_line_double-slash comment_line_double-slash_php"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_php">//</span> This pushes the content of $property_array into the properties
</span><span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>template</span><span class="keyword keyword_operator keyword_operator_class keyword_operator_class_php">-&gt;</span><span class="meta meta_function-call meta_function-call_object meta_function-call_object_php">push</span>(<span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>property_array</span>)<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span>

<span class="comment comment_line comment_line_double-slash comment_line_double-slash_php"><span class="punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_php">//</span> Prints the parsed template
</span><span class="support support_function support_function_construct support_function_construct_php">echo</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>template</span><span class="keyword keyword_operator keyword_operator_class keyword_operator_class_php">-&gt;</span><span class="meta meta_function-call meta_function-call_object meta_function-call_object_php">parse</span>(<span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">index.phtml</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>)

<span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span></span></pre>
<p>And here&#8217;s what your template could look&nbsp;like:</p>
<pre class="textmate-source"><span class="text text_html text_html_basic"><span class="meta meta_tag meta_tag_sgml meta_tag_sgml_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;!</span><span class="meta meta_tag meta_tag_sgml meta_tag_sgml_doctype meta_tag_sgml_doctype_html"><span class="entity entity_name entity_name_tag entity_name_tag_doctype entity_name_tag_doctype_html">DOCTYPE</span> html PUBLIC <span class="string string_quoted string_quoted_double string_quoted_double_doctype string_quoted_double_doctype_identifiers-and-DTDs string_quoted_double_doctype_identifiers-and-DTDs_html">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span>
    <span class="string string_quoted string_quoted_double string_quoted_double_doctype string_quoted_double_doctype_identifiers-and-DTDs string_quoted_double_doctype_identifiers-and-DTDs_html">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span></span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>

<span class="meta meta_tag meta_tag_structure meta_tag_structure_any meta_tag_structure_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_structure entity_name_tag_structure_any entity_name_tag_structure_any_html">html</span> <span class="entity entity_other entity_other_attribute-name entity_other_attribute-name_html">xmlns</span>=<span class="string string_quoted string_quoted_double string_quoted_double_html"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_html">"</span>http://www.w3.org/1999/xhtml<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_html">"</span></span> <span class="entity entity_other entity_other_attribute-name entity_other_attribute-name_html">xml:lang</span>=<span class="string string_quoted string_quoted_double string_quoted_double_html"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_html">"</span>en<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_html">"</span></span> <span class="entity entity_other entity_other_attribute-name entity_other_attribute-name_html">lang</span>=<span class="string string_quoted string_quoted_double string_quoted_double_html"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_html">"</span>en<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_html">"</span></span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
<span class="meta meta_tag meta_tag_structure meta_tag_structure_any meta_tag_structure_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_structure entity_name_tag_structure_any entity_name_tag_structure_any_html">head</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
    <span class="meta meta_tag meta_tag_inline meta_tag_inline_any meta_tag_inline_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_inline entity_name_tag_inline_any entity_name_tag_inline_any_html">meta</span> <span class="entity entity_other entity_other_attribute-name entity_other_attribute-name_html">http-equiv</span>=<span class="string string_quoted string_quoted_double string_quoted_double_html"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_html">"</span>Content-Type<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_html">"</span></span> <span class="entity entity_other entity_other_attribute-name entity_other_attribute-name_html">content</span>=<span class="string string_quoted string_quoted_double string_quoted_double_html"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_html">"</span>text/html; charset=utf-8<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_html">"</span></span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">/&gt;</span></span>

    <span class="meta meta_tag meta_tag_inline meta_tag_inline_any meta_tag_inline_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_inline entity_name_tag_inline_any entity_name_tag_inline_any_html">title</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span><span class="source source_php source_php_embedded source_php_embedded_line source_php_embedded_line_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="support support_function support_function_construct support_function_construct_php">echo</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>title</span><span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span><span class="meta meta_tag meta_tag_inline meta_tag_inline_any meta_tag_inline_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_inline entity_name_tag_inline_any entity_name_tag_inline_any_html">title</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>

<span class="meta meta_tag meta_tag_structure meta_tag_structure_any meta_tag_structure_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_structure entity_name_tag_structure_any entity_name_tag_structure_any_html">head</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>

<span class="meta meta_tag meta_tag_structure meta_tag_structure_any meta_tag_structure_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_structure entity_name_tag_structure_any entity_name_tag_structure_any_html">body</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>

<span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">h1</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>Welcome, <span class="source source_php source_php_embedded source_php_embedded_line source_php_embedded_line_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="support support_function support_function_construct support_function_construct_php">echo</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>first_name</span><span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span><span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">h1</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>

<span class="source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="keyword keyword_control keyword_control_php">if</span>(<span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>unread_messages</span><span class="keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_php">&gt;</span><span class="constant constant_numeric constant_numeric_php">0</span>): <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span><span class="punctuation punctuation_whitespace punctuation_whitespace_embedded punctuation_whitespace_embedded_trailing punctuation_whitespace_embedded_trailing_php">
</span><span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">h2</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>You have <span class="source source_php source_php_embedded source_php_embedded_line source_php_embedded_line_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="support support_function support_function_construct support_function_construct_php">echo</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>unread_messages</span><span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span> unread messages!<span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">h2</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
<span class="source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="keyword keyword_control keyword_control_php">endif</span><span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span><span class="punctuation punctuation_whitespace punctuation_whitespace_embedded punctuation_whitespace_embedded_trailing punctuation_whitespace_embedded_trailing_php">
</span>
<span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">p</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>You have received friend requests from the following people:<span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">p</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
<span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">ol</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
<span class="source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="keyword keyword_control keyword_control_php">foreach</span>(<span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>friend_requests</span> <span class="keyword keyword_operator keyword_operator_logical keyword_operator_logical_php">as</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>friend_request</span>): <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span><span class="punctuation punctuation_whitespace punctuation_whitespace_embedded punctuation_whitespace_embedded_trailing punctuation_whitespace_embedded_trailing_php">
</span>    <span class="meta meta_tag meta_tag_inline meta_tag_inline_any meta_tag_inline_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_inline entity_name_tag_inline_any entity_name_tag_inline_any_html">li</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span><span class="source source_php source_php_embedded source_php_embedded_line source_php_embedded_line_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="support support_function support_function_construct support_function_construct_php">echo</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>friend_request</span>[<span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">name</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>]<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span> (has <span class="source source_php source_php_embedded source_php_embedded_line source_php_embedded_line_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="support support_function support_function_construct support_function_construct_php">echo</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>friend_request</span>[<span class="string string_quoted string_quoted_single string_quoted_single_php"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_php">'</span><span class="meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php">followers</span><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_php">'</span></span>]<span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span> followers)<span class="meta meta_tag meta_tag_inline meta_tag_inline_any meta_tag_inline_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_inline entity_name_tag_inline_any entity_name_tag_inline_any_html">li</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
<span class="source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="keyword keyword_control keyword_control_php">endforeach</span><span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span><span class="punctuation punctuation_whitespace punctuation_whitespace_embedded punctuation_whitespace_embedded_trailing punctuation_whitespace_embedded_trailing_php">
</span><span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">ol</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>

<span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">p</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>The time is <span class="source source_php source_php_embedded source_php_embedded_line source_php_embedded_line_html"><span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_begin punctuation_definition_embedded_begin_php">&lt;?php</span> <span class="support support_function support_function_construct support_function_construct_php">echo</span> <span class="variable variable_other variable_other_php"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_php">$</span>time</span><span class="punctuation punctuation_terminator punctuation_terminator_expression punctuation_terminator_expression_php">;</span> <span class="punctuation punctuation_definition punctuation_definition_embedded punctuation_definition_embedded_end punctuation_definition_embedded_end_php"><span class="source source_php">?</span>&gt;</span></span>&#8230;<span class="meta meta_tag meta_tag_block meta_tag_block_any meta_tag_block_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_block entity_name_tag_block_any entity_name_tag_block_any_html">p</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>

<span class="meta meta_tag meta_tag_structure meta_tag_structure_any meta_tag_structure_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_structure entity_name_tag_structure_any entity_name_tag_structure_any_html">body</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
<span class="meta meta_tag meta_tag_structure meta_tag_structure_any meta_tag_structure_any_html"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_structure entity_name_tag_structure_any entity_name_tag_structure_any_html">html</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_html">&gt;</span></span>
</span></pre>
<h1>License</h1>
<p>You&#8217;re free to use the code in whatever you want, commercial or not. Modify it, redistribute it, do whatever you want with&nbsp;it.</p>
<p>The only requirement is that you need to give me&nbsp;credit.</p>
<p>Also, please do <a href="mailto:kenneth@ballenegger.com">shoot me an email</a> if you use this in your&nbsp;project.</p>
<p>ATTemplate by <a href="http://www.seoxys.com">Kenneth Ballenegger</a> is licensed under the <a href="http://www.seoxys.com/azure-license">Azure&nbsp;License</a>.</p>
<h1>Download</h1>
<p><a href="http://dl.azuretalon.com/attemplate.zip">Download&nbsp;ATTemplate!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/attemplate-simple-templating-system-in-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Meet iLaugh 2.0 &#8211; Social Jokes</title>
		<link>http://www.seoxys.com/ilaugh-2/</link>
		<comments>http://www.seoxys.com/ilaugh-2/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 15:02:52 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=201</guid>
		<description><![CDATA[After months of hard work, controversy and perseverance, iLaugh 2.0 is finally&#160;launching. iLaugh puts a database of over 50,000 jokes in the palm of your hand. Vote on your favorite jokes, compile a list of your favorites, share jokes with your friends via Twitter and Facebook, and most importantly, have a good&#160;laugh. With iLaugh, you [...]]]></description>
			<content:encoded><![CDATA[<p>After months of hard work, <a href="http://www.seoxys.com/apples-increasingly-ridiculous-rejections/">controversy</a> and perseverance, iLaugh 2.0 is finally&nbsp;launching.</p>
<p>iLaugh puts a database of over 50,000 jokes in the palm of your hand. Vote on your favorite jokes, compile a list of your favorites, share jokes with your friends via Twitter and Facebook, and most importantly, have a good&nbsp;laugh.</p>
<p>With iLaugh, you have complete control over which jokes you want to read. The Categories feature gives you the ability to only read the jokes that interest you. Additionally, you can filter out adult jokes or jokes voted down by the&nbsp;community.</p>
<p><center><a href="http://www.ilaughapp.com/"><img src="http://akhun.com/seo/skitch/iPhone_Portrait_0708-20090609-183209.png" style="border:none" /></a></center><br />
<center>(click on the image to go to <a href="http://www.ilaughapp.com/">ilaughapp.com</a>)</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/ilaugh-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warmonger: Warcraft III Autorefresh for Mac OS X</title>
		<link>http://www.seoxys.com/warmonger-warcraft-iii-autorefresh-for-mac-os-x/</link>
		<comments>http://www.seoxys.com/warmonger-warcraft-iii-autorefresh-for-mac-os-x/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 08:19:42 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=197</guid>
		<description><![CDATA[One of the most popular articles on this blog has always been my tutorial on how to hack an War3 autorefresh bot for&#160;Mac. However, it&#8217;s still quite a clunky hack, and many commenters have been unable to get it work smoothly. Even I gave up on it when I upgraded to&#160;Leopard. Introducing&#160;Warmonger Warmonger is a [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most popular articles on this blog has always been my tutorial on how to <a href="http://www.seoxys.com/tutorial-warcraft-iii-autorefresh-for-mac-os-x/">hack an War3 autorefresh bot for&nbsp;Mac</a>.</p>
<p>However, it&#8217;s still quite a clunky hack, and many commenters have been unable to get it work smoothly. Even I gave up on it when I upgraded to&nbsp;Leopard.</p>
<p><strong>Introducing&nbsp;Warmonger</strong></p>
<p><img src="http://akhun.com/seo/skitch/Warmonger-20090615-100654.png" /></p>
<p>Warmonger is a Mac-like autorefresh bot for Warcraft III. It does that and only that, but it does it well, reliably and most importantly,&nbsp;natively.</p>
<p>Warmonger is completely free,&nbsp;too.</p>
<p><a href="http://dl.azuretalon.com/Warmonger.zip">Download&nbsp;Warmonger</a></p>
<p>Using Warmonger is easy: Create a game on Battle.net, switch to Warmonger and hit Refresh, get back to War3 and enjoy your autorefreshing&nbsp;game.</p>
<p>Warmonger knows to stop automatically when your game starts. Once it&#8217;s launched, you don&#8217;t even have to worry about it anymore. It really is that&nbsp;simple.</p>
<p><img src="http://akhun.com/seo/skitch/Warmonger-20090615-100909.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/warmonger-warcraft-iii-autorefresh-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Apple&#8217;s Increasingly Ridiculous Rejections</title>
		<link>http://www.seoxys.com/apples-increasingly-ridiculous-rejections/</link>
		<comments>http://www.seoxys.com/apples-increasingly-ridiculous-rejections/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 23:40:39 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=195</guid>
		<description><![CDATA[Three months ago, I submitted an update to iLaugh and iLaugh Lite, numbered 1.1.1 that fixed many bugs but didn&#8217;t change anything to the functionality of the&#160;app. Today, after three whole months in review (seriously, I&#8217;m not making this up!), they decided to finally tackle the issue and issue me a rejection for no other [...]]]></description>
			<content:encoded><![CDATA[<p>Three months ago, I submitted an update to <a href="http://www.ilaughapp.com/">iLaugh</a> and iLaugh Lite, numbered 1.1.1 that fixed many bugs but didn&#8217;t change anything to the functionality of the&nbsp;app.</p>
<p>Today, after three whole months in review (seriously, I&#8217;m not making this up!), they decided to finally tackle the issue and issue me a rejection for no other reason other than &#8220;because we said&nbsp;so.&#8221;</p>
<p>See for&nbsp;yourself.</p>
<p><a href="http://akhun.com/seo/skitch/Inbox_%2821_messages%29-20090611-003253.png"><img src="http://akhun.com/seo/skitch/Inbox_%2821_messages%29-20090611-003253.png" /></a></p>
<p>Please note, this is for iLaugh 1.1.1. iLaugh 2.0 is still in review, as a new application, and there&#8217;s no reason it should be rejected. In fact, the premium edition has already been approved and is <a href="http://ilaughapp.com/appstore/premium.php">already live on the App&nbsp;Store</a>.</p>
<p>Speaking of iLaugh 2.0&thinsp;&#8211;&thinsp;the first public screenshot&nbsp;ever:</p>
<div style="text-align:center"><a href="http://ilaughapp.com/appstore/premium.php"><img src="http://akhun.com/seo/skitch/iPhone_Portrait_0708-20090609-183209.png" style="border:none;" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/apples-increasingly-ridiculous-rejections/feed/</wfw:commentRss>
		<slash:comments>89</slash:comments>
		</item>
		<item>
		<title>Dynamic mass vhost with Apache and mod_rewrite</title>
		<link>http://www.seoxys.com/dynamic-mass-vhost-with-apache-and-mod_rewrite/</link>
		<comments>http://www.seoxys.com/dynamic-mass-vhost-with-apache-and-mod_rewrite/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 15:57:14 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=185</guid>
		<description><![CDATA[In the process of setting up a new web-server with Mosso&#8217;s CloudServer, I came up across an interesting problem that took be the better part of the day to figure&#160;out. The new server is completely unmanaged, which means that I have no web control panel to manage things. But worry not, that&#8217;s actually a good [...]]]></description>
			<content:encoded><![CDATA[<p>In the process of setting up a new web-server with Mosso&#8217;s CloudServer, I came up across an interesting problem that took be the better part of the day to figure&nbsp;out.</p>
<p>The new server is completely unmanaged, which means that I have no web control panel to manage things. But worry not, that&#8217;s actually a good thing, because it means I have no web control panel to complicate and fuck up things&nbsp;either.</p>
<p>But it meant I had to setup Apache manually, including the vhosts so that my domain get mapped to the correct content. The problem is I have north of ten domains, each with their own subdomains. I could do it the standard and documented way of adding a VirtualHost for each domain, or I can be clever and have it do the work for&nbsp;me.</p>
<p>My first idea was to go with&nbsp;<i>mod_vhost_alias</i>:</p>
<pre class="textmate-source"><span class="source source_apache-config"><span class="support support_constant support_constant_apache-config">UseCanonicalName</span> Off

<span class="support support_constant support_constant_apache-config">LogFormat</span> <span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span>%V %h %l %u %t \<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span>%r\<span class="string string_quoted string_quoted_double string_quoted_double_apache-config"><span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_apache-config">"</span> %s %b<span class="punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_apache-config">"</span></span> vcommon
<span class="support support_constant support_constant_apache-config">CustomLog</span> logs/access_log vcommon

<span class="support support_constant support_constant_apache-config">VirtualDocumentRoot</span> /home/kenneth/www/%0/public
<span class="support support_constant support_constant_apache-config">VirtualScriptAlias</span> /home/kenneth/www/%0/cgi-bin
</span></pre>
<p>This worked like magic, automatically translating the domain requested to the path. http://domain.com/* would translate to /home/kenneth/www/domain.com/public/*. But, www.domain.com would translate to a folder named www.domain.com. This meant one of two things: either I had to create dirty symlinks in my www folder, or anybody accessing my domain from the www. subdomain would get a 404 error, both of which are&nbsp;unacceptable.</p>
<p>Another option would be to change that code like&nbsp;such:</p>
<p><code> VirtualDocumentRoot /home/kenneth/www/%-2.0.%-1.0/public<br />
VirtualScriptAlias&nbsp;/home/kenneth/www/%-2.0.%-1.0/cgi-bin</code></p>
<p>This works by taking the last two parts of a domain, but it has two big flaws. Firstly, it completely ignores any subdomains. Secondly, it doesn&#8217;t work with multiple-tld domains, such as .co.uk&nbsp;domains.</p>
<p>After a whole afternoon of trying different things, I came to the optimal solution, through URL&nbsp;rewriting.</p>
<p>With this solution, domains, whether they have www. or not, map to the same domain.tld folder, and subdomains also map to folders in the same root folder (www, in my&nbsp;case).</p>
<pre class="textmate-source"><span class="source source_apache-config"><span class="support support_constant support_constant_apache-config">UseCanonicalName</span> Off

<span class="meta meta_directory meta_directory_apache-config"><span class="meta meta_tag meta_tag_apache-config"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_apache-config">&lt;</span><span class="entity entity_name entity_name_tag entity_name_tag_apache-config">Directory</span> <span class="meta meta_toc-list meta_toc-list_directory meta_toc-list_directory_apache-config">/home</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_apache-config">&gt;</span></span>
<span class="support support_constant support_constant_apache-config">Options</span> FollowSymLinks ExecCGIAllowOverride All
<span class="meta meta_tag meta_tag_apache-config"><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_apache-config">&lt;/</span><span class="entity entity_name entity_name_tag entity_name_tag_apache-config">Directory</span><span class="punctuation punctuation_definition punctuation_definition_tag punctuation_definition_tag_apache-config">&gt;</span></span></span>

<span class="support support_constant support_constant_apache-config">RewriteEngine</span> On

<span class="support support_constant support_constant_rewritecond support_constant_rewritecond_apache-config">RewriteCond</span> <span class="support support_variable support_variable_apache-config"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_apache-config">%{</span>REQUEST_URI}</span> <span class="string string_other string_other_rewrite-condition string_other_rewrite-condition_apache-config">!/home/kenneth/www</span>
<span class="support support_constant support_constant_rewritecond support_constant_rewritecond_apache-config">RewriteCond</span> <span class="support support_variable support_variable_apache-config"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_apache-config">%{</span>REQUEST_URI}</span> <span class="string string_other string_other_rewrite-condition string_other_rewrite-condition_apache-config">!^/icons/</span>
<span class="support support_constant support_constant_rewritecond support_constant_rewritecond_apache-config">RewriteCond</span> <span class="support support_variable support_variable_apache-config"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_apache-config">%{</span>REQUEST_URI}</span> <span class="string string_other string_other_rewrite-condition string_other_rewrite-condition_apache-config">!^/cgi-bin/</span>
<span class="support support_constant support_constant_rewritecond support_constant_rewritecond_apache-config">RewriteCond</span> <span class="support support_variable support_variable_apache-config"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_apache-config">%{</span>HTTP_HOST}</span> <span class="string string_other string_other_rewrite-condition string_other_rewrite-condition_apache-config">^(?:www\.)?(.*)$</span> <span class="string string_regexp string_regexp_rewrite-operator string_regexp_rewrite-operator_apache-config">[NC]</span>
<span class="support support_constant support_constant_rewriterule support_constant_rewriterule_apache-config">RewriteRule</span> <span class="string string_regexp string_regexp_rewrite-pattern string_regexp_rewrite-pattern_apache-config">^/(.*)$</span> <span class="string string_other string_other_rewrite-substitution string_other_rewrite-substitution_apache-config">/home/kenneth/www/</span>%<span class="string string_other string_other_rewrite-substitution string_other_rewrite-substitution_apache-config">1/public/$1</span>

<span class="support support_constant support_constant_rewritecond support_constant_rewritecond_apache-config">RewriteCond</span> <span class="support support_variable support_variable_apache-config"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_apache-config">%{</span>REQUEST_URI}</span> <span class="string string_other string_other_rewrite-condition string_other_rewrite-condition_apache-config">!/home/kenneth/www</span>
<span class="support support_constant support_constant_rewritecond support_constant_rewritecond_apache-config">RewriteCond</span> <span class="support support_variable support_variable_apache-config"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_apache-config">%{</span>REQUEST_URI}</span> <span class="string string_other string_other_rewrite-condition string_other_rewrite-condition_apache-config">^/cgi-bin/</span>
<span class="support support_constant support_constant_rewritecond support_constant_rewritecond_apache-config">RewriteCond</span> <span class="support support_variable support_variable_apache-config"><span class="punctuation punctuation_definition punctuation_definition_variable punctuation_definition_variable_apache-config">%{</span>HTTP_HOST}</span> <span class="string string_other string_other_rewrite-condition string_other_rewrite-condition_apache-config">^(?:www\.)?(.*)$</span> <span class="string string_regexp string_regexp_rewrite-operator string_regexp_rewrite-operator_apache-config">[NC]</span>
<span class="support support_constant support_constant_rewriterule support_constant_rewriterule_apache-config">RewriteRule</span> <span class="string string_regexp string_regexp_rewrite-pattern string_regexp_rewrite-pattern_apache-config">^/(.*)$</span> <span class="string string_other string_other_rewrite-substitution string_other_rewrite-substitution_apache-config">/home/kenneth/www/</span>%<span class="string string_other string_other_rewrite-substitution string_other_rewrite-substitution_apache-config">1/cgi-bin/$1</span> <span class="string string_regexp string_regexp_rewrite-operator string_regexp_rewrite-operator_apache-config">[T=application/x-httpd-cgi]</span></span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/dynamic-mass-vhost-with-apache-and-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Personal Hub, Business Cards, Art Potfolio</title>
		<link>http://www.seoxys.com/personal-hub-business-cards-art-potfolio/</link>
		<comments>http://www.seoxys.com/personal-hub-business-cards-art-potfolio/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 16:35:49 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=181</guid>
		<description><![CDATA[I&#8217;ve recently won a prize of a thousand free business cards in a contest, which gave me the perfect excuse to stop procrastinating and start designing pretty business cards. Below are a few images of these&#160;beauties. To match these nifty-looking business cards, I today designed and launched a new personal &#8220;hub&#8221; site to overcome the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently won a prize of a thousand free business cards in a contest, which gave me the perfect excuse to stop procrastinating and start designing pretty business cards. Below are a few images of these&nbsp;beauties.</p>
<p><a href="http://akhun.com/seo/skitch/businesscardsdisplay-20090418-182046.png"><img src="http://akhun.com/seo/skitch/businesscardsdisplay-20090418-182046.png" /></a></p>
<p><img src="http://akhun.com/seo/skitch/TEMP-Image_1_1-20090418-182149.png" /></p>
<p>To match these nifty-looking business cards, I today designed and launched a new personal &#8220;hub&#8221; site to overcome the usability and the not-so-friendly look of the old&nbsp;one.</p>
<p>Going from&nbsp;<a href="http://kenneth.ballenegger.com/old/">this</a>:</p>
<p><a href="http://kenneth.ballenegger.com/old/"><img src="http://akhun.com/seo/skitch/Kenneth_Ballenegger-20090418-183342.png" /></a></p>
<p>To&nbsp;<a href="http://kenneth.ballenegger.com/">this</a>:</p>
<p><a href="http://kenneth.ballenegger.com/"><img src="http://akhun.com/seo/skitch/Kenneth_Ballenegger-20090418-182913.png" /></a></p>
<p>My blog shrinks the image, go <a href="http://kenneth.ballenegger.com/">visit the site</a>, it look much better in&nbsp;reality.</p>
<p>The last thing I wanted to show off is something I should&#8217;ve shown off a long time: my formal art&nbsp;portfolio.</p>
<p>Click on the (very modest) title page to view the&nbsp;rest.</p>
<p><a href="http://akhun.com/seo/portfolio.pdf"><img src="http://akhun.com/seo/skitch/portfolio-20090418-183943.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/personal-hub-business-cards-art-potfolio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>An Open Letter to John Gruber</title>
		<link>http://www.seoxys.com/an-open-letter-to-john-gruber/</link>
		<comments>http://www.seoxys.com/an-open-letter-to-john-gruber/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 19:17:35 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=161</guid>
		<description><![CDATA[Dear Mr.&#160;Gruber, I have read your recent article entitled How to Block the DiggBar in which you argue that the the DiggBar is fundamentally evil. You then go on to show how you go out of your way to block traffic coming from a shortened Digg&#160;URL. I&#8217;m all for calling out jackassery on the internet [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Mr.&nbsp;Gruber,</p>
<p>I have read your recent article entitled <a href="http://daringfireball.net/2009/04/how_to_block_the_diggbar">How to Block the DiggBar</a> in which you argue that the the DiggBar is fundamentally evil. You then go on to show how you go out of your way to block traffic coming from a shortened Digg&nbsp;URL.</p>
<p>I&#8217;m all for calling out jackassery on the internet and am an avid reader of your RSS feed, in which you usually do a pretty good job of that. In fact, <a href="http://daringfireball.com">Daring Fireball</a> is, according to NetNewsWire the feed I give most attention to. However, this specific article perturbs me in a number of&nbsp;ways.</p>
<p>Firstly, regarding the topic of the DiggBar itself, I disagree with you in that the DiggBar is the possibly very best possible implementation of that specific feature. I&#8217;ll be the first to agree with you that framing the content is not an ideal solution, but I fail to see a better&nbsp;one.</p>
<p>The DiggBar may have its fair share of flaws. It may or may not attribute to Digg some of the search engine &#8216;juice&#8217; that is rightfully the publisher&#8217;s. However, it is important to note that Digg has denied this claim, and I, for one, believe them until proven wrong. It is also important to note that if it weren&#8217;t for Digg, the publisher wouldn&#8217;t receive the search engine &#8216;juice&#8217;&thinsp;&mdash;&thinsp;or the traffic for that matter&thinsp;&mdash;&thinsp;in the first&nbsp;place.</p>
<p>I personally think they have done a pretty good job using the available technologies. The fact is that the DiggBar is primarily a tool for Digg users, and that for that purpose it is a very useful and both well-designed and well-engineered&nbsp;tool.</p>
<p>The second thing that troubles me about your article is how you go out of your way block Digg traffic, and by sharing the know-how encourage others to do so&nbsp;too.</p>
<p>This will certainly not be of any benefit to the publishers. In fact, it will most likely destroy any chance of them becoming popular on Digg. While I agree with you that average Digg users are of incontestably lower average quality than your average reader, it is widely agreed that just like any publicity is good publicity, any traffic is good&nbsp;traffic.</p>
<p>One definitely does not lose anything by letting Digg users use the DiggBar on one&#8217;s site. Blocking the DiggBar will only have two effects: to turn free traffic to one&#8217;s site into no traffic at all; and to ruin the experience of Digg user&#8217;s who&#8217;d like to use one of the site&#8217;s most attractive features in conjunction with one&#8217;s&nbsp;site.</p>
<p>Lastly, I also have a gripe with the tone of your article. I find it to be misleading in that it gives your opinion&thinsp;&mdash;&thinsp;a negative portrayal of Digg&thinsp;&mdash;&thinsp;and passes it off as fact. Your description of the DiggBar, for example, does not actually fully describe the DiggBar, but rather enumerates several negative facts concerning it. This immediately gives the reader a fully negative view of the DiggBar that it perhaps doesn&#8217;t&nbsp;deserve.</p>
<p>Yours sincerely,<br />
Kenneth&nbsp;Ballenegger</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/an-open-letter-to-john-gruber/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Growing iPhone Development Into A Viable Business</title>
		<link>http://www.seoxys.com/growing-iphone-development-into-a-viable-business/</link>
		<comments>http://www.seoxys.com/growing-iphone-development-into-a-viable-business/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 20:28:00 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=155</guid>
		<description><![CDATA[When one hears stories from iPhone developers, they&#8217;re either from the lucky ones who made insane amounts of money and laugh all the way to the bank, or rather from disappointed developers who consider their efforts a&#160;failure. The latter tend to blame the App Store for the failure of their application(s). Granted, the App Store [...]]]></description>
			<content:encoded><![CDATA[<p>When one hears stories from iPhone developers, they&#8217;re either from the lucky ones who made insane amounts of money and laugh all the way to the bank, or rather from disappointed developers who <a href="http://www.techcrunch.com/2009/03/22/should-an-iphone-app-developer-charge-or-run-ads-galaxy-impact-case-study/">consider their efforts a&nbsp;failure</a>.</p>
<p>The latter tend to blame the App Store for the failure of their application(s). Granted, the App Store is a harsh market which has both its advantages and its flaws. But, in my humble opinion, a good craftsman never blames his&nbsp;tools.</p>
<p>The App Store has trends that can be analyzed, and if you&#8217;re going to be developing for the iPhone, you need to learn how to adapt. I have learnt this first-hand through experimentation, and have learnt many valuable lessons along the&nbsp;way.</p>
<p>Last September, while working on a much bigger iPhone game, I thought it would be cool to create a quick one-trick application for viewing jokes. I never envisioned that <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=291699747&#038;mt=8">iLaugh</a> would become my most lucrative app that would keep me going while I develop the aforementioned&nbsp;game.</p>
<p><img src="http://akhun.com/seo/skitch/AppViz-20090408-213830.png" /></p>
<p>The Y-Axis shows daily revenue in US&nbsp;dollars.</p>
<p>Let&#8217;s leave the end of the graph (Feb-Apr) aside for a minute, we&#8217;ll get back to&nbsp;it.</p>
<p>You can see the initial release spikes, typical of the App Store, and then a very depressing downwards trend right after release. For the second release, 1.1, I upped the price from $0.99 to $1.99. Which slightly lowered the initial spike revenue. But at that stage, I had a much more mature app which unfortunately, due to lack of effective marketing stagnated at a sub-$20 daily&nbsp;revenue.</p>
<p>But in February, I made pretty much the best decision I have ever made. That, of course, was to release a Lite version. I initially thought it would be a nearly cost-free way to get some free advertising for the premium version. The main reason I put ads inside the Lite version was actually not to create revenue, but rather to give users a reason to upgrade. But, other than that, the Lite version was an identical, fully functional copy of the premium&nbsp;version.</p>
<p>As you can see, it did a pretty decent job of advertising the premium version. Since the mid-Feb release of iLaugh Lite, daily revenue for iLaugh has been much higher than it previously&nbsp;was.</p>
<p>Fortunately, <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=305152278&#038;mt=8">iLaugh Lite</a> became quite popular on the iTunes App Store, and while never entering the global top 100, it has charted as high as #29 on the Entertainment chart, and has been in the top 40 entertainment apps nearly since its&nbsp;release.</p>
<p>While this did have some unexpected consequences, like bringing my entire server down due to excessive traffic which brought the iLaugh service down and forced me to upgrade to a better server, the benefits were pretty&nbsp;clear.</p>
<p><img src="http://akhun.com/seo/skitch/AppViz-20090408-215757.png" /></p>
<p>This graph shows daily iLaugh Lite&nbsp;downloads.</p>
<p>This equates to about 100,000 monthly&nbsp;downloads.</p>
<p>Here&#8217;s a graph that shows the web-service traffic this generates (since each joke is fetched from my server, this gives me a pretty good overview of the actual usage of the app). Unfortunately, I only started using this particular analytics package on March 2nd, so that&#8217;s when the graph&nbsp;starts.</p>
<p><img src="http://akhun.com/seo/skitch/Custom_Report_-_Google_Analytics-20090408-222008.png" /></p>
<p>To date, iLaugh has served over 6 million jokes, and it&#8217;s going at about one million per&nbsp;week.</p>
<p>So far I left out one pretty important thing: ad revenue. But one always leaves the best for last, right? So here&nbsp;goes:</p>
<p><img src="http://akhun.com/seo/skitch/skitched-20090408-221114.png" /></p>
<p>As the installed user-base for iLaugh Lite grows, so does daily ad revenue. Currently, I&#8217;m seeing pretty good numbers. I have around 6 million monthly ad impressions, and as you can see in the above graph, I&#8217;m seeing around $100 daily ad&nbsp;revenue.</p>
<p>While these aren&#8217;t mind-shattering numbers, I think they give a pretty good overview of what one can achieve as an average developer for the iPhone&nbsp;platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/growing-iphone-development-into-a-viable-business/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>Best of iLaugh</title>
		<link>http://www.seoxys.com/best-of-ilaugh/</link>
		<comments>http://www.seoxys.com/best-of-ilaugh/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 16:23:39 +0000</pubDate>
		<dc:creator>kenneth</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.seoxys.com/?p=153</guid>
		<description><![CDATA[Here are a few jokes I picked out as winners from the&#160;contest: Warning: some of these jokes may be rated&#160;R The nun teaching Sunday school was speaking to her class one morning when she asked the question, &#8216;When you die and go to heaven&#8230;which part of your body goes&#160;first?&#8217; Suzy raised her hand and said, [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few jokes I picked out as winners from the&nbsp;<a href="http://www.seoxys.com/make-me-laugh-get-free-ilaugh/">contest</a>:</p>
<p><b>Warning: some of these jokes may be rated&nbsp;R</b></p>
<blockquote><p>The nun teaching Sunday school was speaking to her class one morning when she asked the question, &#8216;When you die and go to heaven&#8230;which part of your body goes&nbsp;first?&#8217;</p>
<p>Suzy raised her hand and said, &#8216;I think it&#8217;s your&nbsp;hands&#8217;.</p>
<p>&#8216;Why do you think it&#8217;s your hands,&nbsp;Suzy?&#8217; </p>
<p>Suzy replied, &#8216;Because when you pray, you hold your hands together in front of you and God just takes your hands&nbsp;first&#8217;.</p>
<p>&#8216;What a wonderful answer!&#8217; the nun&nbsp;said. </p>
<p>Little Johnny raised his hand and said, &#8216;Sister, I think it&#8217;s your&nbsp;feet&#8217;.</p>
<p>The nun looked at him with the strangest look on her face. &#8216;Now, Little Johnny, why do you think it would be your&nbsp;feet?&#8217;</p>
<p>Little Johnny said, &#8216;Well, I walked into Mommy and Daddy&#8217;s bedroom the other night, Mommy had her legs straight up in the air and she was saying, &#8216;Oh! God, I&#8217;m coming! &#8230; and if Dad hadn&#8217;t pinned her down, we&#8217;d have lost&nbsp;her&#8217;.</p>
<p>The Nun&nbsp;fainted</p></blockquote>
<blockquote><p>Did you hear about the guy whose whole left side was cut off?  He&#8217;s all right&nbsp;now.</p></blockquote>
<blockquote><p>&#8220;Dairy farming s&#8217;a rough life&#8221;, one young man lamented, &#8220;what with my two brothers and me having to divvy up the milking of two hundred cows each&nbsp;morning.&#8221;</p>
<p>&#8220;Wow, that does sound exhausting&#8221; remarked one&nbsp;onlooker.</p>
<p>&#8220;Yea, well, it&#8217;ll be better soon when my pa gets another hundred&nbsp;head.&#8221;</p>
<p>&#8220;How can it be better with more cows to&nbsp;milk?&#8221;</p>
<p>&#8220;Well, shoot! Any fool can divide 300 by&nbsp;3.&#8221;</p></blockquote>
<blockquote><p>At the exact same time there are two young men on opposite sides of the Earth. One is walking a tight rope between two skyscrapers. The other is receiving oral sex from a 98 year old woman. They are both thinking the exact same&nbsp;thing: </p>
<p>Don&#8217;t Look&nbsp;Down!</p></blockquote>
<blockquote><p>Q: Why do men like women dressed in&nbsp;leather?</p>
<p>A: They smell like new&nbsp;car.</p></blockquote>
<blockquote><p>Your mom is so fat that when she fell in love, she broke&nbsp;it.</p></blockquote>
<blockquote><p>Your mom is so fat that when she tried to sit up, she rocked herself to&nbsp;sleep.</p></blockquote>
<blockquote><p>An infinite number of mathmaticians walk into a bar. The first mathmatician says to the bartendender, &#8220;I&#8217;d like a beer, please.&#8221; The second mathmatician says, &#8220;I would like a half a beer, please, sir.&#8221; The third mathmatician, smiling, says, &#8220;I&#8217;d like half of a half of a beer, please, good sir!&#8221; The bartender, glancing down the line, says, &#8220;You&#8217;re all morons!&#8221;, pours two beers and walks&nbsp;away.</p></blockquote>
<blockquote><p>A priest and a rabbi are at a wedding. They see a kid bending over to tie his shoe. So the priest goes to the rabbi: &#8220;Oh man, I&#8217;d really love to screw that kid&#8221;. The rabbi says: &#8220;Out of&nbsp;what?&#8221;</p></blockquote>
<blockquote><p>A priest offered a Nun a lift.<br />
She got in and crossed her legs, forcing her gown to reveal a leg.<br />
The priest nearly had an accident.<br />
After controlling the car, he stealthily slid his hand up her leg.<br />
The nun said, &lsquo;Father, remember Psalm 129?&rsquo;<br />
The priest removed his hand. But, changing gears, he let his hand slide up her leg again<br />
The nun once again said, &lsquo;Father, remember Psalm 129?&rsquo;<br />
The priest apologized &lsquo;Sorry sister but the flesh is weak.&rsquo;<br />
Arriving at the convent, the nun sighed heavily and went on her way.<br />
On his arrival at the church, the priest rushed to look up Psalm 129. It said, &lsquo;Go forth and seek, further up, you will find glory.&rsquo;<br />
Moral of the story:<br />
If you are not well informed in your job, you might miss a great&nbsp;opportunity.</p></blockquote>
<blockquote><p>A man is getting into the shower just as his wife is finishing up her shower, when the doorbell rings.<br />
The wife quickly wraps herself in a towel and runs downstairs.<br />
When she opens the door, there stands Bob , the next-door neighbor.<br />
Before she says a word, Bob says, &lsquo;I&rsquo;ll give you $800 to drop that towel.&rsquo;<br />
After thinking for a moment, the woman drops her towel and stands naked in front of Bob , after a few seconds, Bob hands her $800 and leaves.<br />
The woman wraps back up in the towel and goes back upstairs.<br />
When she gets to the bathroom, her husband asks, &lsquo;Who was that?&rsquo;<br />
&lsquo;It was Bob the next door neighbor,&rsquo; she replies.<br />
&lsquo;Great,&rsquo; the husband says, &lsquo;did he say anything about the $800 he owes me?&rsquo;<br />
Moral of the story:<br />
If you share critical information pertaining to credit and risk with your shareholders in time, you may be in a position to prevent avoidable&nbsp;exposure.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.seoxys.com/best-of-ilaugh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
