<?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>SoliTech GmbH &#187; Tutorial</title>
	<atom:link href="http://www.solitechgmbh.com/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.solitechgmbh.com</link>
	<description>Connecting businesses to people through effective online marketing strategy</description>
	<lastBuildDate>Thu, 13 May 2010 19:14:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using rsync for quick server migartion</title>
		<link>http://www.solitechgmbh.com/2010/03/06/using-rsync-for-quick-server-migartion/</link>
		<comments>http://www.solitechgmbh.com/2010/03/06/using-rsync-for-quick-server-migartion/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 14:10:12 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=583</guid>
		<description><![CDATA[Previously when migrating servers, we would have to perform many, often lengthy steps to finish the job. Now, I like to use just one simple rsync command and let it take care of things. It is not only simpler but it also take a lot less time since you can utilize the hosts bandwidth to ...<br /><a href="http://www.solitechgmbh.com/2010/03/06/using-rsync-for-quick-server-migartion/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Previously when migrating servers, we would have to perform many, often lengthy steps to finish the job. Now, I like to use just one simple rsync command and let it take care of things. It is not only simpler but it also take a lot less time since you can utilize the hosts bandwidth to its fullest by transferring things directly between servers.</p>
<p>Before, I would have to zip up the web files, download them, upload them, and then unizp. Now I can accomplish all that with just this simple command.</p>
<blockquote><p>rsync -avzh &#8211;rsh=&#8217;ssh -p1234&#8242; user@old_server.solitechgmbh.com:/var/www/ /var/www/</p></blockquote>
<p>you can also use &#8211;stats &#8211;progress to get some visual feedback</p>
<p>I also use this just for regular offline backups of the server and it works great!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2010/03/06/using-rsync-for-quick-server-migartion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated Random String generator CakePHP component</title>
		<link>http://www.solitechgmbh.com/2009/10/20/updated-random-string-generator-cakephp-component/</link>
		<comments>http://www.solitechgmbh.com/2009/10/20/updated-random-string-generator-cakephp-component/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 04:38:42 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cake]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=535</guid>
		<description><![CDATA[Here is a new component that will generate random strings for you. You can pass it a set of characters to pick from and how long your random string should be. I use it to generate passwords but you can do just about anything with it. To use it, create a file called random_helper.php in ...<br /><a href="http://www.solitechgmbh.com/2009/10/20/updated-random-string-generator-cakephp-component/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Here is a new component that will generate random strings for you. You can pass it a set of characters to pick from and how long your random string should be. I use it to generate passwords but you can do just about anything with it.</p>
<p>To use it, create a file called random_helper.php in app/controllers/components and copy the following code.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">class</span> RandomHelperComponent <span style="color: #000000; font-weight: bold;">extends</span> Object <span style="color: #009900;">&#123;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/**
 * Random string generator function
 *
 * This function will randomly generate a password from a given set of characters
 *
 * @param int = 8, length of the password you want to generate
 * @param string = 0123456789abcdefghijklmnopqrstuvwxyz all possible values
 * @return string, the password
 */</span>     
	<span style="color: #000000; font-weight: bold;">function</span> generateRandomString <span style="color: #009900;">&#40;</span><span style="color: #000088;">$length</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">8</span><span style="color: #339933;">,</span> <span style="color: #000088;">$possible</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'0123456789abcdefghijklmnopqrstuvwxyz'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// initialize variables</span>
		<span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// add random characters to $password until $length is reached</span>
		<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$length</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">// pick a random character from the possible ones</span>
			<span style="color: #000088;">$char</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$possible</span><span style="color: #339933;">,</span> <span style="color: #990000;">mt_rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$possible</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">// we don't want this character if it's already in the password</span>
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">strstr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$password</span><span style="color: #339933;">,</span> <span style="color: #000088;">$char</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
				<span style="color: #000088;">$password</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$char</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$i</span><span style="color: #339933;">++;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$password</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>make sure you include it in the appcontroller as such</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$components</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Auth'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Email'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'RandomHelper'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>then you can call it as follows in any function</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$password</span><span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">RandomHelper</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">generateRandomString</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">4</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'abcdefghijklmnopqrstuvwxyz'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2009/10/20/updated-random-string-generator-cakephp-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Bit.ly Class to use with CakePHP or by it self</title>
		<link>http://www.solitechgmbh.com/2009/08/06/new-bit-ly-class-to-use-with-cakephp-or-by-it-self/</link>
		<comments>http://www.solitechgmbh.com/2009/08/06/new-bit-ly-class-to-use-with-cakephp-or-by-it-self/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 23:53:52 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bit.LY]]></category>
		<category><![CDATA[cake]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=515</guid>
		<description><![CDATA[If you use service like Twitter where you only get a limited number of characters to post or if you are just sick of dealing with unruly long urls you might be familliar with url shortening services such as Bit.ly. I personally like them because of they offer a nice API and statistics all for ...<br /><a href="http://www.solitechgmbh.com/2009/08/06/new-bit-ly-class-to-use-with-cakephp-or-by-it-self/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>If you use service like Twitter where you only get a limited number of characters to post or if you are just sick of dealing with unruly long urls you might be familliar with url shortening services such as Bit.ly.</p>
<p>I personally like them because of they offer a nice API and statistics all for free. It is a pretty quick service too. You can generate hundreds of URLs in just a few seconds. All you have to do is register and you get a username and API key which you will need in the following section.</p>
<p>Here is the code &#8230; As you can see I only implemented the shorten for now but I will probably add some of the other stuff later. For some reason WP won&#8217;t let me post curl_exec( so be sure to remove the extra character.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> bitly <span style="color: #009900;">&#123;</span>
	<span style="color: #009933; font-style: italic;">/**
	 * A PHP class to utilize the bitly API
	 * through the Bitly API. Handles:
	 * - Shorten
	 *
	 * Requires PHP5, CURL, JSON and a Bitly account http://bit.ly/
	 *
	 * Bitly API documentation: http://code.google.com/p/bitly-api/wiki/ApiDocumentation
	 */</span>
&nbsp;
	protected <span style="color: #000088;">$appkey</span><span style="color: #339933;">;</span>
	protected <span style="color: #000088;">$login</span><span style="color: #339933;">;</span>
	protected <span style="color: #000088;">$version</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009933; font-style: italic;">/**
	* Contruct the Bitly Class
	*
    * @param string, your Bitly account key
    * @param string, your Bitly account login
	*/</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #000088;">$login</span><span style="color: #339933;">,</span> <span style="color: #000088;">$appkey</span><span style="color: #339933;">,</span> <span style="color: #000088;">$version</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'2.0.1'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>login <span style="color: #339933;">=</span> <span style="color: #000088;">$login</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>appkey <span style="color: #339933;">=</span> <span style="color: #000088;">$appkey</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>version <span style="color: #339933;">=</span> <span style="color: #000088;">$version</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #009933; font-style: italic;">/**
	* Retrieve a shortened URL
	*
    * @param string, url to shorten
    * @param string, version of Bitly to use
	*/</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> shorten<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">//create the URL</span>
		<span style="color: #000088;">$api_url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://api.bit.ly/shorten?version='</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>version<span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;amp;longUrl='</span><span style="color: #339933;">.</span><span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;amp;format=xml&amp;amp;login='</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>login<span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;amp;apiKey='</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>appkey<span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">//call the API</span>
		<span style="color: #000088;">$curl</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$api_url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$response</span> <span style="color: #339933;">=</span> curl_ex_ec<span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$curl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">//parse the XML response and return the url</span>
		<span style="color: #000088;">$xml_object</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SimpleXMLElement<span style="color: #009900;">&#40;</span><span style="color: #000088;">$response</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$xml_object</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>results<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>nodeKeyVal<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>shortUrl<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>If you want to use this in CakePHP &#8230; you will want to do something like this.<br />
Put this line before the class &#8230; I actually use this in a helper since this is a view level class</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">App<span style="color: #339933;">::</span><span style="color: #004000;">import</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Vendor'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Bitly'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;file&quot;</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">&quot;bitly/bitly.class.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Now you can just invoke it in one of your functions somewhere with two simple calls!</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$bitly</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Bitly<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'username'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'your_API_key_here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$short_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$bitly</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>shorten<span style="color: #009900;">&#40;</span><span style="color: #000088;">$long_url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Simple as that &#8230; oh and one more thing. Be sure to have CURL installed else this won&#8217;t work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2009/08/06/new-bit-ly-class-to-use-with-cakephp-or-by-it-self/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to use MagpieRSS with CakePHP</title>
		<link>http://www.solitechgmbh.com/2009/07/23/how-to-use-magpierss-with-cakephp/</link>
		<comments>http://www.solitechgmbh.com/2009/07/23/how-to-use-magpierss-with-cakephp/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 20:54:49 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[MagpieRSS]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=507</guid>
		<description><![CDATA[MagpieRSS is a PHP based RSS parser that can be downloaded here http://magpierss.sourceforge.net/ What good is it you ask? You can use it to pull in information from any RSS feed and do what ever you want with the data. For example I use it to pull the RSS feed from my blog and display ...<br /><a href="http://www.solitechgmbh.com/2009/07/23/how-to-use-magpierss-with-cakephp/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>MagpieRSS is a PHP based RSS parser that can be downloaded here <a href="http://magpierss.sourceforge.net/" target="_blank">http://magpierss.sourceforge.net/</a></p>
<p>What good is it you ask? You can use it to pull in information from any RSS feed and do what ever you want with the data. For example I use it to pull the RSS feed from my blog and display links to my latest posts on <a title="http://www.rewardchamp.com/" href="http://www.rewardchamp.com/" target="_blank">http://www.rewardchamp.com</a> You can see it on the bottom of the page.</p>
<p>CakePHP makes this way to easy! First you need to download the MagpieRSS files from the link above and then extract to your vendors folder.</p>
<p>You need to put this line at the very top of your controller file you want to use RSS with. Before the class declaration</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">App<span style="color: #339933;">::</span><span style="color: #004000;">import</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Vendor'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Snoopy'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;file&quot;</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">&quot;magpierss/extlib/Snoopy.class.inc&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Now inside a function you want create a new Snoopy object. I use Snoopy because I&#8217;m lazy &#8230; MagpieRSS is not constructed as Classes like CakePHP would like it to be &#8230; Snoopy is. Snoopy will return XML for you which you can make into an easily usable object with SimpleXMLElement. You can var_dump to see what exactly is in this object. You can figure out what to do from there.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$snoopy</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Snoopy<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$snoopy</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">fetch</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://www.solitechgmbh.com/your/feed/here'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SimpleXMLElement<span style="color: #009900;">&#40;</span><span style="color: #000088;">$snoopy</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">results</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">channel</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">item</span><span style="color: #339933;">;</span></pre></div></div>

<p>Something like this will get you the title for example.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$item</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">;</span></pre></div></div>

<p>Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2009/07/23/how-to-use-magpierss-with-cakephp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to fix problems with your network</title>
		<link>http://www.solitechgmbh.com/2008/06/19/how-to-fix-problems-with-our-network/</link>
		<comments>http://www.solitechgmbh.com/2008/06/19/how-to-fix-problems-with-our-network/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 16:03:52 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[network problems]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=231</guid>
		<description><![CDATA[Following these steps will fix most of your networking issues Restart you Cable or DSL modem This is the device your phone cord or cable plugs in unplug the power cord. wait about 10 seconds plug the cord back in wait until all the green lights come back on (about 20 &#8211; 30 seconds) Restart ...<br /><a href="http://www.solitechgmbh.com/2008/06/19/how-to-fix-problems-with-our-network/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<h2><span class="mw-headline">Following these steps will fix most of your networking issues </span></h2>
<h3><span class="editsection"><a title="Edit section: Restart you Cable or DSL modem" href="../wiki/index.php?title=How_to_fix_problems_with_our_network&amp;action=edit&amp;section=2"></a></span><span class="mw-headline">Restart you Cable or DSL modem </span></h3>
<p>This is the device your phone cord or cable plugs in</p>
<ol>
<li>unplug the power cord.</li>
<li>wait about 10 seconds</li>
<li>plug the cord back in</li>
<li>wait until all the green lights come back on (about 20 &#8211; 30 seconds)</li>
</ol>
<h3><span class="mw-headline">Restart your wireless router </span></h3>
<p>This is the device the modem plugs in and has the antennas.</p>
<ol>
<li>unplug the power cord.</li>
<li>wait about 10 seconds</li>
<li>plug the cord back in</li>
<li>wait until all the green lights come back on (about 20 &#8211; 30 seconds)</li>
</ol>
<h3><span class="mw-headline">Restart your network switch or hub </span></h3>
<p>This is a device most of your network cables go in.</p>
<ol>
<li>unplug the power cord.</li>
<li>wait about 10 seconds</li>
<li>plug the cord back in</li>
<li>wait until most the green lights come back on (about 10 seconds)</li>
</ol>
<h3><span class="mw-headline">Reset your computers network connections </span></h3>
<p><strong><span class="mw-headline">Do this section for wireless network computers only </span></strong></p>
<ol>
<li>open your wireless connection controller and select the network you want to connect to.</li>
<li>wait until it connects and shows that you have a good signal strength</li>
</ol>
<p><strong><span class="mw-headline">Do this section for all computers </span></strong></p>
<ol>
<li>click start</li>
<li>click run</li>
<li>enter cmd into the text box</li>
</ol>
<blockquote>
<pre>cmd</pre>
</blockquote>
<ol>
<li>reset the IP address of your computer with the following commands. This might take 20 &#8211; 30 seconds.</li>
</ol>
<blockquote>
<pre>ipconfig /release
ipconfig /renew</pre>
</blockquote>
<ol>
<li>now check to make sure you got the right settings. You should see something like IP Address 192.168.1.X</li>
</ol>
<blockquote>
<pre>ipconfig</pre>
</blockquote>
<ol>
<li>try to access a computer on the network</li>
<li>open internet explorer and see if you can connect to a website</li>
</ol>
<p>If you can not connect ti the internet, repeat all the steps and try again.</p>
<p>If you still can not connect, call your tech support person and tell them all the steps you took so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2008/06/19/how-to-fix-problems-with-our-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion best practices for php developmet</title>
		<link>http://www.solitechgmbh.com/2008/03/21/subversion-best-practices-for-php-developmet/</link>
		<comments>http://www.solitechgmbh.com/2008/03/21/subversion-best-practices-for-php-developmet/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 15:59:07 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Subersion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=224</guid>
		<description><![CDATA[Subversion guide lines Set up your development environment 1. log in to your account using ssh 2. go into your webdev folder and create a new folder for your project 3. create a private branch for the task you are going to work on (usualy mantis_x x beeing the task number) svn copy http://svn.example.com/repos/project/trunk \ ...<br /><a href="http://www.solitechgmbh.com/2008/03/21/subversion-best-practices-for-php-developmet/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p><strong><span class="mw-headline">Subversion guide lines</span></strong><strong><span class="mw-headline"><br />
Set up your development environment </span></strong></p>
<p>1. log in to your account using ssh</p>
<p>2. go into your webdev folder and create a new folder for your project</p>
<p>3. create a private branch for the task you are going to work on (usualy mantis_x x beeing the task number)</p>
<blockquote>
<pre> svn copy http://svn.example.com/repos/project/trunk \
          http://svn.example.com/repos/project/branches/mantis_25 \
          -m "Creating a private branch of /project/trunk."</pre>
</blockquote>
<p>4. Now check your project out into your new project folder</p>
<blockquote>
<pre> svn co http://svn.example.com/repos/project/branches/mantis_25/ project/</pre>
</blockquote>
<p>You will also want to switch between branches for development. You can do that with the following command</p>
<blockquote>
<pre> svn switch http://svn.example.com/repos/branches/mantis_25</pre>
</blockquote>
<p>Use this command to ignore extra folders</p>
<blockquote>
<pre> svn propedit svn:ignore calc</pre>
</blockquote>
<p>you may need to add this to your .bash-profile if svn complains that there is no editor set</p>
<blockquote>
<pre> export SVN_EDITOR=vim</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2008/03/21/subversion-best-practices-for-php-developmet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to access my email from the internet</title>
		<link>http://www.solitechgmbh.com/2008/03/20/how-to-access-my-email-from-the-internet/</link>
		<comments>http://www.solitechgmbh.com/2008/03/20/how-to-access-my-email-from-the-internet/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 15:55:32 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=218</guid>
		<description><![CDATA[Follow these instructions to access your solitech hosted email from the internet. Go here http://www.solitechgmbh.com/webmail to open the login screen. Enter your email address and password. Click submit to log in. You may select between two interfaces for you email. They will both show you the same information but the layout is a little different. ...<br /><a href="http://www.solitechgmbh.com/2008/03/20/how-to-access-my-email-from-the-internet/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Follow these instructions to access your solitech hosted email from the internet.</p>
<ol>
<li> Go here <a title="http://www.solitechgmbh.com/webmail" rel="nofollow" href="webmail">http://www.solitechgmbh.com/webmail</a> to open the login screen.</li>
<li> Enter your email address and password.</li>
<li> Click submit to log in.</li>
</ol>
<p>You may select between two interfaces for you email. They will both show you the same information but the layout is a little different. By default you should use RoundCube but if you have a slow internet connection, choosing SquirrelMail might help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2008/03/20/how-to-access-my-email-from-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set up a remote vpn connection to the office</title>
		<link>http://www.solitechgmbh.com/2008/03/12/how-to-set-up-a-remote-vpn-connection-to-the-office/</link>
		<comments>http://www.solitechgmbh.com/2008/03/12/how-to-set-up-a-remote-vpn-connection-to-the-office/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 15:43:13 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=203</guid>
		<description><![CDATA[If you want to configure a VPN connection from a Windows XP client computer you only need what comes with the Operating System itself, it&#8217;s all built right in. To set up a connection to a VPN, do the following: On the computer that is running Windows XP, confirm that the connection to the Internet ...<br /><a href="http://www.solitechgmbh.com/2008/03/12/how-to-set-up-a-remote-vpn-connection-to-the-office/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>If you want to configure a VPN connection from a Windows XP client computer you only need what comes with the Operating System itself, it&#8217;s all built right in. To set up a connection to a VPN, do the following:</p>
<ol>
<li>On the computer that is running Windows XP, confirm that the connection to the Internet is correctly configured.<br />
You can try to browse the internet  Ping a known host on the Internet, like yahoo.com, something that isn’t blocking ICMP Click Start, and then click Control Panel.</li>
<li>Open the New Network Connections by clicking Start-&gt;Control Panel-&gt;Network Connections-&gt;Create a new connection.</li>
<li>In the Network Connection Wizard, click Next.<br />
<a href="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0071101986756801.jpg"><img class="alignnone size-thumbnail wp-image-204" title="image0071101986756801" src="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0071101986756801-150x150.jpg" alt="" width="150" height="150" /></a></li>
<li>Click Connect to the network at my workplace, and then click Next.<br />
<a href="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0091101986756801.jpg"><img class="alignnone size-thumbnail wp-image-205" title="image0091101986756801" src="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0091101986756801-150x150.jpg" alt="" width="150" height="150" /></a></li>
<li>Click Virtual Private Network connection, and then click Next.<br />
<a href="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0111101986756801.jpg"><img class="alignnone size-thumbnail wp-image-206" title="image0111101986756801" src="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0111101986756801-150x150.jpg" alt="" width="150" height="150" /></a></li>
<li>If you are prompted, you need to select whether you will use a dialup connection or if you have a dedicated connection to the Internet either via Cable, DSL, T1, Satellite, etc. Click Next.</li>
<li>Type a host name, IP or any other description you would like to appear in the Network Connections area. You can change this later if you want. Click Next.</li>
<li>Type the host name or the Internet Protocol (IP) address of the computer that you want to connect to, and then click Next.  You may be asked if you want to use a Smart Card or not. This IP address will be provided to you by us.<br />
<a href="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0151101986756817.jpg"><img class="alignnone size-thumbnail wp-image-207" title="image0151101986756817" src="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0151101986756817-150x150.jpg" alt="" width="150" height="150" /></a></li>
<li>You are just about done, the rest of the screens just verify your connection, click Next.</li>
<li>Click to select the Add a shortcut to this connection to my desktop check box if you want one, if not, then leave it unchecked and click finish.</li>
</ol>
<p>You are now done making your connection, but by default, it may try to connect. You can either try the connection now if you know its valid, if not, then just close it down for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2008/03/12/how-to-set-up-a-remote-vpn-connection-to-the-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to connect to a remote vpn connection from home</title>
		<link>http://www.solitechgmbh.com/2008/03/12/how-to-connect-to-a-remote-vpn-connection-from-home/</link>
		<comments>http://www.solitechgmbh.com/2008/03/12/how-to-connect-to-a-remote-vpn-connection-from-home/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 15:30:13 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=197</guid>
		<description><![CDATA[Now that you have your XP VPN client all set up and ready, the next step is to attempt a connection to the Remote Access or VPN server set up at the corporate office. To use the connection follow these simple steps. To open the client again, go back to the Network Connections dialog box. ...<br /><a href="http://www.solitechgmbh.com/2008/03/12/how-to-connect-to-a-remote-vpn-connection-from-home/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>Now that you have your XP VPN client all set up and ready, the next step is to attempt a connection to the Remote Access or VPN server set up at the corporate office. To use the connection follow these simple steps. To open the client again, go back to the Network Connections dialog box.</p>
<ol>
<li><a href="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0331101987058723.jpg"><img class="alignnone size-thumbnail wp-image-198" title="image0331101987058723" src="http://www.solitechgmbh.com/wp-content/uploads/2008/09/image0331101987058723-150x150.jpg" alt="" width="150" height="150" /></a><br />
One you are in the Network Connection dialog box, double-click, or right click and select ‘Connect’ from the menu – this will initiate the connection to the corporate office.</li>
<li>Type your user name and password, and then click Connect. Properties bring you back to what we just discussed in this article, all the global settings for the VPN client you are using.</li>
<li>To disconnect from a VPN connection, right-click the icon for the connection, and then click “Disconnect&#8221;</li>
</ol>
<p>This tutorial is based on the instructions listed on the page below</p>
]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2008/03/12/how-to-connect-to-a-remote-vpn-connection-from-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to adjust my monitor screen resolution</title>
		<link>http://www.solitechgmbh.com/2008/02/06/how-to-adjust-my-monitor-screen-resolution/</link>
		<comments>http://www.solitechgmbh.com/2008/02/06/how-to-adjust-my-monitor-screen-resolution/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 15:25:39 +0000</pubDate>
		<dc:creator>Gyuri</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Screen Resolution]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.solitechgmbh.com/?p=191</guid>
		<description><![CDATA[Close all your windows Right click on your desktop screen somewhere Click the properties option Click the settings on top tab in the new window that just popped up Adjust the resolution slider to the native resolution of your screen. The native resolution should be written in the monitors manual or box somewhere. You can ...<br /><a href="http://www.solitechgmbh.com/2008/02/06/how-to-adjust-my-monitor-screen-resolution/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<ol>
<li> Close all your windows</li>
<li> Right click on your desktop screen somewhere</li>
<li> Click the properties option</li>
<li> Click the settings on top tab in the new window that just popped up</li>
<li> Adjust the resolution slider to the native resolution of your screen.</li>
</ol>
<p>The native resolution should be written in the monitors manual or box somewhere. You can also try pushing the auto adjust button on the monitor if the entire screen is not visible, most of them should have that.</p>
<p>Screenshot:</p>

<a href='http://www.solitechgmbh.com/2008/02/06/how-to-adjust-my-monitor-screen-resolution/adjustres1/' title='adjustres1'><img width="150" height="150" src="http://www.solitechgmbh.com/wp-content/uploads/2008/09/adjustres1-150x150.jpg" class="attachment-thumbnail" alt="adjustres1" title="adjustres1" /></a>
<a href='http://www.solitechgmbh.com/2008/02/06/how-to-adjust-my-monitor-screen-resolution/adjustres2/' title='adjustres2'><img width="150" height="150" src="http://www.solitechgmbh.com/wp-content/uploads/2008/09/adjustres2-150x150.jpg" class="attachment-thumbnail" alt="adjustres2" title="adjustres2" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.solitechgmbh.com/2008/02/06/how-to-adjust-my-monitor-screen-resolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
