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

<channel>
	<title>aRo`</title>
	<atom:link href="http://www.arolabs.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arolabs.com</link>
	<description>automating your e-commerce</description>
	<pubDate>Fri, 14 Nov 2008 16:56:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>how to reverse engineer a MySQL database in visio</title>
		<link>http://www.arolabs.com/aspnet/how-to-reverse-engineer-a-mysql-database-in-visio/</link>
		<comments>http://www.arolabs.com/aspnet/how-to-reverse-engineer-a-mysql-database-in-visio/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 16:56:22 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://www.arolabs.com/?p=99</guid>
		<description><![CDATA[This is an awesome feature of MS visio that a lot of poeple don&#8217;t know. I use it mostly for documentation purpuses at the end of a development cycle.
1. Enable your MySQL to listen for network connections.
2. Allow privileges for your MySQL for the XP client to connect
3. Install the MySQL ODBC connector
http://www.mysql.com/products/connector/j/
4. Create the [...]]]></description>
			<content:encoded><![CDATA[<p>This is an awesome feature of MS visio that a lot of poeple don&#8217;t know. I use it mostly for documentation purpuses at the end of a development cycle.</p>
<p>1. Enable your MySQL to listen for network connections.<br />
2. Allow privileges for your MySQL for the XP client to connect<br />
3. Install the MySQL ODBC connector<br />
<a href="http://www.mysql.com/products/connector/j/">http://www.mysql.com/products/connector/j/</a><br />
4. Create the ODBC connector<br />
On the windows machine:<br />
Control Panel → Administrative Tools → Data Source (ODBC)<br />
Click on System DSN, then click Add&#8230;<br />
Choose MySQL ODBC 5.1 Driver</p>
<p>From there add the Data Source name, Can be anything you want.<br />
Then add the server, user, pass &#038; database info.</p>
<p>5. Open up Visio<br />
6. File → New →  Software and Database → Database Model Diagram<br />
6. From the menu, select Database → Reverse Engineer<br />
7. Select the Data Source name<br />
8. Click Next ><br />
9. Enter your password, and click OK<br />
10. Select all tables or views you wish to reverse engineer</p>
<p>source: <a href="http://ubuntuforums.org/showthread.php?t=843827">ubuntuforums</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/aspnet/how-to-reverse-engineer-a-mysql-database-in-visio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>an overview of ecommerce solutions</title>
		<link>http://www.arolabs.com/software/an-overview-of-ecommerce-solutions/</link>
		<comments>http://www.arolabs.com/software/an-overview-of-ecommerce-solutions/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 13:01:13 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.arolabs.com/?p=92</guid>
		<description><![CDATA[What ecommerce software would you use ?
Browser-Based Storefront Creation Services
    * Shopify - http://www.shopify.com
    * Big Cartel - http://www.bigcartel.com
    * Nascent Commerce - http://www.nascentcommerce.com
    * Yahoo! Stores - http://store.yahoo.com
    * PayPal - http://www.paypal.com
    * BizLand - http://www.bizland.com
 [...]]]></description>
			<content:encoded><![CDATA[<p>What ecommerce software would you use ?</p>
<p><strong>Browser-Based Storefront Creation Services</strong></p>
<p>    * Shopify - http://www.shopify.com<br />
    * Big Cartel - http://www.bigcartel.com<br />
    * Nascent Commerce - http://www.nascentcommerce.com<br />
    * Yahoo! Stores - http://store.yahoo.com<br />
    * PayPal - http://www.paypal.com<br />
    * BizLand - http://www.bizland.com<br />
    * Mercantec SoftCart - http://www.mercantec.com<br />
    * MerchandiZer (HipHip Software) - http://www.merchandizer.com<br />
    * ShopSite - http://www.shopsite.com<br />
    * Big Step.com - http://www.bigstep.com<br />
    * HyperMart - http://www.hypermart.com<br />
    * Miva Merchant - http://www.miva.com<br />
    * Monster Commerce - http://www.monstercommerce.com<br />
    * Shopping Q - http://www.shoppingq.com<br />
    * Actinic - http://www.actinic.com<br />
    * Mals E-Commerce - http://www.mals-e.com<br />
    * ClickCartPro - http://www.clickcartpro.com<br />
    * FlashECom Cart (hosted solution) - http://www.flashecom.com<br />
    * SWREG - http://www.swreg.com<br />
    * Nexternal - http://www.nexternal.com<br />
    * CubeCart - http://www.cubecart.com/site/home/</p>
<p><strong>FREE Browser-Based Storefront Creation Services</strong></p>
<p>    * FreeMerchant - http://www.freemerchant.com</p>
<p><strong>Shopping Cart Solutions</strong></p>
<p>    * Avactis - http://www.avactis.com/<br />
    * Cart32 - http://www.cart32.com<br />
    * CartIt - http://www.cartit.com<br />
    * EasyCart - http://www.easycart.com<br />
    * PDG Shopping Cart - http://www.pdgsoft.com<br />
    * QuikStore - http://www.quikstore.com<br />
    * smc WebStore - http://www.smctechnologies.com<br />
    * Midi Cart - http://www.midicart.com<br />
    * Dansie Shopping Cart - http://www.dansie.net/cart.html<br />
    * Sales Cart - http://www.salescart.com<br />
    * Retail Cart - http://www.retailcart.com<br />
    * X-Cart - http://www.x-cart.com<br />
    * EDatCat - http://www.edatcat.com<br />
    * VP*ASP - http://www.vpasp.com<br />
    * Bazaar Builder = http://www.bazaarbuilder.com<br />
    * XMart eCommerce = http://www.digitalplacebo.com<br />
    * Ecommerce Templates - http://www.ecommercetemplates.com<br />
    * ASPX Shop - http://www.aspxshop.com<br />
    * ASP DotNet Storefront - http://www.aspdotnetstorefront.com/<br />
    * DigiShop - http://digishop.sumeffect.com/<br />
    * PHPCart - http://www.phpcart.net</p>
<p><strong>FREE Shopping Cart Solutions</strong></p>
<p>    * PHPCart - http://www.phpcart.com<br />
    * OS Commerce - http://www.oscommerce.com<br />
    * PHP Shop - http://www.phpshop.org<br />
    * Agora Cart - http://www.agoracart.com<br />
    * AFCommerce - http://www.afcommerce.com<br />
    * ZenCart - http://www.zencart.com</p>
<p><strong>Advanced eCommerce Systems</strong></p>
<p>    * Interchange - http://www.icdevgroup.org<br />
    * Broadspire Small Business Web Stores - http://www.smallbusinesswebstores.com/<br />
    * MarketLive - http://www.marketlive.com<br />
    * Blue Martini Software&#8217;s Customer Interaction System - http://www.bluemartini.com<br />
    * IBM WebSphere Commerce Suite - http://www.ibm.com/websphere<br />
    * Intershop Communications&#8217; Enfinity - http://www.intershop.com<br />
    * Microsoft Commerce Server - http://www.microsoft.com<br />
    * ICN Software&#8217;s AceFlex B2C - http://www.icnsoftware.com<br />
    * INetStore - http://www.inetstore.com<br />
    * MerchantSpace - http://www.merchantspace.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/software/an-overview-of-ecommerce-solutions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>do you trust your webhost ?</title>
		<link>http://www.arolabs.com/hosting/do-you-trust-your-webhost/</link>
		<comments>http://www.arolabs.com/hosting/do-you-trust-your-webhost/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:47:22 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.arolabs.com/?p=88</guid>
		<description><![CDATA[This question is fair and simple: Do you trust your webhost ?
I was worried about it when i was browsing through the FAQ of my webhost. I opened the topic &#8220;How to redirect my site so it always appear with www.?&#8221; and this is what i saw&#8230;

You should know that codehomepage.com was my previous domain. [...]]]></description>
			<content:encoded><![CDATA[<p>This question is fair and simple: <strong>Do you trust your webhost ?</strong></p>
<p>I was worried about it when i was browsing through the FAQ of my webhost. I opened the topic &#8220;<em>How to redirect my site so it always appear with www.</em>?&#8221; and this is what i saw&#8230;</p>
<p><a href="http://www.arolabs.com/wp-content/uploads/2008/01/servage-redirect.png" target="_blank"><img src="http://www.arolabs.com/wp-content/uploads/2008/01/servage-redirect.png" alt="servage faq" width="500" BORDER = "0" /></a></p>
<p>You should know that codehomepage.com was my previous domain. It still redirects to arolabs.com.<br />
At least they could have changed the domain name here&#8230;</p>
<p>I don&#8217;t really care they used my code, but it would have been nice they told me they&#8217;re going to use it. Or give me some free hosting&#8230;</p>
<p>Now this redirect script is something that&#8217;s available all over the net, but what about your own coded applications ? They could just zip it and sell it ! </p>
<p>That&#8217;s the reason all my profesional websites are hosted on a dedicated server.</p>
<p>Do you think your website is save with your current hosting provider ? (Even if your not on a shared hosting account). </p>
<p><a href="http://digg.com/submit?phase=2&#038;url=http%3A%2F%2Fwww.arolabs.com%2Fhosting%2Fdo-you-trust-your-webhost%2F&#038;title=do+you+trust+your+webhost+%3F">add to digg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/hosting/do-you-trust-your-webhost/feed/</wfw:commentRss>
		</item>
		<item>
		<title>phpHackChecker: sends you a report of all changed files on your server</title>
		<link>http://www.arolabs.com/php/phphackchecker-sends-you-a-report-of-all-changed-files-on-your-server/</link>
		<comments>http://www.arolabs.com/php/phphackchecker-sends-you-a-report-of-all-changed-files-on-your-server/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 11:33:26 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[php]]></category>

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

		<guid isPermaLink="false">http://www.arolabs.com/php/phphackchecker-sends-you-a-report-of-all-changed-files-on-your-server/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/php/phphackchecker-sends-you-a-report-of-all-changed-files-on-your-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Radical Rodents - surfing mice</title>
		<link>http://www.arolabs.com/fun/the-radical-rodents-surfing-mice/</link>
		<comments>http://www.arolabs.com/fun/the-radical-rodents-surfing-mice/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 08:26:44 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.arolabs.com/fun/the-radical-rodents-surfing-mice/</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/FdbxLk8_C8c&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/FdbxLk8_C8c&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/fun/the-radical-rodents-surfing-mice/feed/</wfw:commentRss>
		</item>
		<item>
		<title>freelance freedom</title>
		<link>http://www.arolabs.com/software/freelance-freedom/</link>
		<comments>http://www.arolabs.com/software/freelance-freedom/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 15:59:53 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.arolabs.com/software/freelance-freedom/</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.arolabs.com/wp-content/uploads/2008/03/ff41_softwaredesigner1.jpg' alt='ff41_softwaredesigner1.jpg' width = "500" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/software/freelance-freedom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>moserious SEO rap movie 101</title>
		<link>http://www.arolabs.com/seo/moserious-seo-rap-movie-101/</link>
		<comments>http://www.arolabs.com/seo/moserious-seo-rap-movie-101/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 19:50:34 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.arolabs.com/seo/moserious-seo-rap-movie-101/</guid>
		<description><![CDATA[Moserious made this creative rap movie covering the basics of SEO/paid search.
Well done !

]]></description>
			<content:encoded><![CDATA[<p><a href="http://moserious.wordpress.com/">Moserious</a> made this creative rap movie covering the basics of SEO/paid search.</p>
<p>Well done !</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/c96LTLlaXew&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/c96LTLlaXew&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/seo/moserious-seo-rap-movie-101/feed/</wfw:commentRss>
		</item>
		<item>
		<title>capture the encoding from the main XML file tag</title>
		<link>http://www.arolabs.com/php/capture-the-encoding-from-the-main-xml-file-tag/</link>
		<comments>http://www.arolabs.com/php/capture-the-encoding-from-the-main-xml-file-tag/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 12:48:29 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[php]]></category>

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

		<guid isPermaLink="false">http://www.arolabs.com/php/capture-the-encoding-from-the-main-xml-file-tag/</guid>
		<description><![CDATA[To capture the encoding from the XML tag of the file. We need to read the first line, and pass it to the function to capture the encoding value.
The first line looks like this:
< ?xml version="1.0" encoding="utf-8"? >

The PHP code:
PLAIN TEXT
PHP:




function readfirstline&#40;$file&#41;&#123;


&#160; &#160;$fp = @fopen&#40;$file, "r"&#41;;


&#160; &#160;$firstline = fgets&#40;$fp&#41;;


&#160; &#160;fclose&#40;$fp&#41;;


&#160; &#160;return $firstline;


&#125;&#160; 


function get_attr&#40;&#160; $line [...]]]></description>
			<content:encoded><![CDATA[<p>To capture the encoding from the XML tag of the file. We need to read the first line, and pass it to the function to capture the encoding value.</p>
<p>The first line looks like this:</p>
<blockquote><p>< ?xml version="1.0" encoding="utf-8"? >
</p></blockquote>
<p>The PHP code:</p>
<blockquote><div class="igBar"><span id="lphp-10"><a href="#" onclick="javascript:showPlainTxt('php-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-10">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> readfirstline<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$file</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<span style="color:#0000FF;">$fp</span> = @<a href="http://www.php.net/fopen"><span style="color:#000066;">fopen</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$file</span>, <span style="color:#FF0000;">"r"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<span style="color:#0000FF;">$firstline</span> = <a href="http://www.php.net/fgets"><span style="color:#000066;">fgets</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$fp</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<a href="http://www.php.net/fclose"><span style="color:#000066;">fclose</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$fp</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;<span style="color:#616100;">return</span> <span style="color:#0000FF;">$firstline</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span>&nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> get_attr<span style="color:#006600; font-weight:bold;">&#40;</span>&nbsp; <span style="color:#0000FF;">$line</span> ,<span style="color:#0000FF;">$attr</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color:#0000FF;">$start</span> = <a href="http://www.php.net/strpos"><span style="color:#000066;">strpos</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$line</span>,<span style="color:#FF0000;">"$attr"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color:#0000FF;">$line</span> =&nbsp; <a href="http://www.php.net/substr"><span style="color:#000066;">substr</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$line</span>,<span style="color:#0000FF;">$start</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color:#0000FF;">$arr_enc</span> = <a href="http://www.php.net/split"><span style="color:#000066;">split</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\"</span>"</span>,<span style="color:#0000FF;">$line</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$arr_enc</span> <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#93;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$path</span> = <span style="color:#FF0000;">"home/user/feeds/id.xml"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$line</span>= readfirstline<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$path</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> get_attr<span style="color:#006600; font-weight:bold;">&#40;</span>&nbsp; <span style="color:#0000FF;">$line</span> ,<span style="color:#FF0000;">"encoding"</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/php/capture-the-encoding-from-the-main-xml-file-tag/feed/</wfw:commentRss>
		</item>
		<item>
		<title>hot or not wordpress plugin</title>
		<link>http://www.arolabs.com/php/hot-or-not-wordpress-plugin/</link>
		<comments>http://www.arolabs.com/php/hot-or-not-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 18:19:23 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[php]]></category>

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

		<guid isPermaLink="false">http://www.arolabs.com/php/hot-or-not-wordpress-plugin/</guid>
		<description><![CDATA[This wordpress plugins adds a radio button to the comment form so users can tell if a post is hot or not. Depending on the value that is chosen, another css class is added to comment .

Download the plugin
Download the Hot Or Not plugin here
Unzip this file into the /wp- content/plugins/  folder.
Adding the radionbutton [...]]]></description>
			<content:encoded><![CDATA[<p>This wordpress plugins adds a radio button to the comment form so users can tell if a post is hot or not. Depending on the value that is chosen, another css class is added to comment .</p>
<ol>
<li><strong>Download the plugin</strong></li>
<p><a href="http://www.arolabs.com/wp-content/uploads/2008/01/hotornot-plugin.zip">Download the Hot Or Not plugin here</a><br />
Unzip this file into the /wp- content/plugins/  folder.</p>
<li><strong>Adding the radionbutton group to the comment form.</strong></li>
<p>This radiobutton has to be added in the < form > tag of the comments. You can find this somewere at the bottom of your "template/comments.php" file. It looks somethin like this.</p>
<blockquote><div class="igBar"><span id="lhtml-15"><a href="#" onclick="javascript:showPlainTxt('html-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-15">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/form.html"><span style="color: #000000; font-weight: bold;">&lt;form</span></a> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">"&lt;?php echo get_option('siteurl'); ?&gt;</span>/wp-comments-post.php&quot; method=&quot;post&quot; id=&quot;commentform&quot;&gt; </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p></blockquote>
<p>You have to paste the code below in that form.</p>
<blockquote><div class="igBar"><span id="lhtml-16"><a href="#" onclick="javascript:showPlainTxt('html-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-16">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">&lt;input</span></a> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"hon_group"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"radio"</span> /<span style="color: #000000; font-weight: bold;">&gt;</span></a></span> Yes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/input.html"><span style="color: #000000; font-weight: bold;">&lt;input</span></a> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"hon_group"</span> <span style="color: #000066;">CHECKED</span>=<span style="color: #ff0000;">"true"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"radio"</span> /<span style="color: #000000; font-weight: bold;">&gt;</span></a></span> no</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p></blockquote>
<li><strong>Dynamically add the class to the comment</strong></li>
<p>In the beginning of that same file, there is a php foreach statement to print all comments.</p>
<blockquote><div class="igBar"><span id="lhtml-17"><a href="#" onclick="javascript:showPlainTxt('html-17'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-17">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span></a>?php foreach <span style="color: #66cc66;">&#40;</span>$comments as $comment<span style="color: #66cc66;">&#41;</span> : ?<span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p></blockquote>
<p>A bit further in the file you have to add the hotornot class to the listitem:</p>
<blockquote><div class="igBar"><span id="lhtml-18"><a href="#" onclick="javascript:showPlainTxt('html-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-18">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">li id=&quot;comment-<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span></a>?php comment_ID<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> ?<span style="color: #000000; font-weight: bold;">&gt;</span></a></span>&quot; class=&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span></a>?php print $comment-<span style="color: #000000; font-weight: bold;">&gt;</span></a></span>css ?&gt;&quot;&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p></blockquote>
<li><strong>Activate the plugin</strong></li>
<p>Active the plugin in the admin "Plugins" screen in wordpress.</p>
<li><strong>Change the css style of your comments</strong></li>
<p>You can do this in the template/style.css file.</p>
<blockquote><p>
.vote_hot {style.css (line 692)<br />
background-color:#CDEEAB;<br />
border-top:1px dotted #006600;<br />
color:#006600;<br />
}</p>
<p>.vote_not {style.css (line 699)<br />
background-color:#FFE0E0;<br />
border-top:1px dotted #F5857E;<br />
color:#AB0000;<br />
}
</p></blockquote>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/php/hot-or-not-wordpress-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>basic linux commands overview</title>
		<link>http://www.arolabs.com/linux/basic-linux-commands-overview/</link>
		<comments>http://www.arolabs.com/linux/basic-linux-commands-overview/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 21:22:15 +0000</pubDate>
		<dc:creator>aRo`</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.arolabs.com/linux/basic-linux-commands-overview/</guid>
		<description><![CDATA[Common SSH Commands or Linux Shell Commands,
ls : list files/directories in a directory, comparable to dir in windows/dos.
ls -al : shows all files (including ones that start with a period), directories, and details attributes for each file.
cd : change directory · · cd /usr/local/apache : go to /usr/local/apache/ directory
cd ~ : go to your home [...]]]></description>
			<content:encoded><![CDATA[<blockquote>Common SSH Commands or Linux Shell Commands,<br />
ls : list files/directories in a directory, comparable to dir in windows/dos.<br />
ls -al : shows all files (including ones that start with a period), directories, and details attributes for each file.</p>
<p>cd : change directory · · cd /usr/local/apache : go to /usr/local/apache/ directory<br />
cd ~ : go to your home directory<br />
cd - : go to the last directory you were in<br />
cd .. : go up a directory cat : print file contents to the screen</p>
<p>cat filename.txt : cat the contents of filename.txt to your screen</p>
<p>chmod: changes file access permissions<br />
The set of 3 go in this order from left to right:<br />
USER - GROUP - EVERONE</p>
<p>0 = --- No permission<br />
1 = --X Execute only<br />
2 = -W- Write only<br />
3 = -WX Write and execute<br />
4 = R-- Read only<br />
5 = R-X Read and execute<br />
6 = RW- Read and write<br />
7 = RWX Read, write and execute</p>
<p>Usage:<br />
chmod numberpermissions filename</p>
<p>chmod 000 : No one can access<br />
chmod 644: Usually for HTML pages<br />
chmod 755: Usually for CGI scripts</p>
<p>chown: changes file ownership permissions<br />
The set of 2 go in this order from left to right:<br />
USER - GROUP</p>
<p>chown root myfile.txt : Changes the owner of the file to root<br />
chown root.root myfile.txt : Changes the owner and group of the file to root</p>
<p>tail : like cat, but only reads the end of the file<br />
tail /var/log/messages : see the last 20 (by default) lines of /var/log/messages<br />
tail -f /var/log/messages : watch the file continuously, while it's being updated<br />
tail -200 /var/log/messages : print the last 200 lines of the file to the screen</p>
<p>more : like cat, but opens the file one screen at a time rather than all at once<br />
more /etc/userdomains : browse through the userdomains file. hit Spaceto go to the next page, q to quit</p>
<p>pico : friendly, easy to use file editor<br />
pico /home/burst/public_html/index.html : edit the index page for the user's website.</p>
<p>File Editing with VI ssh commands<br />
vi : another editor, tons of features, harder to use at first than pico<br />
vi /home/burst/public_html/index.html : edit the index page for the user's website.<br />
Whie in the vi program you can use the following useful commands, you will need to hit SHIFT + : to go into command mode</p>
<p>:q! : This force quits the file without saving and exits vi<br />
:w : This writes the file to disk, saves it<br />
:wq : This saves the file to disk and exists vi<br />
:LINENUMBER : EG :25 : Takes you to line 25 within the file<br />
:$ : Takes you to the last line of the file<br />
:0 : Takes you to the first line of the file</p>
<p>grep : looks for patterns in files<br />
grep root /etc/passwd : shows all matches of root in /etc/passwd<br />
grep -v root /etc/passwd : shows all lines that do not match root</p>
<p>ln : create's "links" between files and directories<br />
ln -s /usr/local/apache/conf/httpd.conf /etc/httpd.conf : Now you can edit /etc/httpd.conf rather than the original. changes will affect the orginal, however you can delete the link and it will not delete the original.</p>
<p>last : shows who logged in and when<br />
last -20 : shows only the last 20 logins<br />
last -20 -a : shows last 20 logins, with the hostname in the last field</p>
<p>w : shows who is currently logged in and where they are logged in from.<br />
who : This also shows who is on the server in an shell.</p>
<p>netstat : shows all current network connections.<br />
netstat -an : shows all connections to the server, the source and destination ips and ports.<br />
netstat -rn : shows routing table for all ips bound to the server.</p>
<p>top : shows live system processes in a nice table, memory information, uptime and other useful info. This is excellent for managing your system processes, resources and ensure everything is working fine and your server isn't bogged down.<br />
top then type Shift + M to sort by memory usage or Shift + P to sort by CPU usage</p>
<p>ps: ps is short for process status, which is similar to the top command. It's used to show currently running processes and their PID.<br />
A process ID is a unique number that identifies a process, with that you can kill or terminate a running program on your server (see kill command).<br />
ps U username : shows processes for a certain user<br />
ps aux : shows all system processes<br />
ps aux --forest : shows all system processes like the above but organizes in a hierarchy that's very useful!</p>
<p>touch : create an empty file<br />
touch /home/burst/public_html/404.html : create an empty file called 404.html in the directory /home/burst/public_html/</p>
<p>file : attempts to guess what type of file a file is by looking at it's content.<br />
file * : prints out a list of all files/directories in a directory</p>
<p>du : shows disk usage.<br />
du -sh : shows a summary, in human-readble form, of total disk space used in the current directory, including subdirectories.<br />
du -sh * : same thing, but for each file and directory. helpful when finding large files taking up space.</p>
<p>wc : word count<br />
wc -l filename.txt : tells how many lines are in filename.txt</p>
<p>cp : copy a file<br />
cp filename filename.backup : copies filename to filename.backup<br />
cp -a /home/burst/new_design/* /home/burst/public_html/ : copies all files, retaining permissions form one directory to another.<br />
cp -av * ../newdir : Copies all files and directories recurrsively in the current directory INTO newdir</p>
<p>mv : Move a file command<br />
mv oldfilename newfilename : Move a file or directory from oldfilename to newfilename</p>
<p>rm : delete a file<br />
rm filename.txt : deletes filename.txt, will more than likely ask if you really want to delete it<br />
rm -f filename.txt : deletes filename.txt, will not ask for confirmation before deleting.<br />
rm -rf tmp/ : recursively deletes the directory tmp, and all files in it, including subdirectories. BE VERY CAREFULL WITH THIS COMMAND!!!</p>
<p>TAR: Creating and Extracting .tar.gz and .tar files<br />
tar -zxvf file.tar.gz : Extracts the file<br />
tar -xvf file.tar : Extracts the file<br />
tar -cf archive.tar contents/ : Takes everything from contents/ and puts it into archive.tar<br />
gzip -d filename.gz : Decompress the file, extract it</p>
<p>ZIP Files: Extracting .zip files shell command<br />
unzip file.zip</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.arolabs.com/linux/basic-linux-commands-overview/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
