<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2spanishfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feed.eliseos.net/~d/styles/itemcontent.css"?><rss 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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Eliseos.net</title> <link>http://eliseos.net</link> <description>Wordpress, Diseño, jQuery and Coffee</description> <lastBuildDate>Mon, 06 Sep 2010 20:02:45 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feed.eliseos.net/EliseosNet" /><feedburner:info uri="eliseosnet" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>34.3500 </geo:lat><geo:long>58.2200 </geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:emailServiceId>EliseosNet</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/content?lg=es&amp;url=http%3A%2F%2Ffeed.eliseos.net%2FEliseosNet" src="http://eur.i1.yimg.com/eur.yimg.com/i/es/my/addto1.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.feedness.com/alta/http://feed.eliseos.net/EliseosNet" src="http://www.feedness.com/ayuda/wp-content/square_b_sh_feed.gif">Subscribe with Feedness</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeed.eliseos.net%2FEliseosNet" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feed.eliseos.net/EliseosNet" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeed.eliseos.net%2FEliseosNet" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeed.eliseos.net%2FEliseosNet" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeed.eliseos.net%2FEliseosNet" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:browserFriendly>Muchas gracias por suscribirte a Eliseos.net Esperamos que el contenido sea de tu agrado.</feedburner:browserFriendly><item><title>CSS3 Selectors para Internet Exploerer con Selectivizr</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/8fg5m9I4vQ8/</link> <comments>http://eliseos.net/css3-selectors-internet-exploerer-selectivizr/#comments</comments> <pubDate>Mon, 06 Sep 2010 20:02:45 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://eliseos.net/?p=3223</guid> <description><![CDATA[Selectivizr es una librería con la cual podemos emular muchos de los pseudo elementos y selectores presentes en CSS3 dentro de Internet Explorer 6-8. Como bien los debes saber el soporte para CSS3 dentro de IE es casi nulo]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="Selectivizr CSS3 selectors para IE" href="http://selectivizr.com/">Selectivizr</a> es una librería con la cual podemos <strong>emular</strong> muchos de los <strong>pseudo elementos y selectores presentes en CSS3</strong> dentro de <strong>Internet Explorer</strong> 6-8. Como bien los debes saber el <strong>soporte</strong> para CSS3 dentro de IE es <strong>casi nulo</strong>, por lo que esta es una buena opción a tener en cuenta a la hora de desarrollar un sitio y brindar la máxima compatibilidad entre navegadores posible.</p><p><span
id="more-3223"></span></p><p
style="text-align: center;"><a
href="http://selectivizr.com/"><img
class="alignnone size-full wp-image-3224" title="Selectivizr CSS3 selectors para IE" src="http://static.eliseos.net/wp-content/uploads/2010/09/Selectivizr.jpg" alt="Selectivizr CSS3 Selectors para Internet Exploerer con Selectivizr" width="600" height="250" /></a></p><p
style="text-align: left;">Solo debemos incluir la libreria en nuestro proyecto y Selectivizr realizar todo el trabajo por nosotros, añadiendo soporte para 19 pseudo classes y pseudo elementos. Selectivizr <strong>trabaja automáticamente</strong> una vez incluido y no necesita de <strong>ningun</strong> tipo de <strong>conocimiento</strong> en javascript para su funcionamiento, pero depende de fondo de otra librería, como ser jQuery, Mootools, etc.</p><p
style="text-align: left;">En caso de que javascript se encuentre desactivado, podemos realizar un <strong>fallback</strong> mediante el tag <em><code>&lt;noscript&gt;</code></em> para definir otra hoja de estilos para asegurarnos que todo funcione correctamente.</p><h2>Uso</h2><p
style="text-align: left;">Solo debemos incluir Selectivizr dentro de nuestro <em><code>&lt;head&gt;</code></em> y asegurarno de estar usando alguna de las librerias soportadas.</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;[JS library]&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!--[if (gte IE 6)&amp;(lte IE 8)]&gt;</span>
<span style="color: #808080; font-style: italic;">  &lt;script type=&quot;text/javascript&quot; src=&quot;selectivizr.js&quot;&gt;&lt;/script&gt;</span>
<span style="color: #808080; font-style: italic;">  &lt;noscript&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;[fallback css]&quot; /&gt;&lt;/noscript&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;![endif]--&gt;</span></pre></div></div><p
style="text-align: left;">Si te encuentras trabajando con <strong>múltiples</strong> librerías, Selectivizr seleccionara la <strong>más conveniente</strong> para brindar la mayor compatibilidad posible para los usuarios de Internet Explorer.</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=8fg5m9I4vQ8:QrmmBwjTXWc:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=8fg5m9I4vQ8:QrmmBwjTXWc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=8fg5m9I4vQ8:QrmmBwjTXWc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=8fg5m9I4vQ8:QrmmBwjTXWc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=8fg5m9I4vQ8:QrmmBwjTXWc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=8fg5m9I4vQ8:QrmmBwjTXWc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=8fg5m9I4vQ8:QrmmBwjTXWc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=8fg5m9I4vQ8:QrmmBwjTXWc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=8fg5m9I4vQ8:QrmmBwjTXWc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=8fg5m9I4vQ8:QrmmBwjTXWc:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=8fg5m9I4vQ8:QrmmBwjTXWc:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/8fg5m9I4vQ8" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/css3-selectors-internet-exploerer-selectivizr/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://eliseos.net/css3-selectors-internet-exploerer-selectivizr/</feedburner:origLink></item> <item><title>bxCarousel: Un carrusel para jQuery</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/FeRMBmJhAB8/</link> <comments>http://eliseos.net/bxcarousel-carrusel-pjquery/#comments</comments> <pubDate>Fri, 03 Sep 2010 23:24:47 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[slider]]></category><guid isPermaLink="false">http://eliseos.net/?p=3218</guid> <description><![CDATA[bxCarousel es otro carousel para jQuery bastante avanzado y simple de implementar a la vez. Con este plugin podemos controlar el numero de elementos a mostrar, cuantos elementos se animaran al mismo tiempo]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
href="http://bxcarousel.com/" title="bxCarousel jQuery Carousel Plugin">bxCarousel</a> es otro <strong>carousel para jQuery</strong> bastante avanzado y simple de implementar a la vez. Con este plugin podemos controlar el numero de elementos a mostrar, cuantos elementos se animaran al mismo tiempo, especificar el auto arranque del carousel y manejar los controles que se mostraran en él.</p><p><span
id="more-3218"></span></p><p
style="text-align: center;"><a
href="http://bxcarousel.com/"><img
src="http://static.eliseos.net/wp-content/uploads/2010/09/bxCarousel.jpg" alt="bxCarousel bxCarousel: Un carrusel para jQuery" title="bxCarousel jQuery Carousel Plugin" width="600" height="250" class="alignnone size-full wp-image-3219" /></a></p><p
style="text-align: left;">bxCarousel debe ser aplicado a una lista desordenada para que funcione, y po supuesto puede animar cualquier elemento, no solo imágenes.</p><h2>Implementación</h2><p
style="text-align: left;"><strong>HTML</strong></p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;example1&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>first piece of content<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>second piece of content<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>third piece of content<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>fourth piece of content<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>bxCarousel can accept an unlimited number of elements<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></pre></div></div><p
style="text-align: left;"><strong>jQuery</strong></p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#example1'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bxCarousel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
		display_num<span style="color: #339933;">:</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">,</span>
		move<span style="color: #339933;">:</span> <span style="color: #CC0000;">2</span><span style="color: #339933;">,</span>
		prev_image<span style="color: #339933;">:</span> <span style="color: #3366CC;">'images/icon_arrow_left.png'</span><span style="color: #339933;">,</span>
		next_image<span style="color: #339933;">:</span> <span style="color: #3366CC;">'images/icon_arrow_right.png'</span><span style="color: #339933;">,</span>
		margin<span style="color: #339933;">:</span> <span style="color: #CC0000;">10</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p
style="text-align: left;">Por ultimo bxCarousel se encuentra bajo una <strong>Licencia GPL</strong>.</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=FeRMBmJhAB8:z51YXNjR2vg:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=FeRMBmJhAB8:z51YXNjR2vg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=FeRMBmJhAB8:z51YXNjR2vg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=FeRMBmJhAB8:z51YXNjR2vg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=FeRMBmJhAB8:z51YXNjR2vg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=FeRMBmJhAB8:z51YXNjR2vg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=FeRMBmJhAB8:z51YXNjR2vg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=FeRMBmJhAB8:z51YXNjR2vg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=FeRMBmJhAB8:z51YXNjR2vg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=FeRMBmJhAB8:z51YXNjR2vg:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=FeRMBmJhAB8:z51YXNjR2vg:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/FeRMBmJhAB8" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/bxcarousel-carrusel-pjquery/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://eliseos.net/bxcarousel-carrusel-pjquery/</feedburner:origLink></item> <item><title>Efecto llamativo en el hover con CSS3</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/PQaudfumqJc/</link> <comments>http://eliseos.net/efecto-llamativo-hover-css3/#comments</comments> <pubDate>Fri, 03 Sep 2010 00:03:07 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[eliseos]]></category><guid isPermaLink="false">http://eliseos.net/?p=3203</guid> <description><![CDATA[Hace unos días atrás un lector me preguntaba como lograba el efecto que utilizo en el hover en cada link aquí en Eliseos.net. No se utiliza jQuery ni nada por el estilo, es solamente ]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Hace unos días atrás un lector me preguntaba como lograba el efecto que utilizo en el hover en cada link aquí en Eliseos.net. No se utiliza jQuery ni nada por el estilo, es solamente <strong>CSS3 lisa y llanamente</strong>. Por eso me decidí a escribir este tutorial.</p><p
style="text-align: center;"><img
src="http://static.eliseos.net/wp-content/uploads/2010/09/CSS3-hover.jpg" alt="CSS3 hover Efecto llamativo en el hover con CSS3" title="CSS3 hover efecto" width="600" height="250" class="alignnone size-full wp-image-3204" /></p><p><span
id="more-3203"></span></p><h1><a
href="http://eliseos.net/test/css3-hover">Demo </a>| Descargar <a
class="downloadlink" href="http://eliseos.net/downloads/css3-hover.zip" title=" downloaded 8 times" >CSS3 Hover (8)</a></h1><h2>Primer ejemplo</h2><p
style="text-align: left;">Vamos a recrear el efecto que utilizo aquí en mi blog, esquinas redondeadas y un color en el background con una sutil transición. Para este efecto solo vamos a necesitar hacer uso de: <em><code>transition-duration</code></em> y <em><code>border-radius</code></em>.</p><p
style="text-align: left;">Nuestro estilo:</p><div
class="wp_syntax"><div
class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#hover1</span> a<span style="color: #00AA00;">&#123;</span>
	transition-duration<span style="color: #00AA00;">:</span> .85s<span style="color: #00AA00;">;</span>
	-o-transition-duration<span style="color: #00AA00;">:</span> .85s<span style="color: #00AA00;">;</span>
	-moz-transition-duration<span style="color: #00AA00;">:</span> .85s<span style="color: #00AA00;">;</span>
	-webkit-transition-duration<span style="color: #00AA00;">:</span> .85s<span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#F5F4EB</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#996633</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#hover1</span> a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#996633</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><p
style="text-align: left;">Como queremos que se aprecie el color de fondo en la transición lo importante es darle un poco de espacio al link a través del <em><code>padding</code></em>.</p><h2>Segundo Ejemplo</h2><p
style="text-align: left;">Para este caso vamos a buscar un efecto &#8220;lupa&#8221; es decir que la animación en el hover muestre el link en una escala superior en un 20%. Solo tenemos que usar: <em><code>transition</code></em> con <em><code>ease-out</code></em> y <em><code>transform: scale</code></em>.</p><p
style="text-align: left;">Nuestro estilo:</p><div
class="wp_syntax"><div
class="code"><pre class="css" style="font-family:monospace;">	<span style="color: #cc00cc;">#hover2</span> a<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#996633</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	-webkit-transition<span style="color: #00AA00;">:</span> all .4s ease-in-out<span style="color: #00AA00;">;</span>
	-o-transition<span style="color: #00AA00;">:</span> all .4s ease-in-out<span style="color: #00AA00;">;</span>
	transition<span style="color: #00AA00;">:</span> all .4s ease-in-out<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> inline-<span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">visible</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
	<span style="color: #cc00cc;">#hover2</span> a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#996633</span><span style="color: #00AA00;">;</span>
	-webkit-transform<span style="color: #00AA00;">:</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">1.2</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-moz-transform<span style="color: #00AA00;">:</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">1.2</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	-o-transform<span style="color: #00AA00;">:</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">1.2</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	transform<span style="color: #00AA00;">:</span> scale<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">1.2</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">120</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><p
style="text-align: left;">La animación permitirá ver un efecto lupa al posicionar el mouse y volverá a su estado original con un sutil transición.</p><h2>Notas</h2><p
style="text-align: left;">Estos efectos no son compatibles con todos los navegadores ya que CSS3 no se encuentra estandarizado, de momento solo es compatible con <strong>Firefox 4.0, Chrome 8.0, Safari 5 y Opera 10.7</strong>.</p><p
style="text-align: left;">Si lo ves con otro navegador no podrás apreciar las transiciones y solo veras un hover comun, por asi llamarlo. Podes experimentar cambiando los valores en las transiciones para ajustar los tiempos y el comportamiento a tu gusto.</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=PQaudfumqJc:pxjQPtauRS0:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=PQaudfumqJc:pxjQPtauRS0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=PQaudfumqJc:pxjQPtauRS0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=PQaudfumqJc:pxjQPtauRS0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=PQaudfumqJc:pxjQPtauRS0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=PQaudfumqJc:pxjQPtauRS0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=PQaudfumqJc:pxjQPtauRS0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=PQaudfumqJc:pxjQPtauRS0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=PQaudfumqJc:pxjQPtauRS0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=PQaudfumqJc:pxjQPtauRS0:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=PQaudfumqJc:pxjQPtauRS0:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/PQaudfumqJc" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/efecto-llamativo-hover-css3/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://eliseos.net/efecto-llamativo-hover-css3/</feedburner:origLink></item> <item><title>Utiliza tus librerias favoritas con Cached Commons</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/JjlgAIqMXGY/</link> <comments>http://eliseos.net/utiliza-librerias-favoritas-cached-commons/#comments</comments> <pubDate>Tue, 31 Aug 2010 23:47:42 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[javascript]]></category><guid isPermaLink="false">http://eliseos.net/?p=3198</guid> <description><![CDATA[Cached Commons es una colección de librerías en javascript hosteadas en Github con la gran ventaja de ya encontrarse comprimidas, optimizadas y posible ya se encuentran en tu cache]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="Cached Commons" href="http://cachedcommons.org/">Cached Commons</a> es una <strong>colección de librerías en javascript</strong> hosteadas en Github con la gran ventaja de ya encontrarse comprimidas, optimizadas y posiblemente ya se encuentran en tu cache.</p><p
style="text-align: center;"><img
class="alignnone size-full wp-image-3199" title="Cached Commons" src="http://static.eliseos.net/wp-content/uploads/2010/08/Cached-Commons.gif" alt="Cached Commons Utiliza tus librerias favoritas con Cached Commons" width="600" height="250" /></p><p><span
id="more-3198"></span></p><p
style="text-align: left;">La idea de fondo es linkear directamente estas librerías en nuestro proyecto y usar <strong>Github</strong> como un <strong>CDN</strong>. Con todo esto estaremos ganando<strong> estabilidad y performance</strong>.</p><p
style="text-align: left;">Cada libreria se encuentra optimizada y comprimida con Gzip. El proyecto cuenta con mas de 100 librerías listas para usar, en el caso que no encuentres la que necesitas siempre puedes pedirle a Cached Commons que la incluyan en un futuro.</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=JjlgAIqMXGY:QqmToJQfFjA:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=JjlgAIqMXGY:QqmToJQfFjA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=JjlgAIqMXGY:QqmToJQfFjA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=JjlgAIqMXGY:QqmToJQfFjA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=JjlgAIqMXGY:QqmToJQfFjA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=JjlgAIqMXGY:QqmToJQfFjA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=JjlgAIqMXGY:QqmToJQfFjA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=JjlgAIqMXGY:QqmToJQfFjA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=JjlgAIqMXGY:QqmToJQfFjA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=JjlgAIqMXGY:QqmToJQfFjA:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=JjlgAIqMXGY:QqmToJQfFjA:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/JjlgAIqMXGY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/utiliza-librerias-favoritas-cached-commons/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://eliseos.net/utiliza-librerias-favoritas-cached-commons/</feedburner:origLink></item> <item><title>Un Tweet Button mas rapido</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/NrUkTjveRow/</link> <comments>http://eliseos.net/tweet-button-mas-rapido/#comments</comments> <pubDate>Mon, 30 Aug 2010 20:04:59 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[botones]]></category> <category><![CDATA[twitter]]></category><guid isPermaLink="false">http://eliseos.net/?p=3189</guid> <description><![CDATA[Como lo debes saber hace ya unas semanas atrás salio el botón oficial de Twitter para compartir tus entradas a lo largo de la red, es mas aquí en Eliseos ya he hablado de como como insertar el Tweet button oficial en Wordpress. ]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Como lo debes saber hace ya unas semanas atrás salio el botón oficial de Twitter para compartir tus entradas a lo largo de la red, es mas aquí en Eliseos ya he hablado de como como <a
href="http://eliseos.net/?p=3129">insertar el Tweet button oficial en WordPress</a>. Esta ves desde webresourcesdepot nos acercan una <strong>versión no oficial que gana en performance</strong>.</p><p
style="text-align: center;"><img
class="alignnone size-full wp-image-3190" title="Faster And Fault-Proof Tweet Button" src="http://static.eliseos.net/wp-content/uploads/2010/08/faster-tweet-button.jpg" alt="faster tweet button Un Tweet Button mas rapido" width="480" height="150" /></p><p><span
id="more-3189"></span></p><p
style="text-align: left;"><p>Como el botón oficial <strong>hace un request por cada impresión</strong>, puede resultar un poco &#8220;no practico&#8221; cuando queremos tener una sitio lo más veloz posible. Este nuevo botón no realiza <strong>ningún request hasta que no se hace click</strong>. Una vez hecho click el botón, este enviá desde el lado del servidor el titulo y la URL a Twitter para que el lector envié su Tweet.</p><p
style="text-align: left;">Sus ventajas son que no carga <strong>ningún tipo de JS extra</strong> en tu sitio y actuá de forma pasiva hasta que se hace click, lo que nos da una mejor performance. El botón al momento de enviar el tweet crea un URL corta con el API de <strong>Bit.ly</strong> si existe algun tipo de  error, creara otra URL con <strong>Tinyurl</strong>, y en caso de que surja otro error enviara la URL original de la entrada.</p><p
style="text-align: left;">Por el otro lado como no trabaja con ningún script <strong>no es posible mostrar el numero de retweets</strong>.</p><p
style="text-align: left;">En <a
title="Faster And Fault-Proof Tweet Button" href="http://www.webresourcesdepot.com/faster-and-fault-proof-tweet-button">webresourcesdepot</a> encontraras un Demo, junto con el código necesario para implementar el botón y también las instrucciones para que lo implementes en tu instalación de WordPress.</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=NrUkTjveRow:XXDcst6HN8o:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=NrUkTjveRow:XXDcst6HN8o:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=NrUkTjveRow:XXDcst6HN8o:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=NrUkTjveRow:XXDcst6HN8o:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=NrUkTjveRow:XXDcst6HN8o:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=NrUkTjveRow:XXDcst6HN8o:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=NrUkTjveRow:XXDcst6HN8o:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=NrUkTjveRow:XXDcst6HN8o:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=NrUkTjveRow:XXDcst6HN8o:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=NrUkTjveRow:XXDcst6HN8o:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=NrUkTjveRow:XXDcst6HN8o:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/NrUkTjveRow" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/tweet-button-mas-rapido/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <feedburner:origLink>http://eliseos.net/tweet-button-mas-rapido/</feedburner:origLink></item> <item><title>Muestra tus entradas fuera de la instalacion de WordPress</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/viFw3RclewA/</link> <comments>http://eliseos.net/muestra-entradas-fuera-instalacion-wordpress/#comments</comments> <pubDate>Thu, 26 Aug 2010 03:09:02 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[cms]]></category> <category><![CDATA[hack]]></category><guid isPermaLink="false">http://eliseos.net/?p=3183</guid> <description><![CDATA[Hay veces que necesitamos mostrar data de una instalación de Wordpress pero nos encontramos fuera de Wordpress. Por ejemplo en nuestro index tenemos un archivo HMTL con la presentación de nuestra empresa]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Hay veces que necesitamos <strong>mostrar data de una instalación</strong> de WordPress pero nos encontramos <strong>fuera de WordPress</strong>. Por ejemplo en nuestro index tenemos un archivo HMTL con la presentación de nuestra empresa, y en la carpeta Blog tenemos la instalación de WordPress. Y lo que necesitamos mostrar es en nuestro index los últimos post que escribimos en el Blog.</p><p
style="text-align: center;"><img
src="http://static.eliseos.net/wp-content/uploads/2010/08/Mostra-tus-entradas-fuera-de-la-instalacion-de-WordPress.jpg" alt="Mostra tus entradas fuera de la instalacion de WordPress Muestra tus entradas fuera de la instalacion de WordPress" title="Mostra entradas fuera instalacion WordPress" width="600" height="250" class="alignnone size-full wp-image-3184" /></p><p
style="text-align: left;">Una salida poco elegante seria <strong>embeber el feed</strong> de nuestro Blog y luego hacer el pasaje, pero los chicos Cool hacemos otra cosa, lo hacemos mas simple, usamos: <strong>wp-load.php</strong> que nos permite acceder a la info de WordPress sin sobresaltos.</p><p
style="text-align: left;">Supongamos que en nuestro index queremos mostrar las <strong>ultimas 6 entradas</strong> que se escribieron en el Blog, solo necesitamos incluir estas lineas donde necesitamos mostrar las entradas:</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: #b1b100;">require</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'../blog/wp-load.php'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//ruta a wp-load.php</span>
  <span style="color: #666666; font-style: italic;">// Asegurate que la ruta sea la correcta</span>
&nbsp;
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;h3&gt;Últimos post desde el Blog&lt;/h3&gt;'</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;ul&gt;'</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$number</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">6</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// cantidad de entradas a mostrar</span>
  <span style="color: #000088;">$recent_posts</span> <span style="color: #339933;">=</span> wp_get_recent_posts<span style="color: #009900;">&#40;</span><span style="color: #000088;">$number</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// obtener los post por ID y ordenar de manera descendente</span>
  <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$recent_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;li&gt;&lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ID&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_title&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt; &lt;p&gt; '</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_excerpt&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/p&gt; &lt;/li&gt;'</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/ul&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p
style="text-align: left;">Como lo podes ver estoy incluyendo solo la intro de cada post, es decir el <em><code>excerpt</code></em>, pero si lo necesitas podes cargar todo el contenido del post, solo debes reemplazar <em><code>post_excerpt</code></em> por <em><code>post_content</code></em>.</p><p
style="text-align: left;">Este método responde a todas las variables localizadas dentro de la funcion <a
href="http://codex.wordpress.org/Function_Reference/get_post">get post()</a> por lo que podemos mostrar <strong>casi cualquier data</strong> que necesitemos, por ejemplo: la fecha, los tags, cantidad de comentarios, etc.</p><p
style="text-align: left;">Código ligeramente modificado de <a
href="http://snipplr.com/view/39526/pulling-posts-from-outside-wordpress-in-the-right-way/">Snipplr</a></p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=viFw3RclewA:dB8Qutw2XPY:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=viFw3RclewA:dB8Qutw2XPY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=viFw3RclewA:dB8Qutw2XPY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=viFw3RclewA:dB8Qutw2XPY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=viFw3RclewA:dB8Qutw2XPY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=viFw3RclewA:dB8Qutw2XPY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=viFw3RclewA:dB8Qutw2XPY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=viFw3RclewA:dB8Qutw2XPY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=viFw3RclewA:dB8Qutw2XPY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=viFw3RclewA:dB8Qutw2XPY:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=viFw3RclewA:dB8Qutw2XPY:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/viFw3RclewA" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/muestra-entradas-fuera-instalacion-wordpress/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://eliseos.net/muestra-entradas-fuera-instalacion-wordpress/</feedburner:origLink></item> <item><title>Fechas relativas y español dentro de Tumblr</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/mat7zFHsUzw/</link> <comments>http://eliseos.net/fechas-relativas-espanol-dentro-tumblr/#comments</comments> <pubDate>Tue, 24 Aug 2010 02:07:30 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[fechas]]></category> <category><![CDATA[Tumblr]]></category><guid isPermaLink="false">http://eliseos.net/?p=3170</guid> <description><![CDATA[Una de las desventajas de Trabajar en Tumbrl es que no contamos con la posibilidad de trabajar en Español nativamente, por lo que las fechas y otras secciones se encontraran siempre en ingles]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Una de las desventajas de trabajar en Tumbrl es que no contamos con la posibilidad de trabajar en <strong>Español</strong> nativamente, por lo que las fechas y otras secciones se encontraran siempre en ingles (también creo que en otros idiomas, pero nunca en español). Justo hoy @AGUCAMPOS preguntaba como tener fechas en español dentro Tumblr.</p><p
style="text-align: center;"><img
src="http://static.eliseos.net/wp-content/uploads/2010/08/fechas-relativas-espanol-tumblr.jpg" alt="fechas relativas espanol tumblr Fechas relativas y español dentro de Tumblr" title="fechas relativas espanol tumblr" width="600" height="250" class="alignnone size-full wp-image-3171" /></p><p><span
id="more-3170"></span></p><p
style="text-align: left;">Hace unos días les comentaba de la tenencia a usar <strong>fechas relativas</strong> en lugar de las fechas comunes, es decir mostrar <strong>&#8220;hace 4 dias&#8221;</strong> en lugar de &#8220;19 de Agosto&#8221; por decir un ejemplo.</p><p
style="text-align: left;">En Tumblr contamos con el bloque <em><code>{TimeAgo}</code></em> pero como lo mencione arriba, siempre se encuentra en ingles. La idea es obtener esa fecha relativa en español. Una manera nativa de lograrlo seria a través del <strong>API de Tumblr</strong> e ir obteniendo los valores de las fechas y traducirlos &#8220;on the go&#8221;, pero podría ser un tanto confuso para algunos.</p><p
style="text-align: left;">Por ese decidí usar el plugin <a
href="http://timeago.yarp.com/">Timeago</a> para <strong>jQuery</strong> que nos sirve para lo que vamos a buscar.</p><h2>Consideraciones Previas</h2><p
style="text-align: left;">Como saben Tumblr <strong>trabaja en bloques</strong>, por lo que una fecha puede lucir de la siguiente forma:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span> Hoy es {DayOfWeek}, {DayOfMonth} {Month} {Year} <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span></pre></div></div><p
style="text-align: left;">Lo que se leería:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span> Hoy es Wednesday, 23 July 2010 <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span></pre></div></div><p
style="text-align: left;">Como buscamos trabajar con fechas relativas, lo ideal seria que podamos leer (en español):</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span> hace un mes atrás <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span></pre></div></div><p
style="text-align: left;">Una vez que entendemos como trabaja Tumblr con las fechas podemos continuar.</p><h2>Primer paso</h2><p
style="text-align: left;">El plugin Timeago para poder darnos fechas relativas exactas necesita que se le proporcione un timestamp <a
href="http://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a>. Como Tumblr no lo proporciona, lo vamos a crear. Un timestamp ISO_8601 luce de la siguiente forma:</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">YYYY-MM-DDTHH:MM:SSZ | 2010-08-22T21:20:42Z</pre></div></div><p
style="text-align: left;">Lo primero que vamos necesitar, es hacer una ligera modificación al formato de la fecha que queremos mostrar dentro de tu Theme. Para esto solo debemos seguir el siguiente formato:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;timeago&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24HourWithZero}:{Minutes}:{Seconds}Z&quot;</span>&gt;</span> {Month} {DayOfMonth}, {Year} <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span></pre></div></div><p
style="text-align: left;">Lo importante aquí es declarar un <strong>class</strong> <em><code>.timeago</code></em> y respetar el formato de la fecha en la etiqueta <em><code>title</code></em>. Dentro del anchor <em><code>&lt;span&gt;</code></em> volví a declarar la fecha para que en caso de que <strong>Javascript se encuentre desactivado</strong> podamos ver la fecha original (en ingles).</p><h2>Segundo paso</h2><p
style="text-align: left;">Una ves hechos los ajustes a nuestro titulo, necesitaremos hacer el llamado correspondiente al plugin: dentro de nuestro <em><code>&lt;head&gt;</code></em></p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://code.jquery.com/jquery-latest.js&quot;</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span> //jQuery
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://timeago.yarp.com/jquery.timeago.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span> //Timeago.js</pre></div></div><p
style="text-align: left;">Y la configuración necesaria para que las fechas nos figuren en español</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
jQuery<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    jQuery.<span style="color: #660066;">timeago</span>.<span style="color: #660066;">settings</span>.<span style="color: #660066;">strings</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
        prefixAgo<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;hace&quot;</span><span style="color: #339933;">,</span>
        prefixFromNow<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;dentro de&quot;</span><span style="color: #339933;">,</span>
        suffixAgo<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span>
        suffixFromNow<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span>
        seconds<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;menos de un minuto&quot;</span><span style="color: #339933;">,</span>
        minute<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;un minuto&quot;</span><span style="color: #339933;">,</span>
        minutes<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;unos %d minutos&quot;</span><span style="color: #339933;">,</span>
        hour<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;una hora&quot;</span><span style="color: #339933;">,</span>
        hours<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;%d horas&quot;</span><span style="color: #339933;">,</span>
        day<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;un día&quot;</span><span style="color: #339933;">,</span>
        days<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;%d días&quot;</span><span style="color: #339933;">,</span>
        month<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;un mes&quot;</span><span style="color: #339933;">,</span>
        months<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;%d meses&quot;</span><span style="color: #339933;">,</span>
        year<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;un año&quot;</span><span style="color: #339933;">,</span>
        years<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;%d años&quot;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
    jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;span.timeago&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">timeago</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #006600; font-style: italic;">//definimos nuestro anchor, para este ej: &lt;span&gt;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p
style="text-align: left;">Solo debes indicar que <strong>anchor</strong> estarás usando, guardar los cambios en tu Theme y ahora tus fechas deberían estar en un formato relativo y en español.</p><p
style="text-align: left;">Ahora cada vez que entres a Tumblr veras una fecha como:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span> hace menos de un minuto <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span> hace 3 días <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span> hace un mes atrás <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span> hace un año atrás <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span></pre></div></div><p
style="text-align: left;">A mi entender esto es una solución temporaria, ya que creo que dentro de poco podremos contar con Tumblr en español, dado ya hay varios idiomas oficializados aparte del ingles, solo falta el español.</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=mat7zFHsUzw:jDdoisqCbRA:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=mat7zFHsUzw:jDdoisqCbRA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=mat7zFHsUzw:jDdoisqCbRA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=mat7zFHsUzw:jDdoisqCbRA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=mat7zFHsUzw:jDdoisqCbRA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=mat7zFHsUzw:jDdoisqCbRA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=mat7zFHsUzw:jDdoisqCbRA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=mat7zFHsUzw:jDdoisqCbRA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=mat7zFHsUzw:jDdoisqCbRA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=mat7zFHsUzw:jDdoisqCbRA:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=mat7zFHsUzw:jDdoisqCbRA:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/mat7zFHsUzw" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/fechas-relativas-espanol-dentro-tumblr/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://eliseos.net/fechas-relativas-espanol-dentro-tumblr/</feedburner:origLink></item> <item><title>Un CAPTCHA condicional para WordPress</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/WGvOHWBC2pM/</link> <comments>http://eliseos.net/captcha-condicional-wordpress/#comments</comments> <pubDate>Mon, 23 Aug 2010 21:16:37 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[comentarios]]></category><guid isPermaLink="false">http://eliseos.net/?p=3162</guid> <description><![CDATA[Seguramente en tu Blog tendrás algun tipo de plugin Anti-Spam, en mi caso uso desde que comencé aquí en Eliseos utilizo Akismet. Uno de los problemas de Akismet o Typad AntiSpam es que ocasiones nos suelen dar "falsos positivos]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Seguramente en tu Blog tendrás algun tipo de<strong> plugin Anti-Spam</strong>, en mi caso uso desde que comencé aquí en Eliseos utilizo Akismet. Uno de los problemas de Akismet o Typad AntiSpam es que ocasiones nos suelen dar &#8220;falsos positivos&#8221; es decir comentarios que son marcados como Spam, pero en realidad no lo son.</p><p
style="text-align: center;"><a
href="http://wordpress.org/extend/plugins/wp-conditional-captcha/"><img
class="alignnone size-full wp-image-3163" title="Conditional CAPTCHA for WordPress" src="http://static.eliseos.net/wp-content/uploads/2010/08/Conditional-CAPTCHA-for-WordPress.png" alt="Conditional CAPTCHA for WordPress Un CAPTCHA condicional para Wordpress" width="550" height="113" /></a></p><p><span
id="more-3162"></span></p><p
style="text-align: left;">Generalmente los que usamos Akismet tendemos a revisar los comentarios marcados como Spam de ves en cuando para ver si existen estos &#8220;falsos positivos&#8221;.</p><p
style="text-align: left;">Con el plugin <a
href="http://wordpress.org/extend/plugins/wp-conditional-captcha">Conditional CAPTCHA</a> nos evitamos de tener comentarios marcados como Spam, cuando no lo son. Como? Simple, el plugin introduce un CAPTCHA condicional, es decir:</p><ul><li>Si Akismet o TypePad AntiSpam detectan un comentario como Spam, el plugin mostrara un CATPCHA para verificar que el que comenta es humano.</li><li>Si fallan en el CAPTCHA el plugin moverá el comentario a la papelera o lo borrara (configurable).</li><li>Si se introduce el CAPTCHA correcto el comentario se aprobara o quedara en la cola de revision (configurable).</li><li>Y aquellos &#8220;comentadores&#8221; validos no verán ningún tipo de CAPTCHA.</li></ul><p
style="text-align: left;">El CAPTCHA que utiliza este plugin es uno muy simple, pero si lo queremos podes usar el famoso <a
href="http://recaptcha.net">reCAPTCHA</a> para contar con mas seguridad.</p><p
style="text-align: left;">El único requerimiento que debes cumplir es contar con <a
href="http://akismet.com">Akismet</a> o <a
href="http://antispam.typepad.com">TypePad AntiSpam</a> instalados para que el plugin pueda funcionar.</p><div
id="_mcePaste" style="position: absolute; left: -10000px; top: 33px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Akismet and TypePad AntiSpam</div> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=WGvOHWBC2pM:Le1Ly3QnBAc:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=WGvOHWBC2pM:Le1Ly3QnBAc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=WGvOHWBC2pM:Le1Ly3QnBAc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=WGvOHWBC2pM:Le1Ly3QnBAc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=WGvOHWBC2pM:Le1Ly3QnBAc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=WGvOHWBC2pM:Le1Ly3QnBAc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=WGvOHWBC2pM:Le1Ly3QnBAc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=WGvOHWBC2pM:Le1Ly3QnBAc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=WGvOHWBC2pM:Le1Ly3QnBAc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=WGvOHWBC2pM:Le1Ly3QnBAc:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=WGvOHWBC2pM:Le1Ly3QnBAc:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/WGvOHWBC2pM" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/captcha-condicional-wordpress/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://eliseos.net/captcha-condicional-wordpress/</feedburner:origLink></item> <item><title>Fechas mas amigables en WordPress</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/_NIstFu3ASs/</link> <comments>http://eliseos.net/fechas-amigables-wordpress/#comments</comments> <pubDate>Fri, 20 Aug 2010 22:54:37 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[fechas]]></category><guid isPermaLink="false">http://eliseos.net/?p=3157</guid> <description><![CDATA[Hay una pequeña tendencia en la red a usar fechas relativas en lugar de fechas comunes para hacer nuestro sitio un poco mas user-friendly. Hace un tiempo atrás les explicaba como trabajar con fechas relativas en WordPress mediante un método muy sencill]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Hay una pequeña tendencia en la red a usar<strong> fechas relativas</strong> en lugar de fechas comunes para hacer nuestro sitio un poco mas <strong>user-friendly</strong>. Hace un tiempo atrás les explicaba como <a
title="Trabajando con fechas relativas en WordPress" href="http://eliseos.net/?p=2806">trabajar con fechas relativas en WordPress</a> mediante un método muy sencillo, pero quizás un tanto limitado.</p><p
style="text-align: center;"><a
href="http://wordpress.org/extend/plugins/date-in-a-nice-tone/"><img
class="alignnone size-full wp-image-3158" title="Fechas mas amigables en WordPress" src="http://static.eliseos.net/wp-content/uploads/2010/08/fechas-amigables-en-WordPress.jpg" alt="fechas amigables en WordPress Fechas mas amigables en Wordpress" width="600" height="250" /></a></p><p
style="text-align: left;">Hoy, desde WPCandy nos comentan sobre un <a
title="Fechas mas amigables en WordPress" href="http://wordpress.org/extend/plugins/date-in-a-nice-tone/">plugin para llevar esas fechas relativas</a> a un escalón más, y así tener mas control sobre las mismas.</p><p
style="text-align: left;">La idea de este plugin es cambiar el formato de la fecha original, por ejemplo:</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">Posted August 19, 2010</pre></div></div><p
style="text-align: left;">A una mas amigable:</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">Posted yesterday</pre></div></div><p
style="text-align: left;">Una vez instalado el plugin y hecho su llamado correspondiente, la fecha se reflejara según el periodo de tiempo transcurrido, por ejemplo:</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">Más de 3 años = &quot;quite a long while ago...&quot;
Más de 6 meses = &quot;about half a year ago&quot;
Más de una hora = &quot;freshly baked&quot;
Y asi en adelante.</pre></div></div><p
style="text-align: left;">Para integrarlo en nuestro Theme solo debemos reemplazar la fecha original que queremos sobre-escribir, generalmente:</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> the_time<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'d M, Y'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p
style="text-align: left;">Por nuestra nueva fecha:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span> wp_date_in_a_nice_tone<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p
style="text-align: left;">Este es un plugin básico, pero poderoso. Digo básico por que no cuenta con un panel de control, por lo cual para tener nuestras fechas en castellano, vamos a necesitar editar el plugin por nosotros mismos; pero es algo que solo nos lleva unos minutos.</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=_NIstFu3ASs:8VbGcAYHJX8:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=_NIstFu3ASs:8VbGcAYHJX8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=_NIstFu3ASs:8VbGcAYHJX8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=_NIstFu3ASs:8VbGcAYHJX8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=_NIstFu3ASs:8VbGcAYHJX8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=_NIstFu3ASs:8VbGcAYHJX8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=_NIstFu3ASs:8VbGcAYHJX8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=_NIstFu3ASs:8VbGcAYHJX8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=_NIstFu3ASs:8VbGcAYHJX8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=_NIstFu3ASs:8VbGcAYHJX8:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=_NIstFu3ASs:8VbGcAYHJX8:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/_NIstFu3ASs" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/fechas-amigables-wordpress/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://eliseos.net/fechas-amigables-wordpress/</feedburner:origLink></item> <item><title>Eliminar tags en desuso dentro de WordPress</title><link>http://feed.eliseos.net/~r/EliseosNet/~3/eBnyuo2Xbds/</link> <comments>http://eliseos.net/eliminar-tags-desuso-dentro-wordpress/#comments</comments> <pubDate>Wed, 18 Aug 2010 03:52:49 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://eliseos.net/?p=3151</guid> <description><![CDATA[Una de las buenas costumbres que hay que tener en cuenta para preservar y mantener en buena salud de la instalación de Wordpress es la usar la menor cantidad de Tags posibles. Para algunos personas esto es muy fácil de llevar]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Una de las buenas costumbres que hay que tener en cuenta para <strong>preservar y mantener en buena salud</strong> de la instalación de WordPress es la usar la <strong>menor cantidad de Tags</strong> posibles. Para algunos personas esto es muy fácil de llevar, pero otras personas tienden a etiquetar en cantidades astronómicas y con esto llenar la base de datos con excesivas tablas.</p><p
style="text-align: center;"><img
src="http://static.eliseos.net/wp-content/uploads/2010/08/borrar-tags-SQL-WordPress.jpg" alt="borrar tags SQL WordPress Eliminar tags en desuso dentro de Wordpress" title="borrar tags SQL WordPress" width="500" height="250" class="alignnone size-full wp-image-3152" /></p><p
style="text-align: left;">Con esta pequeña <strong>consulta SQL</strong> lo que va a hacer es deshacernos de todos aquellos Tags que no se encuentran en uso para contribuir al bienestar de nuestra base de datos.</p><p
style="text-align: left;">Una vez logueado en <strong>phpMyAdmin</strong> y dentro de la base de datos de nuestra instalación generaremos la siguiente consulta:</p><div
class="wp_syntax"><div
class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">DELETE</span> a<span style="color: #66cc66;">,</span>b<span style="color: #66cc66;">,</span>c
<span style="color: #993333; font-weight: bold;">FROM</span>
	wordpress<span style="color: #66cc66;">.</span>wp_terms <span style="color: #993333; font-weight: bold;">AS</span> a
	<span style="color: #993333; font-weight: bold;">LEFT</span> <span style="color: #993333; font-weight: bold;">JOIN</span> wordpress<span style="color: #66cc66;">.</span>wp_term_taxonomy <span style="color: #993333; font-weight: bold;">AS</span> c <span style="color: #993333; font-weight: bold;">ON</span> a<span style="color: #66cc66;">.</span>term_id <span style="color: #66cc66;">=</span> c<span style="color: #66cc66;">.</span>term_id
	<span style="color: #993333; font-weight: bold;">LEFT</span> <span style="color: #993333; font-weight: bold;">JOIN</span> wordpress<span style="color: #66cc66;">.</span>wp_term_relationships <span style="color: #993333; font-weight: bold;">AS</span> b <span style="color: #993333; font-weight: bold;">ON</span> b<span style="color: #66cc66;">.</span>term_taxonomy_id <span style="color: #66cc66;">=</span> c<span style="color: #66cc66;">.</span>term_taxonomy_id
<span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #66cc66;">&#40;</span>
	c<span style="color: #66cc66;">.</span>taxonomy <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'post_tag'</span> <span style="color: #993333; font-weight: bold;">AND</span>
	c<span style="color: #66cc66;">.</span>count <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span>
	<span style="color: #66cc66;">&#41;</span></pre></div></div><p
style="text-align: left;">En el ejemplo de arriba estoy haciendo referencia a una base de datos llamada simplemente <em><code>wordpress</code></em> y cuyo prefijo de instalación es <em><code>wp_</code></em> Obviamente vas a necesitar reemplazar el nombre de la base de datos por la tuya, como así también el prefijo (en caso que lo hallas cambiado durante la instalación de WordPress).</p><p
style="text-align: left;">Como se puede apreciar <em><code>count = 0</code></em> hace referencia a Tags que no están en uso, si lo querés poder cambiar este valor a <strong>1</strong> y así eliminara Tags que solo se usaron una sola vez.</p><p
style="text-align: left;">Como siempre digo: Cuando trabajamos con este tipo de consultas SQL <strong>siempre, pero siempre realiza un backup de la base datos</strong> en caso de que algo no salga como lo esperamos.</p><p
style="text-align: left;">Visto en los <a
href="http://wordpress.org/support/topic/sql-query-to-delete-all-tags#post-1248204">foros</a> de WordPress</p> <div class="feedflare">
<a href="http://feed.eliseos.net/~ff/EliseosNet?a=eBnyuo2Xbds:Eq2HKIeXyiA:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=eBnyuo2Xbds:Eq2HKIeXyiA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=eBnyuo2Xbds:Eq2HKIeXyiA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/EliseosNet?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=eBnyuo2Xbds:Eq2HKIeXyiA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=eBnyuo2Xbds:Eq2HKIeXyiA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=eBnyuo2Xbds:Eq2HKIeXyiA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=eBnyuo2Xbds:Eq2HKIeXyiA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=eBnyuo2Xbds:Eq2HKIeXyiA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=eBnyuo2Xbds:Eq2HKIeXyiA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feed.eliseos.net/~ff/EliseosNet?a=eBnyuo2Xbds:Eq2HKIeXyiA:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/EliseosNet?i=eBnyuo2Xbds:Eq2HKIeXyiA:-BTjWOF_DHI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/EliseosNet/~4/eBnyuo2Xbds" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://eliseos.net/eliminar-tags-desuso-dentro-wordpress/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://eliseos.net/eliminar-tags-desuso-dentro-wordpress/</feedburner:origLink></item> </channel> </rss><!-- Served from: eliseos.net @ 2010-09-07 01:46:25 by W3 Total Cache -->
