<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gonzalo Garcia</title>
	<atom:link href="https://ggarciamarcos.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://ggarciamarcos.wordpress.com</link>
	<description>Web design and development from scratch</description>
	<lastBuildDate>Wed, 10 Nov 2010 13:00:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<site xmlns="com-wordpress:feed-additions:1">12116473</site><cloud domain='ggarciamarcos.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s2.wp.com/i/webclip.png</url>
		<title>Gonzalo Garcia</title>
		<link>https://ggarciamarcos.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://ggarciamarcos.wordpress.com/osd.xml" title="Gonzalo Garcia" />
	<atom:link rel='hub' href='https://ggarciamarcos.wordpress.com/?pushpress=hub'/>
	<item>
		<title>Twitter feeds reader</title>
		<link>https://ggarciamarcos.wordpress.com/2010/07/20/twitter-feeds-reader/</link>
					<comments>https://ggarciamarcos.wordpress.com/2010/07/20/twitter-feeds-reader/#respond</comments>
		
		<dc:creator><![CDATA[ggarciamarcos]]></dc:creator>
		<pubDate>Tue, 20 Jul 2010 17:38:04 +0000</pubDate>
				<category><![CDATA[ggarciam.com]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[http://ggarciam.com]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[tweet feed reader]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web develompent]]></category>
		<guid isPermaLink="false">http://ggarciamarcos.wordpress.com/?p=30</guid>

					<description><![CDATA[The last thing I added to my website (Gonzalo Garcia) was the possibility of read the last 2 tweets in real time. As I&#8217;m using Mootools for everything (ok, not for my preloader, I know&#8230;), I tried to use this technology from the very beginning. Searching for something of information in Google, I found the TwitterGitter Plugin [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The last thing I added to my website (<a title="Gonzalo Garcia's Portfolio" href="http://ggarciam.com" target="_blank">Gonzalo Garcia</a>) was the possibility of read the last 2 tweets in real time. As I&#8217;m using Mootools for everything (ok, not for my preloader, I know&#8230;), I tried to use this technology from the very beginning.</p>
<p>Searching for something of information in Google, I found the <a title="TwitterGitter Plugin" href="http://davidwalsh.name/mootools-twitter-plugin" target="_blank">TwitterGitter Plugin</a> in the blog of <a title="David Walsh's Blog" href="http://davidwalsh.name/" target="_blank">David Walsh</a>, with a useful method to reach the tweets directly in my Twitter account (<a title="Twitter gg4rc14m" href="http://ggarciam.com" target="_blank">gg4rc14m</a>). It takes advantage of the JSON format to obtain information. This JSON information is given directly by Twitter, so we can use it in our own code and put our tweets wherever we want.</p>
<p>To make it works we have to follow the next steps:</p>
<p>Download the following files:</p>
<ul>
<li>Aaron Newton’s JSONP plugin that you can download <a title="Aaron Newton’s JSONP plugin" href="http://clientcide.com/js" target="_blank">here</a>.</li>
<li>The<a title="Twitter js file" href="http://ggarciam.com/js/twitter.js" target="_blank"> twitter.js</a> file where the code to present the tweets are.</li>
</ul>
<p>And to put the tweets in your own style, the following css:</p>
<pre>#tweets-here	{
padding: 5px 5px;
font-size:10px;
color:#FFF;
border-bottom-width:1px;
border-right-width:1px;
border-bottom-style:solid;
border-right-style:solid;
border-bottom-color:b6c8dc;
border-right-color:b6c8dc;
}
.tweet	{
padding:5px 10px;
height:50px;
clear:both;
margin:5px 0;
background-color:#000;
opacity: 0.6;
filter:alpha(opacity=60);
}
.tweet img	{ margin-right:10px; }
.tweet strong	{ color:#CCC; }
.tweet span	{ font-size:8px; color:#666; }
.clear	{ clear:both; }</pre>
<p>I added functionality to the twitter button in the up right part of the website to show the tweets (using the same Mootools code to move between the different sections). We only need to push the button and all the content goes down to show the tweets.</p>
<p>In the main html page we only need to add a div whose name has to match up with the one in twitter.js.</p>
<p><a title="Twitter Feeds Reader in jsFiddle" href="http://www.jsfiddle.net/gT8wn/" target="_blank">Here</a> is the example running in the jsFiddle platform.</p>
<p>So, a nice way to show a little bit more the presence in the twitter world.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ggarciamarcos.wordpress.com/2010/07/20/twitter-feeds-reader/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">30</post-id>
		<media:content url="https://0.gravatar.com/avatar/98dd01f1be751efe4e881e8694a844fdc8347742f424599bc9d548ee875b237f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ggarciamarcos</media:title>
		</media:content>
	</item>
		<item>
		<title>New jQuery preloader as intro</title>
		<link>https://ggarciamarcos.wordpress.com/2010/06/19/new-jquery-preloader-as-intro/</link>
					<comments>https://ggarciamarcos.wordpress.com/2010/06/19/new-jquery-preloader-as-intro/#respond</comments>
		
		<dc:creator><![CDATA[ggarciamarcos]]></dc:creator>
		<pubDate>Sat, 19 Jun 2010 21:52:13 +0000</pubDate>
				<category><![CDATA[ggarciam.com]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[conflict]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[preloader]]></category>
		<guid isPermaLink="false">http://ggarciamarcos.wordpress.com/?p=23</guid>

					<description><![CDATA[When I was in my town recently, I used a portable 3G connection and the download speed was a little bit lower than the DSL that I often use in my place. When I tried to enter in my web page (Gonzalo Garcia)I experimented more delay in the image&#8217;s preloading. This is because the images [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>When I was in my town recently, I used a portable 3G connection and the download speed was a little bit lower than the DSL that I often use in my place. When I tried to enter in my web page (<a title="Gonzalo Garcia's Portfolio" href="http://ggarciam.com" target="_blank">Gonzalo Garcia</a>)I experimented more delay in the image&#8217;s preloading. This is because the images are png files, a little bit heavy in my opinion, but it has to be in this way if I want to have the movement effect in the buildings.</p>
<p>The main problem was that the images were loaded very slowly and a visitor could perfectly see the different layers and even the different building halfcutted! That was really ugly and I was trying to find enough time to implement the necessary changes to prevent this to happen.</p>
<p>The solution I needed was a preloader to show some charging bar and/or numbers while the images are loaded at the beginning. As I&#8217;m trying to do a non-Flash page (just to experiment, I really like Flash&#8230;), I searched a way to do the preloader with Javascript. The two main options I found to implement it were with <a href="http://jquery.com/" target="_blank">jQuery</a> and with <a href="http://mootools.net/" target="_blank">Mootools</a>. I choosed jQuery because I haven&#8217;t ever done anything with jQuery and I want to learn as much as posible (this is the main reason of the web page and the blog&#8230;).</p>
<p>Searching, I found the <a href="http://www.gayadesign.com/diy/queryloader-preload-your-website-in-style/" target="_blank">QueryLoader</a>, a preloader of the website <a title="Gaya Design" href="http://www.gayadesign.com/" target="_blank">Gaya Design</a> and decided to use it. It&#8217;s really easy to use and in the website you can find every information to use it. If you want to use it, you only need their instructions and is very easy.</p>
<p>But I had a problem. As I developed my website (<a title="Gonzalo Garcia's Portfolio" href="http://ggarciam.com" target="_blank">Gonzalo Garcia</a>) using Mootools (the movements effect, mostly), when I tried to add the jQuery code for the preloader the movement effect with Mootools didn&#8217;t worked. I didn&#8217;t knew why this was happening but after try a lot of things I realized that the problem was between the diferent Javascript I was using.</p>
<p>I didn&#8217;t knew there&#8217;s problems when you use diferent Javascript frameworks, exactly between jQuery and Mootools. Now sounds pretty logical, but in that moment didn&#8217;t do it. The main problem is when you use both frameworks, there&#8217;s a conflict in the way the navigator understands the code.</p>
<p>To avoid this, we have to use the <em>jQuery.noConflict()</em> function. This function avoid conflicts between the both frameworks.</p>
<p>An example. If we have the following code:</p>
<pre>$(document).ready(function(){
$(".btn-slide").click(function(){
$("#slide_top-sidebar").slideToggle("slow");
$("#slide_top-subsidebar").slideToggle("normal");
});
$("#slide_top-sidebar").css({ display: 'none', });
$("#slide_top-subsidebar").css({ display: 'none', });
});</pre>
<p>To make it compatible with Mootools we have to use the <em>jQuery.noConflict()</em> function and then we change the $ character for jQuery, and the new code would be this one:</p>
<pre>jQuery.noConflict();
jQuery(document).ready(function(){
jQuery(".btn-slide").click(function(){
jQuery("#slide_top-sidebar").slideToggle("slow");
jQuery("#slide_top-subsidebar").slideToggle("normal");
});
jQuery("#slide_top-sidebar").css({ display: 'none', });
jQuery("#slide_top-subsidebar").css({ display: 'none', });
});</pre>
<p>After doing this all the problems were solved and the aspect of the web page (<a title="Gonzalo Garcia's Portfolio" href="http://ggarciam.com" target="_blank">Gonzalo Garcia</a>) is really better now.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ggarciamarcos.wordpress.com/2010/06/19/new-jquery-preloader-as-intro/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">23</post-id>
		<media:content url="https://0.gravatar.com/avatar/98dd01f1be751efe4e881e8694a844fdc8347742f424599bc9d548ee875b237f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ggarciamarcos</media:title>
		</media:content>
	</item>
		<item>
		<title>Weather application</title>
		<link>https://ggarciamarcos.wordpress.com/2010/04/19/weather-application/</link>
					<comments>https://ggarciamarcos.wordpress.com/2010/04/19/weather-application/#respond</comments>
		
		<dc:creator><![CDATA[ggarciamarcos]]></dc:creator>
		<pubDate>Mon, 19 Apr 2010 18:47:42 +0000</pubDate>
				<category><![CDATA[ggarciam.com]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[google apps]]></category>
		<category><![CDATA[weather]]></category>
		<guid isPermaLink="false">http://ggarciamarcos.wordpress.com/?p=8</guid>

					<description><![CDATA[I&#8217;ve just finished adding a little application to my web page (Gonzalo Garcia) that shows the weather in a city. I&#8217;ve used the Google Weather App that determines the weather and offers data to use it with a little bit code. This code is the following: To obtain the information about a city, I used Berlin [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve just finished adding a little application to my web page (<a title="Gonzalo Garcia's Portfolio" href="http://ggarciam.com" target="_blank">Gonzalo Garcia</a>) that shows the weather in a city.</p>
<p>I&#8217;ve used the <a title="Google Weather API" href="http://www.google.com/support/forum/p/apps-apis/thread?tid=718560d8c2c913ff&amp;hl=en" target="_blank">Google Weather App</a> that determines the weather and offers data to use it with a little bit code. This code is the following:</p>
<pre class="brush: xml; title: ; notranslate">
xpath(&quot;/xml_api_reply/weather/forecast_information&quot;);
$current = $xml-&amp;gt;xpath(&quot;/xml_api_reply/weather/current_conditions&quot;);
$forecast_list = $xml-&amp;gt;xpath(&quot;/xml_api_reply/weather/forecast_conditions&quot;);
?&amp;gt;

&lt;!-- obtiene el nombre de la ciudad --&gt;
city['data'];
$posicion= strpos($cadena,&quot;,&quot;);
$ciudad= substr($cadena,0, $posicion); ?&amp;gt;
&lt;div id=&quot;weather&quot;&gt;&lt;span style=&quot;color: #ffffff;&quot;&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width=&quot;70&quot;&gt;Location&lt;/td&gt;
&lt;td width=&quot;40&quot;&gt;Temp&lt;/td&gt;
&lt;td colspan=&quot;2&quot; width=&quot;70&quot;&gt;Conditions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;temp_c['data']) ?&amp;gt;° C&lt;/td&gt;
&lt;td&gt;condition['data']) ?&amp;gt;&lt;/td&gt;
&lt;td&gt;&lt;img src=&quot;&amp;lt;?= 'images' . $current[0]-&amp;gt;icon['data']?&amp;gt;&quot; alt=&quot;weather&quot; width=&quot;26&quot; height=&quot;26&quot; /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/span&gt;&lt;span style=&quot;color: #ffffff;&quot;&gt; &lt;/span&gt;

&lt;/div&gt;
</pre>
<div>To obtain the information about a city, I used Berlin in the following line:</div>
<pre class="brush: xml; title: ; notranslate">
$xml = simplexml_load_file('http://www.google.com/ig/api?weather=berlin&amp;amp;oe=utf-8&amp;amp;hl=en');
</pre>
<div>
<p>The code</p>
<pre class="brush: xml; title: ; notranslate">'&amp;amp;oe=utf-8&amp;amp;hl=en'</pre>
<p>obtains information in the desirable language (in this case, english).</p>
</div>
<div>Then I used the following three lines to separate the name of the city of the complete region, as I only want the name of the city to show it:</div>
<pre class="brush: xml; title: ; notranslate">
$cadena=$information[0]-&amp;gt;city['data'];
$posicion= strpos($cadena,&quot;,&quot;);
$ciudad= substr($cadena,0, $posicion);
</pre>
<div>And finally, I put in order all the information in a table:</div>
<div>
<pre class="brush: xml; title: ; notranslate">

&lt;strong&gt; &lt;/strong&gt; temp_c['data']) ?&amp;gt;° C condition['data']) ?&amp;gt; &lt;img src=&quot;&amp;lt;?= 'images' . $current[0]-&amp;gt;icon['data']?&amp;gt;&quot; alt=&quot;weather&quot; width=&quot;26&quot; height=&quot;26&quot; /&gt;</pre>
</div>
<div>The last line show an image accord to the weather. Normally, Google offers images to show, but I wanted my own ones to make the global design a little bit more attractive. In this case, I searched the name of all the possible images and put that name in my own images. Thus, changing the path from the Google path to my own one, I show my own images with all the information.</div>
<div>The next step has to be a behaviour in the web page  (<a title="Gonzalo Garcia's Portfolio" href="http://ggarciam.com" target="_blank">Gonzalo Garcia</a>) according to the weather. Every worthy city in the world has to be subjected to weather changes&#8230;</div>
]]></content:encoded>
					
					<wfw:commentRss>https://ggarciamarcos.wordpress.com/2010/04/19/weather-application/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8</post-id>
		<media:content url="https://0.gravatar.com/avatar/98dd01f1be751efe4e881e8694a844fdc8347742f424599bc9d548ee875b237f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ggarciamarcos</media:title>
		</media:content>
	</item>
		<item>
		<title>Self welcome to my new blog in WordPress</title>
		<link>https://ggarciamarcos.wordpress.com/2010/02/19/self-welcome-to-my-new-blog-in-wordpress/</link>
					<comments>https://ggarciamarcos.wordpress.com/2010/02/19/self-welcome-to-my-new-blog-in-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[ggarciamarcos]]></dc:creator>
		<pubDate>Fri, 19 Feb 2010 00:06:00 +0000</pubDate>
				<category><![CDATA[ggarciam.com]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web develompent]]></category>
		<category><![CDATA[welcome]]></category>
		<guid isPermaLink="false">http://ggarciamarcos.wordpress.com/?p=3</guid>

					<description><![CDATA[Hi all! I open this blog to use it as a lab for my experiments with web design and web development. I will often use my web page to do this experiments, but not only. I hope this will be useful for me and for other people who starts from scratch like me!! Good luck!!]]></description>
										<content:encoded><![CDATA[<p>Hi all!</p>
<p>I open this blog to use it as a lab for my experiments with web design and web development. I will often use <a title="Gonzalo Garcia's Portfolio" href="http://ggarciam.com" target="_blank">my web page</a> to do this experiments, but not only.</p>
<p>I hope this will be useful for me and for other people who starts from scratch like me!!</p>
<p>Good luck!!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ggarciamarcos.wordpress.com/2010/02/19/self-welcome-to-my-new-blog-in-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3</post-id>
		<media:content url="https://0.gravatar.com/avatar/98dd01f1be751efe4e881e8694a844fdc8347742f424599bc9d548ee875b237f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ggarciamarcos</media:title>
		</media:content>
	</item>
	</channel>
</rss>
