<?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>Xyberneticos &#187; php</title>
	<atom:link href="http://xyberneticos.com/index.php/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://xyberneticos.com</link>
	<description>Desarrollo Web, Diseño, Recursos, Wordpress, Themes</description>
	<lastBuildDate>Fri, 04 Nov 2011 14:10:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mostrar actividad de Usuarios Registrados en wordpress</title>
		<link>http://xyberneticos.com/index.php/2009/11/04/mostrar-actividad-de-usuarios-registrados-en-wordpress/</link>
		<comments>http://xyberneticos.com/index.php/2009/11/04/mostrar-actividad-de-usuarios-registrados-en-wordpress/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 03:47:11 +0000</pubDate>
		<dc:creator>Nikko</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[wordpresshack]]></category>

		<guid isPermaLink="false">http://xyberneticos.com/index.php/2009/11/04/mostrar-actividad-de-usuarios-registrados-en-wordpress/</guid>
		<description><![CDATA[Si permiten el registro de usuarios en sus blogs, no sería mala idea al igual que los portales web, mostrar una lista detallada de los últimos usuarios registrados. Claro que wordpress no tiene una función específica para esto, pero wprecipes nos brinda una simple solución. Mostrar Últimos Usuarios Registrados: Solo hay que pegar el siguiente [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src='http://xyberneticos.com/wp-content/uploads/2009/11/usuariosregistrados.jpg' alt='usuariosregistrados.jpg' /></p>
<p> Si permiten el registro de usuarios en sus blogs, no sería mala idea al igual que los portales web, mostrar una lista detallada de los últimos usuarios registrados. Claro que wordpress no tiene una función específica para esto, pero <a href="http://www.wprecipes.com/how-to-list-latest-registered-users">wprecipes</a> nos brinda una simple solución.<span id="more-2401"></span></p>
<h2> Mostrar Últimos Usuarios Registrados:</h2>
<p>Solo hay que pegar el siguiente código en el lugar de tu plantilla donde quieras que figure la lista, Ej: sidebar.php:</p>
<div class="igBar"><span id="lphp-4"><a href="#" onclick="javascript:showPlainTxt('php-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-4">
<div class="php">&lt;h2&gt;Ultimos Usuarios registrados&lt;/h2&gt;<br />
&lt;ul&gt;<br />
<span style="color:#000000; font-weight:bold;">&lt;?php</span><br />
<span style="color:#6E8885;">$usernames</span> = <span style="color:#6E8885;">$wpdb</span>-&gt;<span style="color:#375D81;">get_results</span><span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365;">"SELECT user_nicename, user_url FROM $wpdb-&gt;users ORDER BY ID DESC LIMIT 5"</span><span style="color:#234365; font-weight:bold;">&#41;</span>;</p>
<p><span style="color:#666665;">foreach</span> <span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$usernames</span> <span style="color:#666665;">as</span> <span style="color:#6E8885;">$username</span><span style="color:#234365; font-weight:bold;">&#41;</span> <span style="color:#234365; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#234365;">'&lt;li&gt;&lt;a href=&quot;'</span>.<span style="color:#6E8885;">$username</span>-&gt;<span style="color:#375D81;">user_url</span>.<span style="color:#234365;">'&quot;&gt;'</span>.<span style="color:#6E8885;">$username</span>-&gt;<span style="color:#375D81;">user_nicename</span>.<span style="color:#234365;">"&lt;/a&gt;&lt;/li&gt;"</span>;<br />
<span style="color:#234365; font-weight:bold;">&#125;</span><br />
<span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;/ul&gt;</div>
</div>
</div>
<p></p>
<h2>Mostrar la cantidad de comentarios realizados por un usuario registrado</h2>
<p> - <a href="http://www.wprecipes.com/display-registered-users-comment-count-on-your-wordpress-blog">Info</a><br />
Si para comentar las noticias de tu blog, tus usuarios deben estar registrados, puede ser interesante poder mostrar el número de comentarios enviados por cada uno de ellos. Simplemente pegue el siguiente código donde quieres que la cuenta que se muestra. </p>
<div class="igBar"><span id="lphp-5"><a href="#" onclick="javascript:showPlainTxt('php-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-5">
<div class="php"><span style="color:#000000; font-weight:bold;">&lt;?php</span><br />
<a href="http://www.php.net/global"><span style="color:#000066;">global</span></a> <span style="color:#6E8885;">$wpdb</span>;<br />
<span style="color:#6E8885;">$where</span> = <span style="color:#234365;">'WHERE comment_approved = 1 AND user_id &lt;&gt; 0'</span>;<br />
<span style="color:#6E8885;">$comment_counts</span> = <span style="color:#234365; font-weight:bold;">&#40;</span><a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#234365; font-weight:bold;">&#41;</span> <span style="color:#6E8885;">$wpdb</span>-&gt;<span style="color:#375D81;">get_results</span><span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365;">"<br />
&nbsp; &nbsp; &nbsp; &nbsp; SELECT user_id, COUNT( * ) AS total<br />
&nbsp; &nbsp; &nbsp; &nbsp; FROM {$wpdb-&gt;comments}<br />
&nbsp; &nbsp; &nbsp; &nbsp; {$where}<br />
&nbsp; &nbsp; &nbsp; &nbsp; GROUP BY user_id<br />
&nbsp; &nbsp; "</span>, object<span style="color:#234365; font-weight:bold;">&#41;</span>;<br />
<span style="color:#666665;">foreach</span> <span style="color:#234365; font-weight:bold;">&#40;</span> <span style="color:#6E8885;">$comment_counts</span> <span style="color:#666665;">as</span> <span style="color:#6E8885;">$count</span> <span style="color:#234365; font-weight:bold;">&#41;</span> <span style="color:#234365; font-weight:bold;">&#123;</span><br />
&nbsp; <span style="color:#6E8885;">$user</span> = get_userdata<span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$count</span>-&gt;<span style="color:#375D81;">user_id</span><span style="color:#234365; font-weight:bold;">&#41;</span>;<br />
&nbsp; <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#234365;">'User '</span> . <span style="color:#6E8885;">$user</span>-&gt;<span style="color:#375D81;">display_name</span> . <span style="color:#234365;">' comment count is '</span> . <span style="color:#6E8885;">$count</span>-&gt;<span style="color:#375D81;">total</span> . <span style="color:#234365;">'<br />
'</span>;<br />
<span style="color:#234365; font-weight:bold;">&#125;</span><br />
<span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</div>
</div>
<p></p>
<h2>Mostrar el número total de Usuarios Registrados en tu blog</h2>
<p> - <a href="http://www.wprecipes.com/display-the-total-number-of-users-of-your-wordpress-blog">Info</a><br />
¿Quieres mostrar el número total de usuarios registrados? Este sencillo, este código le permitirá hacerlo con facilidad.   </p>
<div class="igBar"><span id="lphp-6"><a href="#" onclick="javascript:showPlainTxt('php-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-6">
<div class="php"><span style="color:#6E8885;">$users</span> = <span style="color:#6E8885;">$wpdb</span>-&gt;<span style="color:#375D81;">get_var</span><span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365;">"SELECT COUNT(ID) FROM $wpdb-&gt;users"</span><span style="color:#234365; font-weight:bold;">&#41;</span>;<br />
<a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#6E8885;">$users</span>.<span style="color:#234365;">" registered users."</span>;</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://xyberneticos.com/index.php/2009/11/04/mostrar-actividad-de-usuarios-registrados-en-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Pubwich &#8211; Instant Website</title>
		<link>http://xyberneticos.com/index.php/2009/09/12/pubwich-instant-website/</link>
		<comments>http://xyberneticos.com/index.php/2009/09/12/pubwich-instant-website/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 03:22:06 +0000</pubDate>
		<dc:creator>Nikko</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://xyberneticos.com/index.php/2009/09/12/pubwich-instant-website/</guid>
		<description><![CDATA[Pubwich una práctica aplicación PHP open-source desarrollada para los fanáticos de las redes sociales, ya que esta permite agregar todos los datos publicados en varios sitios web y servicios sociales, en una sola página HTML que contendrá todas aquellas actualizaciones que generes en los diversos sitios. Pubwich es un proyecto de código abierto, lo que [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src="http://xyberneticos.com/wp-content/uploads/2009/09/pubswith.jpg" alt="pubswith.jpg" /></p>
<p align="justify"><a href="http://pubwich.org/" target="_blank">Pubwich</a> una práctica aplicación PHP open-source desarrollada para los fanáticos de las redes sociales, ya que esta permite agregar todos los datos publicados en varios sitios web y servicios sociales, en una sola página HTML que contendrá todas aquellas actualizaciones que generes en los diversos sitios. Pubwich es un proyecto de código abierto, lo que significa que cada uno puede navegar por su código fuente, modificarlo para que se adapte a las necesidades que creas conveniente, además de ayudar a la aplicación compartiendo todas tus modificaciones con otras personas. Además de la capacidad para mostrar el contenido de cualquier sitio web a través de feeds RSS / Atom, soporta servicios web populares como:  Delicious , Facebook, Flickr ,last.fm, ReaderNaut, Twitter, Vimeo, Youtube, entre otros. Pubwich sólo necesita ejecutarse en un servidor Apache con PHP 5 y PEAR instaladas.</p>
<p>Enlace  <a href="http://pubwich.org/" target="_blank">Pubwich</a> - <a href="http://remiprevost.com/" target="_blank">Demo 1</a> - <a href="http://www.gabrielrodrigue.com/" target="_blank">Demo 2</a></p>
<p>Via  <a href="http://www.webresourcesdepot.com/instant-website-that-displays-content-from-multiple-websitesservices-pubwich/" target="_blank">webresourcesdepot</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xyberneticos.com/index.php/2009/09/12/pubwich-instant-website/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Contenido deslizante con Auto-Reproducción</title>
		<link>http://xyberneticos.com/index.php/2008/09/21/contenido-deslizante-con-auto-reproduccion/</link>
		<comments>http://xyberneticos.com/index.php/2008/09/21/contenido-deslizante-con-auto-reproduccion/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 19:39:50 +0000</pubDate>
		<dc:creator>Nikko</dc:creator>
				<category><![CDATA[Diseño Web]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://xyberneticos.com/index.php/2008/09/21/contenido-deslizante-con-auto-reproduccion/</guid>
		<description><![CDATA[Auto playing featured Content Slider, una divertida forma para mostrar gran cantidad de contenido en una pequeña área. Estaremos usando XHTML / CSS para la construcción y el estilo de widgets. Junto con las librerías jQuery y Coda Slider plugin para los efectos de animación. Este featured Content Slider, posee un contenido principal (grupos), que [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src="http://xyberneticos.com/wp-content/uploads/2008/09/contslider.jpg" alt="contslider.jpg" /></p>
<p><a href="http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/">Auto playing featured Content Slider</a>, una divertida forma para mostrar gran cantidad de contenido en una pequeña área. Estaremos usando XHTML / CSS para la construcción y el estilo de widgets. Junto con las librerías <a href="http://jquery.com/">jQuery</a> y <a href="http://www.ndoherty.com/demos/coda-slider/">Coda Slider plugin</a> para los efectos de animación. Este featured Content Slider, posee un contenido principal (grupos), que se desliza de izquierda a derecha mostrando cada uno de ellos un contenido único. Hay enlaces que actúan como menú de navegación que nos permitirá saltar rápidamente a cualquier grupo en particular. Estos vínculos pueden estar formados por hipervínculo de texto, miniatura, etc.</p>
<ul>
<li> <span style="font-weight: bold">Diferentes tipos de contenido personalizado en los paneles.</span> Se puede poner lo que queramos en los paneles, pero para que sea más fácil para nosotros mismos, habrá un par de diferentes formatos a respetar. Una imagen de fondo cubriéndolo por completo,   pero con una superposición de textos.</li>
<li> <span style="font-weight: bold">Auto-play.</span> Podemos hacer click en los paneles para saltar a cada grupo especifico, o dejar que las transiciones se produzcan de forma automática.</li>
<li> <span style="font-weight: bold">Flecha indicador.</span> Sirve como indicador visual para resaltar el panel que estamos  viendo actualmente, algo así como una pequeña flecha sobre las miniaturas que apunta en el panel.</li>
</ul>
<p>Ver <a href="http://css-tricks.com/examples/FeaturedContentSlider/">demo </a>- Mas informacion y descarga <a href="http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/">Auto playing featured Content Slider</a> - By css-tricks<br />
Instalacion:</p>
<div class="igBar"><span id="ljavascript-10"><a href="#" onclick="javascript:showPlainTxt('javascript-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JavaScript:</span>
<div id="javascript-10">
<div class="javascript">&lt;script type=<span style="color: #3366CC;">"text/javascript"</span> src=<span style="color: #3366CC;">"js/jquery-1.2.6.min.js"</span>&gt;&lt;/script&gt;<br />
&nbsp; &nbsp; &lt;script type=<span style="color: #3366CC;">"text/javascript"</span> src=<span style="color: #3366CC;">"js/jquery-easing-1.3.pack.js"</span>&gt;&lt;/script&gt;<br />
&nbsp; &nbsp; &lt;script type=<span style="color: #3366CC;">"text/javascript"</span> src=<span style="color: #3366CC;">"js/jquery-easing-compatibility.1.2.pack.js"</span>&gt;&lt;/script&gt;<br />
&nbsp; &nbsp; &lt;script type=<span style="color: #3366CC;">"text/javascript"</span> src=<span style="color: #3366CC;">"js/coda-slider.1.1.1.pack.js"</span>&gt;&lt;/script&gt;<br />
&nbsp; &nbsp; &lt;script type=<span style="color: #3366CC;">"text/javascript"</span>&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> theInt = <span style="color: #003366; font-weight: bold;">null</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> $crosslink, $navthumb;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> curclicked = <span style="color: #CC0000;color:#800000;">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; theInterval = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>cur<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clearInterval<span style="color: #66cc66;">&#40;</span>theInt<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span> <span style="color: #000066; font-weight: bold;">typeof</span> cur != <span style="color: #3366CC;">'undefined'</span> <span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; curclicked = cur;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $crosslink.<span style="color: #006600;">removeClass</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"active-thumb"</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $navthumb.<span style="color: #006600;">eq</span><span style="color: #66cc66;">&#40;</span>curclicked<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">parent</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">addClass</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"active-thumb"</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">".stripNav ul li a"</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">eq</span><span style="color: #66cc66;">&#40;</span>curclicked<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">trigger</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theInt = setInterval<span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $crosslink.<span style="color: #006600;">removeClass</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"active-thumb"</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $navthumb.<span style="color: #006600;">eq</span><span style="color: #66cc66;">&#40;</span>curclicked<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">parent</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">addClass</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"active-thumb"</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">".stripNav ul li a"</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">eq</span><span style="color: #66cc66;">&#40;</span>curclicked<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">trigger</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; curclicked++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #66cc66;">&#40;</span> <span style="color: #CC0000;color:#800000;">6</span> == curclicked <span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; curclicked = <span style="color: #CC0000;color:#800000;">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>, <span style="color: #CC0000;color:#800000;">3000</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; $<span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"#main-photo-slider"</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">codaSlider</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $navthumb = $<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">".nav-thumb"</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $crosslink = $<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">".cross-link"</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $navthumb<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .<span style="color: #006600;">click</span><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> $this = $<span style="color: #66cc66;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theInterval<span style="color: #66cc66;">&#40;</span>$this.<span style="color: #006600;">parent</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">attr</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'href'</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">slice</span><span style="color: #66cc66;">&#40;</span><span style="color: #CC0000;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span> - <span style="color: #CC0000;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theInterval<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &lt;/script&gt;</div>
</div>
</div>
<p>
Agregando estilo</p>
<div class="igBar"><span id="lcss-11"><a href="#" onclick="javascript:showPlainTxt('css-11'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-11">
<div class="css"><span style="color: #808080; font-style: italic;">/*<br />
&nbsp; &nbsp; SLIDER<br />
*/</span><br />
<span style="color: #6666ff;">.slider-wrap&nbsp; &nbsp; </span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span>: 419px; <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">absolute</span>; <span style="color: #000000; font-weight: bold;">top</span>: 87px; <span style="color: #000000; font-weight: bold;">left</span>: 40px; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.stripViewer </span><span style="color: #6666ff;">.panelContainer<br />
</span><span style="color: #6666ff;">.panel </span>ul&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">text-align</span>: <span style="color: #000000; font-weight: bold;">left</span>; <span style="color: #000000; font-weight: bold;">margin</span>: <span style="color: #cc66cc;color:#800000;">0</span> 15px <span style="color: #cc66cc;color:#800000;">0</span> 30px; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.stripViewer&nbsp; &nbsp; </span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>; <span style="color: #000000; font-weight: bold;">overflow</span>: <span style="color: #993333;">hidden</span>; <span style="color: #000000; font-weight: bold;">width</span>: 419px; <span style="color: #000000; font-weight: bold;">height</span>: 285px; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.stripViewer </span><span style="color: #6666ff;">.panelContainer&nbsp; &nbsp; </span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>; <span style="color: #000000; font-weight: bold;">left</span>: <span style="color: #cc66cc;color:#800000;">0</span>; <span style="color: #000000; font-weight: bold;">top</span>: <span style="color: #cc66cc;color:#800000;">0</span>; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.stripViewer </span><span style="color: #6666ff;">.panelContainer </span><span style="color: #6666ff;">.panel </span>&nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span>: <span style="color: #000000; font-weight: bold;">left</span>; <span style="color: #000000; font-weight: bold;">height</span>: <span style="color: #cc66cc;color:#800000;">100</span>%; <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>; <span style="color: #000000; font-weight: bold;">width</span>: 419px; <span style="color: #66cc66;">&#125;</span><br />
.stripNavL, .stripNavR, <span style="color: #6666ff;">.stripNav&nbsp; &nbsp;</span>&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">none</span>; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.nav-thumb&nbsp; </span>&nbsp;&nbsp; &nbsp;<span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">border</span>: 1px <span style="color: #993333;">solid</span> <span style="color: #000000; font-weight: bold;">black</span>; <span style="color: #000000; font-weight: bold;">margin-right</span>: 5px; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #cc00cc;">#movers-row&nbsp;&nbsp; <span style="color: #66cc66;">&#123;</span></span> <span style="color: #000000; font-weight: bold;">margin</span>: -43px <span style="color: #cc66cc;color:#800000;">0</span> <span style="color: #cc66cc;color:#800000;">0</span> 62px; <span style="color: #66cc66;">&#125;</span><br />
#movers-row div&nbsp;&nbsp;<span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span>: <span style="color: #cc66cc;color:#800000;">20</span>%; <span style="color: #000000; font-weight: bold;">float</span>: <span style="color: #000000; font-weight: bold;">left</span>; <span style="color: #66cc66;">&#125;</span><br />
#movers-row div a<span style="color: #6666ff;">.cross-link&nbsp; &nbsp; </span>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span>: <span style="color: #000000; font-weight: bold;">right</span>; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.photo-meta-data&nbsp; &nbsp; </span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>images/transpBlack.png<span style="color: #66cc66;">&#41;</span>; <span style="color: #000000; font-weight: bold;">padding</span>: 10px; <span style="color: #000000; font-weight: bold;">height</span>: 30px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">margin-top</span>: -50px; <span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>; <span style="color: #000000; font-weight: bold;">z-index</span>: <span style="color: #cc66cc;color:#800000;">9999</span>; <span style="color: #000000; font-weight: bold;">color</span>: <span style="color: #993333;">white</span>; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.photo-meta-data </span>span&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-size</span>: 13px; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.cross-link&nbsp;</span>&nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span>: <span style="color: #993333;">block</span>; <span style="color: #000000; font-weight: bold;">width</span>: 62px; <span style="color: #000000; font-weight: bold;">margin-top</span>: -14px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">position</span>: <span style="color: #993333;">relative</span>; <span style="color: #000000; font-weight: bold;">padding-top</span>: 15px; <span style="color: #000000; font-weight: bold;">z-index</span>: <span style="color: #cc66cc;color:#800000;">9999</span>; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #6666ff;">.active-thumb&nbsp; &nbsp;</span>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>images/icon-uparrowsmallwhite.png<span style="color: #66cc66;">&#41;</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #993333;">center</span> <span style="color: #993333;">no-repeat</span>; <span style="color: #66cc66;">&#125;</span></div>
</div>
</div>
<p>
Contenido</p>
<div class="igBar"><span id="lhtml-12"><a href="#" onclick="javascript:showPlainTxt('html-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-12">
<div class="html"><span style="color: #606060;">&lt;div class=&quot;slider-wrap&quot;&gt;</span><br />
&nbsp; &nbsp; <span style="color: #606060;">&lt;div id=&quot;main-photo-slider&quot; class=&quot;csw&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;panelContainer&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;panel&quot; title=&quot;Panel 1&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;wrapper&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;!-- REGULAR IMAGE PANEL --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;img src=&quot;images/tempphoto-1.jpg&quot; alt=&quot;temp&quot; /&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;photo-meta-data&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Photo Credit: <span style="color: #606060;">&lt;a href=&quot;http://flickr.com/photos/astrolondon/2396265240/&quot;&gt;</span>Kaustav Bhattacharya<span style="color: #606060;">&lt;/a&gt;</span><span style="color: #606060;">&lt;br /&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;span&gt;</span>&quot;Free Tibet&quot; Protest at the Olympic Torch Rally<span style="color: #606060;">&lt;/span&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;panel&quot; title=&quot;Panel 2&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;wrapper&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;!-- PANEL CONTENT --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;panel&quot; title=&quot;Panel 3&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;wrapper&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;!-- EXAMPLE OF OTHER PANEL POSSIBILITIES --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;img src=&quot;images/scotch-egg.jpg&quot; alt=&quot;scotch egg&quot; class=&quot;floatLeft&quot;/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;h1&gt;</span>How to Cook a Scotch Egg<span style="color: #606060;">&lt;/h1&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;ul&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;li&gt;</span>6 hard-boiled eggs, well chilled (i try to cook them to just past soft boiled stage, then stick them in the coldest part of the fridge to firm up)<span style="color: #606060;">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;li&gt;</span>1 pound good quality sausage meat (i used ground turkey meat, seasoned with sage, white pepper, salt and a tiny bit of maple syrup)<span style="color: #606060;">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;li&gt;</span>1/2 cup AP flour<span style="color: #606060;">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;li&gt;</span>1-2 eggs, beaten<span style="color: #606060;">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;li&gt;</span>3/4 cup panko-style bread crumbs<span style="color: #606060;">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;li&gt;</span>Vegetable oil for frying<span style="color: #606060;">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/ul&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;panel&quot; title=&quot;Panel 4&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;wrapper&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;!-- PANEL CONTENT --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;panel&quot; title=&quot;Panel 5&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;wrapper&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;!-- PANEL CONTENT --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;panel&quot; title=&quot;Panel 6&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div class=&quot;wrapper&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;!-- PANEL CONTENT --&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; <span style="color: #606060;">&lt;!-- TO MAKE THESE THUMBNAILS ACTUALLY WORK, BOTH THE HASH VALUE (#1, ETC.)<br />
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;AND THE CLASS=&quot;CROSS-LINK&quot; ARE REQUIRED --&gt;</span><br />
&nbsp; &nbsp; <span style="color: #606060;">&lt;a href=&quot;#1&quot; class=&quot;cross-link active-thumb&quot;&gt;</span><span style="color: #606060;">&lt;img src=&quot;images/tempphoto-1thumb.jpg&quot; class=&quot;nav-thumb&quot; alt=&quot;temp-thumb&quot; /&gt;</span><span style="color: #606060;">&lt;/a&gt;</span><br />
&nbsp; &nbsp; <span style="color: #606060;">&lt;div id=&quot;movers-row&quot;&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div&gt;</span><span style="color: #606060;">&lt;a href=&quot;#2&quot; class=&quot;cross-link&quot;&gt;</span><span style="color: #606060;">&lt;img src=&quot;images/tempphoto-2thumb.jpg&quot; class=&quot;nav-thumb&quot; alt=&quot;temp-thumb&quot; /&gt;</span><span style="color: #606060;">&lt;/a&gt;</span><span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div&gt;</span><span style="color: #606060;">&lt;a href=&quot;#3&quot; class=&quot;cross-link&quot;&gt;</span><span style="color: #606060;">&lt;img src=&quot;images/tempphoto-3thumb.jpg&quot; class=&quot;nav-thumb&quot; alt=&quot;temp-thumb&quot; /&gt;</span><span style="color: #606060;">&lt;/a&gt;</span><span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div&gt;</span><span style="color: #606060;">&lt;a href=&quot;#4&quot; class=&quot;cross-link&quot;&gt;</span><span style="color: #606060;">&lt;img src=&quot;images/tempphoto-4thumb.jpg&quot; class=&quot;nav-thumb&quot; alt=&quot;temp-thumb&quot; /&gt;</span><span style="color: #606060;">&lt;/a&gt;</span><span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div&gt;</span><span style="color: #606060;">&lt;a href=&quot;#5&quot; class=&quot;cross-link&quot;&gt;</span><span style="color: #606060;">&lt;img src=&quot;images/tempphoto-5thumb.jpg&quot; class=&quot;nav-thumb&quot; alt=&quot;temp-thumb&quot; /&gt;</span><span style="color: #606060;">&lt;/a&gt;</span><span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #606060;">&lt;div&gt;</span><span style="color: #606060;">&lt;a href=&quot;#6&quot; class=&quot;cross-link&quot;&gt;</span><span style="color: #606060;">&lt;img src=&quot;images/tempphoto-6thumb.jpg&quot; class=&quot;nav-thumb&quot; alt=&quot;temp-thumb&quot; /&gt;</span><span style="color: #606060;">&lt;/a&gt;</span><span style="color: #606060;">&lt;/div&gt;</span><br />
&nbsp; &nbsp; <span style="color: #606060;">&lt;/div&gt;</span><br />
<span style="color: #606060;">&lt;/div&gt;</span></div>
</div>
</div>
<p>
Ver <a href="http://css-tricks.com/examples/FeaturedContentSlider/">demo</a> - Mas informacion y descarga <a href="http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/">Auto playing featured Content Slider</a> - By css-tricks</p>
]]></content:encoded>
			<wfw:commentRss>http://xyberneticos.com/index.php/2008/09/21/contenido-deslizante-con-auto-reproduccion/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Dar estilo a tus Comentarios WordPress</title>
		<link>http://xyberneticos.com/index.php/2008/07/08/dar-estilo-a-tus-comentarios-wordpress/</link>
		<comments>http://xyberneticos.com/index.php/2008/07/08/dar-estilo-a-tus-comentarios-wordpress/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 04:33:27 +0000</pubDate>
		<dc:creator>Nikko</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Diseño Web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://xyberneticos.com/index.php/2008/07/08/dar-estilo-a-tus-comentarios-wordpress/</guid>
		<description><![CDATA[Si piensas rediseñar por completo tu blog, no estaría nada mal, dedicar tiempo a elaborar cosas creativas para los comentarios de tu blog. Partiendo de esa idea, encuentro en darrenhoyt, algunos prácticos ejemplos que podrás utilizar como base, donde se incluyen inclusive ejemplos de códigos y la posibilidad de los PSD originales. Ampliar info y [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src="http://xyberneticos.com/wp-content/uploads/2008/07/commentsestilo.jpg" alt="commentsestilo.jpg" /></p>
<p>Si piensas rediseñar por completo tu blog, no estaría nada mal, dedicar tiempo a elaborar cosas creativas para los comentarios de tu blog. Partiendo de esa idea, encuentro en <a href="http://www.darrenhoyt.com/2007/08/18/styling-your-wordpress-comments/">darrenhoyt</a>, algunos prácticos ejemplos que podrás utilizar como base, donde se incluyen inclusive ejemplos de códigos y la posibilidad de los PSD originales.<br />
Ampliar info y mas ejemplos <a href="http://www.darrenhoyt.com/2007/08/18/styling-your-wordpress-comments/">Styling Your WordPress Comments</a><br />
Lo primero será, editar tu archivo "comments.php" de tu theme wp:</p>
<div class="igBar"><span id="lphp-15"><a href="#" onclick="javascript:showPlainTxt('php-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-15">
<div class="php">&lt;ol <span style="color:#000000; font-weight:bold;">class</span>=<span style="color:#234365;">"commentlist"</span>&gt;<br />
<span style="color:#000000; font-weight:bold;">&lt;?php</span> <span style="color:#666665;">foreach</span> <span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$comments</span> <span style="color:#666665;">as</span> <span style="color:#6E8885;">$comment</span><span style="color:#234365; font-weight:bold;">&#41;</span> : <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;li <span style="color:#000000; font-weight:bold;">&lt;?php</span> <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#6E8885;">$oddcomment</span>; ?&gt;id=<span style="color:#234365;">"comment-&lt;?php comment_ID() ?&gt;"</span>&gt;<br />
&lt;div <span style="color:#000000; font-weight:bold;">class</span>=<span style="color:#234365;">"commenttext"</span>&gt;<br />
&lt;cite&gt;&lt;?php comment_author_link<span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365; font-weight:bold;">&#41;</span> ?&gt;&lt;/cite&gt;<br />
<span style="color:#000000; font-weight:bold;">&lt;?php</span> comment_text<span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365; font-weight:bold;">&#41;</span> <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;span <span style="color:#000000; font-weight:bold;">class</span>=<span style="color:#234365;">"date"</span>&gt;&lt;img src=<span style="color:#234365;">"/images/commentlink.gif"</span> alt=<span style="color:#234365;">""</span> /&gt; &lt;a href=<span style="color:#234365;">"#comment-&lt;?php comment_ID() ?&gt;"</span> title=<span style="color:#234365;">""</span>&gt;&lt;?php comment_time<span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365; font-weight:bold;">&#41;</span> <span style="color:#000000; font-weight:bold;">?&gt;</span> on <span style="color:#000000; font-weight:bold;">&lt;?php</span> comment_date<span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365;">'n/j/y'</span><span style="color:#234365; font-weight:bold;">&#41;</span> ?&gt;&lt;/a&gt;&lt;/span&gt; <span style="color:#000000; font-weight:bold;">&lt;?php</span> edit_comment_link<span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#234365;">'edit'</span>,<span style="color:#234365;">'&amp;nbsp;&amp;nbsp;'</span>,<span style="color:#234365;">''</span><span style="color:#234365; font-weight:bold;">&#41;</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;/div&gt;<br />
<span style="color:#000000; font-weight:bold;">&lt;?php</span> <span style="color:#666665;">if</span> <span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$comment</span>-&gt;<span style="color:#375D81;">comment_approved</span> == <span style="color:#234365;">'0'</span><span style="color:#234365; font-weight:bold;">&#41;</span> : <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;em&gt;Your comment is awaiting moderation.&lt;/em&gt;<br />
<span style="color:#000000; font-weight:bold;">&lt;?php</span> <span style="color:#666665;">endif</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;/li&gt;<br />
<span style="color:#000000; font-weight:bold;">&lt;?php</span><br />
<span style="color:#008000;">/* Changes every other comment to a different class */</span><br />
<span style="color:#6E8885;">$oddcomment</span> = <span style="color:#234365; font-weight:bold;">&#40;</span> <a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#234365; font-weight:bold;">&#40;</span> <span style="color:#6E8885;">$oddcomment</span> <span style="color:#234365; font-weight:bold;">&#41;</span> <span style="color:#234365; font-weight:bold;">&#41;</span> ? <span style="color:#234365;">'class=&quot;alt&quot; '</span> : <span style="color:#234365;">''</span>;?&gt;<br />
<span style="color:#000000; font-weight:bold;">&lt;?php</span> endforeach; <span style="color:#008000;">/* end for each comment */</span> <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;/ol&gt;</div>
</div>
</div>
<p>
Un poco de estilo</p>
<div class="igBar"><span id="lcss-16"><a href="#" onclick="javascript:showPlainTxt('css-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-16">
<div class="css">ol<span style="color: #6666ff;">.commentlist </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">margin</span>:<span style="color: #cc66cc;color:#800000;">0</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">padding</span>:<span style="color: #cc66cc;color:#800000;">0</span>;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #6666ff;">.commentlist </span>li <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">margin-bottom</span>:8px;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span>: #60360b <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>http://www.yoursite.com/images/comment_arrows.gif<span style="color: #66cc66;">&#41;</span> <span style="color: #000000; font-weight: bold;">bottom</span> <span style="color: #993333;">no-repeat</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span>:#FFF;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">list-style</span>:<span style="color: #993333;">none</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span>:413px;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #6666ff;">.commentlist </span><span style="color: #6666ff;">.commenttext </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span>:<span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>http://www.yoursite.com/images/bg_paint.gif<span style="color: #66cc66;">&#41;</span> <span style="color: #993333;">no-repeat</span>;<br />
&nbsp; &nbsp; padding<span style="color: #3333ff;">:22px </span>22px 50px 22px;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #6666ff;">.commentlist </span>cite <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">display</span>:<span style="color: #993333;">block</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span>:#FFF;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-weight</span>:<span style="color: #993333;">bold</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">text-transform</span>:<span style="color: #993333;">uppercase</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-style</span>:<span style="color: #993333;">normal</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span>:<span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>http://www.yoursite.com/images/bg_cite_arrows.gif<span style="color: #66cc66;">&#41;</span> <span style="color: #000000; font-weight: bold;">bottom</span> <span style="color: #993333;">repeat-x</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">padding-bottom</span>:12px;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-size</span>:<span style="color: #cc66cc;color:#800000;">1</span>.1em;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #6666ff;">.commentlist </span>a:link, <span style="color: #6666ff;">.commentlist </span>a<span style="color: #3333ff;">:visited </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span>:#fff9b9;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #6666ff;">.commentlist </span>a:hover, <span style="color: #6666ff;">.commentlist </span>a<span style="color: #3333ff;">:active </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span>:#FFF;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #6666ff;">.commentlist </span><span style="color: #6666ff;">.date </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span>:#930e27;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">padding</span>:3px;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p>li<span style="color: #6666ff;">.alt </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span>:#836241 <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>http://www.yoursite.com/images/comment_arrows_alt.gif<span style="color: #66cc66;">&#41;</span> <span style="color: #000000; font-weight: bold;">bottom</span> <span style="color: #993333;">no-repeat</span>;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p>li<span style="color: #6666ff;">.alt </span><span style="color: #6666ff;">.commenttext </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span>:<span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span>http://www.yoursite.com/images/bg_paint_alt.gif<span style="color: #66cc66;">&#41;</span> <span style="color: #993333;">no-repeat</span>;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>&nbsp; &nbsp;</p>
<p>li<span style="color: #6666ff;">.alt </span><span style="color: #6666ff;">.date </span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span>:#67421c;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">padding</span>:3px;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</div>
</div>
<p>
<a href="http://www.darrenhoyt.com/downloads/comment_arrows.psd">Descarga PSD</a> original para este ejemplo  - Ampliar info y mas ejemplos <a href="http://www.darrenhoyt.com/2007/08/18/styling-your-wordpress-comments/">Styling Your WordPress Comments</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xyberneticos.com/index.php/2008/07/08/dar-estilo-a-tus-comentarios-wordpress/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Variar el estilo de nuestro blog según la hora de nuestros usuarios</title>
		<link>http://xyberneticos.com/index.php/2008/07/01/variar-el-estilo-de-nuestro-blog-segun-la-hora-de-nuestros-usuarios/</link>
		<comments>http://xyberneticos.com/index.php/2008/07/01/variar-el-estilo-de-nuestro-blog-segun-la-hora-de-nuestros-usuarios/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 05:03:04 +0000</pubDate>
		<dc:creator>Nikko</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Diseño Web]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://xyberneticos.com/index.php/2008/07/01/variar-el-estilo-de-nuestro-blog-segun-la-hora-de-nuestros-usuarios/</guid>
		<description><![CDATA[Stylesheet switcher with time!, una agradable truco que muestra como con unas simples líneas de código podremos añadir a nuestro blog cosas realmente originales, en este caso la idea es cambiar nuestra hoja de estilo dependiendo de la hora del reloj. El truco es realmente simple, se basa en crear tres hojas con estilos diferentes, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webdevlounge.com/articles/stylesheet-switcher-with-time/" target="_blank">Stylesheet switcher with time</a>!, una agradable truco que muestra como con unas simples líneas de código podremos añadir a nuestro blog cosas realmente originales, en este caso la idea es cambiar nuestra hoja de estilo dependiendo de la hora del reloj. El truco es realmente simple, se basa en crear tres hojas con estilos diferentes, uno para la mañana, otro para la tarde y otro para la noche. Luego simplemente añadimos este código en nuestro encabezado:<br />
<strong>Cambiamos </strong>esto:</p>
<div class="igBar"><span id="lhtml-19"><a href="#" onclick="javascript:showPlainTxt('html-19'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-19">
<div class="html"><span style="color: #606060;">&lt;link rel=”stylesheet” type=”text/css” href=”miestilo.css” /&gt;</span></div>
</div>
</div>
<p>
<strong>por esto</strong></p>
<div class="igBar"><span id="lhtml-20"><a href="#" onclick="javascript:showPlainTxt('html-20'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-20">
<div class="html"><span style="color: #606060;">&lt;link rel=”stylesheet” type=”text/css” href=”<br />
&lt;?php<br />
$hour = date(”H”);<br />
if ($hour &lt;12) echo “morning.css”;<br />
elseif ($hour &lt;20) echo “day.css”;<br />
else if ($hour &lt;4) echo “night.css”;<br />
?&gt;</span>”<br />
/&gt;</div>
</div>
</div>
<p>
En primer lugar, definimos la hora en la que deseamos que los estilos cambien. La hora del día está determinada por el ordenador del usuario. El resto es simple de entender. </p>
]]></content:encoded>
			<wfw:commentRss>http://xyberneticos.com/index.php/2008/07/01/variar-el-estilo-de-nuestro-blog-segun-la-hora-de-nuestros-usuarios/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Trucos útiles para wordpress</title>
		<link>http://xyberneticos.com/index.php/2008/06/16/trucos-utiles-para-wordpress/</link>
		<comments>http://xyberneticos.com/index.php/2008/06/16/trucos-utiles-para-wordpress/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 20:42:01 +0000</pubDate>
		<dc:creator>Nikko</dc:creator>
				<category><![CDATA[Diseño Web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://xyberneticos.com/index.php/2008/06/16/trucos-utiles-para-wordpress/</guid>
		<description><![CDATA[No hay dudas de lo que significa hoy para todo desarrollador wordpress, esta plataforma que se ha convertido en una de las más populares en Internet, y la que solemos utilizar frecuentemente sin importar cual sea el proyecto en el cual trabajaremos. Siempre mediante unas líneas de código adicionales, WordPress se adaptara a lo que [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src="http://xyberneticos.com/wp-content/uploads/2008/06/usertipswp.jpg" alt="usertipswp.jpg" /></p>
<p>No hay dudas de lo que significa hoy para todo desarrollador wordpress, esta plataforma que se ha convertido en una de las más populares en Internet, y la que solemos utilizar frecuentemente sin importar cual sea el proyecto en el cual trabajaremos. Siempre mediante unas líneas de código adicionales, WordPress se adaptara a lo que necesitemos. Evidentemente trabajar con frecuencia con wordpres nos lleva cada día a aprender nuevos trucos, tips, o formas de solucionar ciertos problemas de la forma mas rápida y practica, pero es obvio que es tanta la información que es imposible recordar cada uno de ellos en el momento que lo estamos necesitando. Seguramente es lo que te pasara a ti en algún momento al trabajar en el diseño de tu próximo theme wordpress. La gente de <a href="http://stylizedweb.com/2008/06/13/useful-wordpress-tricks/" target="_blank">Stylizedweb</a> estos días ha despertado pensando en ello, y ha publicado un post que nos será muy útil en ocasiones. En el encontraremos fragmentos reutilizables de códigos que todos necesitamos de vez en cuando.El artículo incluye tips para:</p>
<ul>
<li>Realización de una plantilla</li>
<li> Invertir orden de comentarios</li>
<li> Crear post Destacados</li>
<li> Incluir un archivo específico</li>
<li> Etiquetas condicional</li>
<li> Invertir el orden de post</li>
<li> Caracteres especiales</li>
<li> Y mas…</li>
</ul>
<p>Mas informacion <a href="http://stylizedweb.com/2008/06/13/useful-wordpress-tricks/" target="_blank">Useful wordpress tricks</a><br />
Ejemplo: <strong>Reverse comment order</strong></p>
<div class="igBar"><span id="lphp-22"><a href="#" onclick="javascript:showPlainTxt('php-22'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-22">
<div class="php"><span style="color:#000000; font-weight:bold;">&lt;?php</span> <span style="color:#6E8885;">$comments</span> = <a href="http://www.php.net/array_reverse"><span style="color:#000066;">array_reverse</span></a><span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$comments</span>, <span style="color:#000000; font-weight:bold;">true</span><span style="color:#234365; font-weight:bold;">&#41;</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&nbsp; &nbsp;<span style="color:#000000; font-weight:bold;">&lt;?php</span> <span style="color:#666665;">foreach</span> <span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$comments</span> <span style="color:#666665;">as</span> <span style="color:#6E8885;">$comment</span><span style="color:#234365; font-weight:bold;">&#41;</span> : <span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&nbsp; &nbsp;&nbsp;&nbsp;content here<br />
&nbsp; &nbsp;<span style="color:#000000; font-weight:bold;">&lt;?php</span> endforeach; <span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://xyberneticos.com/index.php/2008/06/16/trucos-utiles-para-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Setup Gravatars  &#8211; Cómo Integrar Gravatar a tu blog</title>
		<link>http://xyberneticos.com/index.php/2008/03/04/how-to-setup-gravatars-como-integrar-gravatar-a-tu-blog/</link>
		<comments>http://xyberneticos.com/index.php/2008/03/04/how-to-setup-gravatars-como-integrar-gravatar-a-tu-blog/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 01:49:12 +0000</pubDate>
		<dc:creator>Nikko</dc:creator>
				<category><![CDATA[Diseño Web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://xyberneticos.com/index.php/2008/03/04/how-to-setup-gravatars-como-integrar-gravatar-a-tu-blog/</guid>
		<description><![CDATA[Si han dejado algún comentario en el pasado, habrán notado que la opción para mostrar sus Gravatar estaba aun desactivada. Cada día al despertar me repetía, bueno hoy haré esto, corregiré esto otro, etc. La verdad es que siempre termino haciendo el 70% de lo que planeo cada día. Obviamente siempre por ser productivo en [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src="http://xyberneticos.com/wp-content/uploads/2008/03/integravatr.jpg" alt="integravatr.jpg" /></p>
<p>Si han dejado algún comentario en el pasado, habrán notado que la opción para mostrar sus Gravatar estaba aun desactivada. Cada día al despertar me repetía, bueno hoy haré esto, corregiré esto otro, etc. La verdad es que siempre termino haciendo el 70% de lo que planeo cada día. Obviamente siempre por ser productivo en mi trabajo diario y dedicar tiempo a cosas que considero mas importante. Pero bueno, hoy si he decidido corregir la opción que permita ver los gavatar en los comentarios (quizás por curiosidad de sus rostros), y creo que fue mi día de suerte, gracias a este post, lo hice en tan solo 5 segundos.<br />
<a href="http://www.connorwilson.com/2008/03/02/how_to_setup_gravatars_for_your_blog_-_plugin_free/"> How to Setup Gravatars for your Blog</a> , es un pequeño tips que nos servirá para agregar un avatar, una pequeña imagen asociada a un usuario, para ser precisos, a un correo electrónico. Lo genial, es que <a href="http://www.connorwilson.com/2008/03/02/how_to_setup_gravatars_for_your_blog_-_plugin_free/">no necesitaremos ningún plugin</a>,  y podremos adaptarlo sin problemas a WordPress, pero funcionan con cualquier sistema basado en PHP. Tan simple como abrir nuestro comments.php y  agregar el siguiente código donde deseamos implementar nuestro gravatar:</p>
<div class="igBar"><span id="lphp-24"><a href="#" onclick="javascript:showPlainTxt('php-24'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-24">
<div class="php"><span style="color:#000000; font-weight:bold;">&lt;?</span><br />
<span style="color:#6E8885;">$email</span> = <span style="color:#6E8885;">$comment</span>-&gt;<span style="color:#375D81;">comment_author_email</span>;<br />
<span style="color:#6E8885;">$default</span> = <span style="color:#234365;">""</span>; <span style="color:#979797; font-style:italic;">// link to your default avatar</span><br />
<span style="color:#6E8885;">$size</span> = <span style="color:#56685A;color:#800000;">62</span>; <span style="color:#979797; font-style:italic;">// size in pixels squared</span><br />
<span style="color:#6E8885;">$grav_url</span> = <span style="color:#234365;">"http://www.gravatar.com/avatar.php?gravatar_id=<br />
"</span> . <a href="http://www.php.net/md5"><span style="color:#000066;">md5</span></a><span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$email</span><span style="color:#234365; font-weight:bold;">&#41;</span> . <span style="color:#234365;">"&amp;default="</span> . <a href="http://www.php.net/urlencode"><span style="color:#000066;">urlencode</span></a><span style="color:#234365; font-weight:bold;">&#40;</span><span style="color:#6E8885;">$default</span><span style="color:#234365; font-weight:bold;">&#41;</span> . <span style="color:#234365;">"&amp;size="</span> . <span style="color:#6E8885;">$size</span>;<br />
<span style="color:#000000; font-weight:bold;">?&gt;</span><br />
&lt;img src=<span style="color:#234365;">"&lt;?=$grav_url ?&gt;"</span> height=<span style="color:#234365;">"&lt;?=$size ?&gt;"</span> width=<span style="color:#234365;">"&lt;?=$size ?&gt;"</span> alt=<span style="color:#234365;">"User Gravatar"</span> /&gt;</div>
</div>
</div>
<p>
Mas info <a href="http://www.connorwilson.com/2008/03/02/how_to_setup_gravatars_for_your_blog_-_plugin_free/"> How to Setup Gravatars for your Blog</a><br />
Fuente <a href="http://www.unblogged.net/?p=1553">Unblogged</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xyberneticos.com/index.php/2008/03/04/how-to-setup-gravatars-como-integrar-gravatar-a-tu-blog/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

