<?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>Pablo Viale &#187; WordPress</title>
	<atom:link href="http://www.viale.mx/index.php/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.viale.mx</link>
	<description>Consejos para diseño y desarrollo de aplicaciones web</description>
	<lastBuildDate>Wed, 29 Jun 2011 22:18:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Plug-in de WordPress para iPhone y Android</title>
		<link>http://www.viale.mx/2010/04/29/plug-in-de-wordpress-para-iphone-y-android/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=plug-in-de-wordpress-para-iphone-y-android</link>
		<comments>http://www.viale.mx/2010/04/29/plug-in-de-wordpress-para-iphone-y-android/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 19:10:23 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.mx/2010/04/29/plug-in-de-wordpress-para-iphone-y-android/</guid>
		<description><![CDATA[Cuando un visitante ingresa a un sitio web, el servidor puede identificar qué navegador está utilizando, y de esa forma entregar distintas versiones del mismo portal. El plug-in del cual hablaré en este artículo está desarrollado para instalarse en los blogs de WordPress, e identifica cuando alguien ingresa con un iPhone, iPod touch o Android [...]]]></description>
			<content:encoded><![CDATA[<p>Cuando un visitante ingresa a un sitio web, el servidor puede identificar qué navegador está utilizando, y de esa forma entregar distintas versiones del mismo portal.</p>
<p>El plug-in del cual hablaré en este artículo está desarrollado para instalarse en los blogs de WordPress, e identifica cuando alguien ingresa con un iPhone, iPod touch o Android para entregar una versión personalizada para esas pantallas y reducida en Kilobytes.</p>
<p> Esta herramienta se llama Wptouch y la puedes <a href="http://www.bravenewcode.com/products/wptouch/">descargar gratuitamente de aquí</a>. También en esa página encuentras las instrucciones de instalación.
</p>
<p>Así se ve <a href="http://blog.quadrato.com.mx/">el blog de Quadrato</a> originalmente en un iPhone:</p>
<p><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0395.png"><img style="display: inline" title="th_IMG_0395" border="0" alt="th_IMG_0395" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0395_thumb.png" width="90" height="135" /></a></p>
<p>Así se ve con Wptouch:</p>
<table border="0" cellspacing="2" cellpadding="2" width="586">
<tbody>
<tr>
<td valign="top" width="116"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0396.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0396" border="0" alt="th_IMG_0396" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0396_thumb.png" width="90" height="135" /></a></td>
<td valign="top" width="115"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0397.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0397" border="0" alt="th_IMG_0397" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0397_thumb.png" width="90" height="135" /></a></td>
<td valign="top" width="115"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0398.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0398" border="0" alt="th_IMG_0398" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0398_thumb.png" width="90" height="135" /></a></td>
<td valign="top" width="114"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0399.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0399" border="0" alt="th_IMG_0399" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0399_thumb.png" width="90" height="135" /></a></td>
<td valign="top" width="112"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0400.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0400" border="0" alt="th_IMG_0400" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0400_thumb.png" width="90" height="135" /></a></td>
</tr>
<tr>
<td valign="top" width="116"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0401.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0401" border="0" alt="th_IMG_0401" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0401_thumb.png" width="90" height="135" /></a><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0402.png"></a></td>
<td valign="top" width="116"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0402.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0402" border="0" alt="th_IMG_0402" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0402_thumb.png" width="90" height="135" /></a><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0403.png"></a></td>
<td valign="top" width="115"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0403.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0403" border="0" alt="th_IMG_0403" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0403_thumb.png" width="90" height="135" /></a><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0404.png"></a></td>
<td valign="top" width="115"><a href="http://blog.quadrato.com.mx/wp-content/uploads/2010/04/IMG_0404.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="th_IMG_0404" border="0" alt="th_IMG_0404" src="http://www.viale.mx/wp-content/uploads/2010/04/th_IMG_0404_thumb.png" width="90" height="135" /></a></td>
<td valign="top" width="113">&#160;</td>
</tr>
</tbody>
</table>
<p>Tu blog se verá mejor y descargará más rápidamente en estos dispositivos. Siempre existe la opción de mostrar el sitio web con el formato original.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2010/04/29/plug-in-de-wordpress-para-iphone-y-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress en IIS te da el error 404 Page not found</title>
		<link>http://www.viale.mx/2009/09/07/wordpress-en-iis-te-da-el-error-404-page-not-found/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=wordpress-en-iis-te-da-el-error-404-page-not-found</link>
		<comments>http://www.viale.mx/2009/09/07/wordpress-en-iis-te-da-el-error-404-page-not-found/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 00:28:03 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.mx/?p=370</guid>
		<description><![CDATA[Este problema me ha pasado un par de veces, así que decidí poner aquí la solución para el futuro, espero que te sirva. Instalo WordPress en IIS (Windows Server 2003) como se explica aquí, todo va bien, intento abrir mi blog mediante un navegador y me sale: The page cannot be found Entonces para comprobar [...]]]></description>
			<content:encoded><![CDATA[<p>Este problema me ha pasado un par de veces, así que decidí poner aquí la solución para el futuro, espero que te sirva.</p>
<p>Instalo WordPress en IIS (Windows Server 2003) como se explica <a href="http://codex.wordpress.org/Installing_WordPress">aquí</a>, todo va bien, intento abrir mi blog mediante un navegador y me sale:</p>
<p><code>The page cannot be found</code></p>
<p>Entonces para comprobar que configuré bien el sitio web y la carpeta, pongo un archivo &#8220;hola mundo&#8221; con terminación .html.  Sí abre.  Pongo un archivo &#8220;hola mundo&#8221; con terminación .php.  No abre.</p>
<p>Entro a Google y encuentro muchos artículos como <a href="http://www.verysimple.com/blog/2008/01/05/php-on-windows-2003-iis-6-displays-404-page-not-found/">este</a>, <a href="http://www.seo-strategies.org/2009/08/wp-adminphp-404-not-found-error-wordpress/">este</a>, y <a href="http://www.iisadmin.co.uk/?p=4">este otro</a>, y verifico que ya hice todo correctamente.  Sigue pasando lo mismo, el mismo error, <code>The page cannot be found</code>.</p>
<p>Siempre hay un punto que paso por alto, y es el siguiente.  Abre tu sitio web, ve a la pestaña <code>Home Directory</code>, luego en la sección <code>Application settings</code> haz clic en el botón <code>Configuration</code> y luego en la pestaña <code>Mappings</code> encontrarás el error, tienes que dar de alta la extensión <code>.php</code> en <code>Application extensions</code> con estos parámetros:</p>
<ul>
<li>Executable: &#8220;c:\php\php5isapi.dll&#8221;<br />
Pon las comillas, y modifica la ruta de acuerdo a tu servidor.</li>
<li>Extension: .php</li>
<li>Verbs: Limit to: GET, POST, HEAD</li>
<li>Script engine: seleccionado</li>
<li>Verify that file exists: seleccionado</li>
</ul>
<p>, tal como se muestra en la siguiente imagen:</p>
<p><a href="http://www.viale.mx/wp-content/uploads/2009/09/phpnotfound.gif"><img src="http://www.viale.mx/wp-content/uploads/2009/09/phpnotfound.gif" alt="phpnotfound" title="phpnotfound" width="471" height="507" class="alignnone size-full wp-image-372" /></a></p>
<p>Pasa con WordPress, pero en realidad es un problema de configuración de PHP, por lo que te puede ocurrir con cualquier otra aplicación desarrollada en ese lenguaje.</p>
<p>¡Suerte!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2009/09/07/wordpress-en-iis-te-da-el-error-404-page-not-found/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cómo remplazar un string en una tabla de MySql</title>
		<link>http://www.viale.mx/2009/05/04/como-remplazar-un-string-en-una-tabla-de-mysql/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-remplazar-un-string-en-una-tabla-de-mysql</link>
		<comments>http://www.viale.mx/2009/05/04/como-remplazar-un-string-en-una-tabla-de-mysql/#comments</comments>
		<pubDate>Mon, 04 May 2009 18:46:39 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[SQL (mySQL)]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/?p=335</guid>
		<description><![CDATA[Recientemente cambié el dominio de mi blog de WordPress (antes era recursosweb.com.mx y ahora es viale.com.mx), por lo que muchas de las imágenes ahora no abren, mostrando una "x" roja. Las ligas también están rotas por esta misma razón. Tengo que entrar a cada post y modificar el dominio viejo por el dominio actual. Como [...]]]></description>
			<content:encoded><![CDATA[<p>Recientemente cambié el dominio de mi blog de WordPress (antes era recursosweb.com.mx y ahora es viale.com.mx), por lo que muchas de las imágenes ahora no abren, mostrando una "x" roja. Las ligas también están rotas por esta misma razón.</p>
<p>Tengo que entrar a cada post y modificar el dominio viejo por el dominio actual.  Como son muchas, hacerlo manualmente no es una opción.</p>
<p>Existe una función de <code>MySql</code> que permite hacer esto, esta función se llama <code>Replace</code> y se usa de la siguiente forma:</p>
<div class="igBar"><span id="lsql-4"><a href="#" onclick="javascript:showPlainTxt('sql-4'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-4">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">UPDATE</span> NombreDeLaTabla <span style="color: #993333; font-weight: bold;">SET</span> NombreDelCampo = <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color:#006600; font-weight:bold;">&#40;</span>NombreDelCampo,<span style="color: #ff0000;">"TextoOriginal"</span>,<span style="color: #ff0000;">"TextoNuevo"</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Así que para resolver mi problema utilice la siguiente sentencia:</p>
<div class="igBar"><span id="lsql-5"><a href="#" onclick="javascript:showPlainTxt('sql-5'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-5">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`wp_posts`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`post_content`</span> = <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #ff0000;">`post_content`</span>,<span style="color: #ff0000;">"http://www.recursosweb.com.mx"</span>,<span style="color: #ff0000;">"http://www.viale.com.mx"</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Y después esta otra:</p>
<div class="igBar"><span id="lsql-6"><a href="#" onclick="javascript:showPlainTxt('sql-6'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-6">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`wp_posts`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`guid`</span> = <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color: #ff0000;">`guid`</span>,<span style="color: #ff0000;">"http://www.recursosweb.com.mx"</span>,<span style="color: #ff0000;">"http://www.viale.com.mx"</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Y listo, problema solucionado.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2009/05/04/como-remplazar-un-string-en-una-tabla-de-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error Your PHP installation appears to be missing the MySQL extension which is required by WordPress</title>
		<link>http://www.viale.mx/2009/01/25/error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress</link>
		<comments>http://www.viale.mx/2009/01/25/error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 09:03:46 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[SQL (mySQL)]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/?p=291</guid>
		<description><![CDATA[Instalé WordPress en un nuevo servidor y me salía el error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress. Revisé todos los pasos de configuración que aparecen en esta liga: http://wordpress.org/support/topic/154730 sin éxito. Al final, gracias a esta otra liga: me di cuenta que para resolver el problema [...]]]></description>
			<content:encoded><![CDATA[<p>Instalé WordPress en un nuevo servidor y me salía el error:</p>
<p><code>Your PHP installation appears to be missing the MySQL extension which is required by WordPress.</code></p>
<p>Revisé todos los pasos de configuración que aparecen en esta liga:</p>
<p><a href="http://wordpress.org/support/topic/154730">http://wordpress.org/support/topic/154730</a></p>
<p>sin éxito. </p>
<p>Al final, gracias a esta otra liga:<br />
<a href="http://www.kemponline.co.uk/archive/2008/03/26/your-php-installation-appears-to-be-missing-the-mysql-which.aspx"></a></p>
<p>me di cuenta que para resolver el problema lo único que había que hacer era copiar el archivo <code>libmysql.dll</code> a la carpeta <code>c:\windows\system32</code>.  Por alguna razón el sistema operativo no lo reconoce estando en <code>c:\php\ext</code>.</p>
<p>Espero que esto le sirva a alguien.</p>
<p> <img src='http://www.viale.mx/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2009/01/25/error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cómo añadir JavaScript a un post de WordPress</title>
		<link>http://www.viale.mx/2007/06/15/como-anadir-javascript-a-un-post-de-wordpress/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-anadir-javascript-a-un-post-de-wordpress</link>
		<comments>http://www.viale.mx/2007/06/15/como-anadir-javascript-a-un-post-de-wordpress/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 23:57:25 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/2007/06/15/como-anadir-javascript-a-un-post-de-wordpress/</guid>
		<description><![CDATA[Si quieres añadir un código de JavaScript a un post de WordPress, no puedes teclear el script directamente en el post porque WordPress le pondrá tags p en los saltos de línea y otras cosas. Lo que tienes que hacer es colocar el script que contiene las funciones en un archivo con extensión .js y [...]]]></description>
			<content:encoded><![CDATA[<p>Si quieres añadir un código de JavaScript a un post de WordPress, no puedes teclear el script directamente en el post porque WordPress le pondrá tags <code>p</code> en los saltos de línea y otras cosas.</p>
<p>Lo que tienes que hacer es colocar el script que contiene las funciones en un archivo con extensión <code>.js</code> y luego usar el cargador de archivos de WordPress para subir el archivo al servidor.  Después añadelo al editor, solamente para copiar la liga.  Una vez que tengas la liga, puedes añadir el script así (tecléalo tal cual dentro del cuerpo del post):</p>
<div class="igBar"><span id="lhtml-9"><a href="#" onclick="javascript:showPlainTxt('html-9'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-9">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">&lt;script</span></a> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"http://www.miblogwordpress.com/wp-content/uploads/2007/06/MisFunciones.js"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ahora puedes usar tus funciones, tecleálas tal cual dentro del cuerpo del post, por ejemplo:</p>
<div class="igBar"><span id="lhtml-10"><a href="#" onclick="javascript:showPlainTxt('html-10'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-10">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"javascript:FuncionEquis('Parametro1', 'Parametro2')"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>Ejecuta la función mediante una liga<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2007/06/15/como-anadir-javascript-a-un-post-de-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Como añadir un icono (favicon.ico) a tu página web</title>
		<link>http://www.viale.mx/2007/05/30/como-anadir-un-icono-faviconico-a-tu-pagina-web/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-anadir-un-icono-faviconico-a-tu-pagina-web</link>
		<comments>http://www.viale.mx/2007/05/30/como-anadir-un-icono-faviconico-a-tu-pagina-web/#comments</comments>
		<pubDate>Wed, 30 May 2007 16:45:30 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[Herramientas]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/2007/05/30/como-anadir-un-icono-faviconico-a-tu-pagina-web/</guid>
		<description><![CDATA[Puedes añadir un icono a tu página web, como este: Para hacerlo, primero necesitas poner esta línea entre los tags head de tus páginas web: Clic para mostrar texto plano HTML: &#60;link rel="shortcut icon" href="favicon.ico"&#62; Después necesitas crear una imagen de 16X16 pixeles y exportarla con la extensión .ico. Lo puedes hacer con el programa [...]]]></description>
			<content:encoded><![CDATA[<p>Puedes añadir un icono a tu página web, como este:</p>
<p><a href='http://www.viale.com.mx/wp-content/uploads/2007/05/favicon.gif' title='Favicon'><img src='http://www.viale.com.mx/wp-content/uploads/2007/05/favicon.gif' alt='Favicon' /></a></p>
<p>Para hacerlo, primero necesitas poner esta línea entre los tags <code>head</code> de tus páginas web:</p>
<div class="igBar"><span id="lhtml-12"><a href="#" onclick="javascript:showPlainTxt('html-12'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-12">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">&lt;link</span></a> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">"shortcut icon"</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"favicon.ico"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Después necesitas crear una imagen de 16X16 pixeles y exportarla con la extensión <code>.ico</code>.  Lo puedes hacer con el programa <a href="http://www.microangelo.us/">Microangelo</a>, pero lo tendrías que comprar, descargar e instalar, y no creo que sea algo que estés deseando.</p>
<p>Te doy una alternativa:  Utiliza tu editor de imágenes favorito y haz una imagen de 16X16 pixeles y expórtala como <code>gif</code>.  Para convertirla a <code>ico</code> simplemente entra a esta página:</p>
<p><a href="http://www.html-kit.com/favicon/">http://www.html-kit.com/favicon/</a></p>
<p>En ella simplemente haz clic en el botón <code>Examinar</code>, escoge tu imagen y la página web te generará el archivo <code>ico</code>.</p>
<p>Después, si quieres revisar que todo está en orden, puedes validar tu página en esta dirección:</p>
<p><a href="http://www.html-kit.com/favicon/validator/">http://www.html-kit.com/favicon/validator/</a></p>
<p><strong>Para WordPress</strong></p>
<p>Si quieres añadir tu favicon a WordPress, inserta el código arriba mencionado en el archivo <code>header.php</code> del tema que estés utilizando.  Ejemplo:  <code>c:\miblog\wp-content\themes\mitema\header.php</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2007/05/30/como-anadir-un-icono-faviconico-a-tu-pagina-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo reescribir el URL (URL rewriting) para usar Permalinks con WordPress y Windows 2003 (IIS)</title>
		<link>http://www.viale.mx/2007/05/16/como-reescribir-el-url-url-rewriting-para-usar-permalinks-con-wordpress-y-iis-en-windows-2003/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-reescribir-el-url-url-rewriting-para-usar-permalinks-con-wordpress-y-iis-en-windows-2003</link>
		<comments>http://www.viale.mx/2007/05/16/como-reescribir-el-url-url-rewriting-para-usar-permalinks-con-wordpress-y-iis-en-windows-2003/#comments</comments>
		<pubDate>Thu, 17 May 2007 00:26:06 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/2007/05/16/como-reescribir-el-url-url-rewriting-para-usar-permalinks-con-wordpress-y-iis-en-windows-2003/</guid>
		<description><![CDATA[Breve introducción WordPress viene con un mecanismo llamado Permalinks, mediante el cual se reescribe el URL. Sin Permalinks, tus posts se verán así: http://www.viale.com.mx/?p=4432 Con Permalinks, se verán así: http://www.viale.com.mx/como-hacer-un-sitio-web Como podrás ver, la ventaja es que el URL se vuelve mas legible, y más significativo para las máquinas de búsqueda como Google. Ahora bien, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Breve introducción</strong></p>
<p>WordPress viene con un mecanismo llamado Permalinks, mediante el cual se reescribe el URL.</p>
<p>Sin Permalinks, tus posts se verán así:<br />
<code>http://www.viale.com.mx/?p=4432</code></p>
<p>Con Permalinks, se verán así:<br />
<code>http://www.viale.com.mx/como-hacer-un-sitio-web</code></p>
<p>Como podrás ver, la ventaja es que el URL se vuelve mas legible, y más significativo para las máquinas de búsqueda como Google.</p>
<p>Ahora bien, para lograr esta reescritura del URL necesitas tener acceso al servidor mediante remote desktop.  No te bastará con una cuenta de FTP.  También puedes pedirle al administrador que lo haga por ti.</p>
<p><strong>Cómo hacerlo</strong></p>
<p><em>Probado con: WordPress 2.1 y Windows Server 2003</em></p>
<p>La herramienta para reescritura de URLs que yo utilizo la hizo <a href="http://www.deanlee.cn/wordpress/url-rewriting-for-wordpress-under-iis/">Dean Lee</a>. </p>
<p><strong>1. Descarga los archivos</strong></p>
<p><a href="http://www.deanlee.cn/wordpress/url-rewriting-for-wordpress-under-iis/">Descarga los archivos de Dean Lee de su sitio web</a> y extráelos. Debes tener los siguientes archivos:</p>
<p><code>config.ini<br />
msvcr80.dll<br />
WordPressPlugin.dll</code></p>
<p>Cópialos y pégalos en la carpeta raíz de tu blog.</p>
<p>Con un bloc de notas abre el archivo config.ini.  Encontrarás que solamente tiene una diagonal.  Esta configuración se utiliza si tu blog estará en la carpeta raíz de tu sitio web.  Es decir, si tu blog será accesible mediante una dirección como esta:</p>
<p><code>http://www.viale.com.mx</code></p>
<p>Por otro lado, si tu blog está en una carpeta, por ejemplo <code>http://www.viale.com.mx/blog</code> entonces tienes que modificar el archivo <code>config.ini</code> para que diga: <code>/blog/</code></p>
<p><strong>Nota</strong>: Si piensas poner tu blog en una carpeta del dominio, te recomiendo que no lo hagas.  Mejor crea una entrada en tu dns para lograr una dirección como: <code>http://blog.misitioweb.com/</code>.  ¿Por qué?  Porque vamos a activar un filtro ISAPI en el sitio web.  Si el resto de tu sitio web no lo va a usar, entonces más vale separarlo en dos sitios web, por si las dudas.</p>
<p><strong>2. Configura IIS</strong></p>
<p>En Windows Server, en la consola de Administración de la PC, abre las propiedades de tu sitio y escoge la pestaña ISAPI Filters:</p>
<p><a href='http://www.viale.com.mx/wp-content/uploads/2007/05/propiedadessitio1.jpg' title='Propiedades del Sitio Web'><img src='http://www.viale.com.mx/wp-content/uploads/2007/05/propiedadessitio1.jpg' alt='Propiedades del Sitio Web' /></a></p>
<p>En esa ventana haz clic en el botón <code>Add</code>.  En la nueva ventana escoge el archivo <code>WordPressPlugin.dll</code> que copiaste a tu sitio web y ponle como nombre <code>WordPressPlugin</code>.</p>
<p><a href='http://www.viale.com.mx/wp-content/uploads/2007/05/propiedades2.jpg' title='ISAPI'><img src='http://www.viale.com.mx/wp-content/uploads/2007/05/propiedades2.jpg' alt='ISAPI' /></a></p>
<p>Acepta todo hasta que se cierre la ventana de propiedades del Sitio Web.</p>
<p><strong>3. Configura php.ini</strong></p>
<p>Con un bloc de notas abre tu archivo <code>php.ini</code>.  De acuerdo a tu instalación este archivo puede estar ubicado en diferentes carpetas, normalmente está en <code>c:\windows\php.ini</code></p>
<p>Haz una búsqueda en el archivo por la palabra <code>cgi.force_redirect</code> y asegúrate de que esa línea diga:</p>
<p><code>cgi.force_redirect = 0</code></p>
<p>OJO: Si tiene un punto y coma antes, quítaselo.</p>
<p>Ahora agrega la siguiente línea:</p>
<p><code>cgi.fix_pathinfo = 1</code></p>
<p>Debe quedar así:</p>
<p><img src='http://www.viale.com.mx/wp-content/uploads/2007/05/phpini.jpg' alt='php.ini' /></p>
<p>Ahora reinicia el IIS.</p>
<p><strong>4. Configura WordPress</strong></p>
<p>Abre tu consola de WordPress y ve a <code>Opciones->Permalinks</code>.</p>
<p>Dale clic a la opción <code>Personalizada, especificar aquí</code> y teclea</p>
<p><code>/%year%/%monthnum%/%day%/%postname%/</code></p>
<p><a href='http://www.viale.com.mx/wp-content/uploads/2007/05/permalink.jpg' title='Permalink'><img src='http://www.viale.com.mx/wp-content/uploads/2007/05/permalink.jpg' alt='Permalink' /></a></p>
<p>Oprime el botón <code>Actualizar estructura de permalink</code> para guardar los cambios.</p>
<p>Ya debe de funcionar.  Si no lo hace, asegúrate de que hayas reiniciado IIS.</p>
<p>Ahora navega por tu blog y revisa cómo las direcciones de tus posts han cambiado. <img src='http://www.viale.mx/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Nota importante.</strong> Un punto negativo de esta herramienta es que si utilizas algún caracter no común en inglés.  Por ejemplo un signo de interrogación que abre: <code>¿</code>, entonces cuando intentes hacer clic a la liga de tu post, no abrirá porque pone un símbolo extraño como <code>%c2%bf</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2007/05/16/como-reescribir-el-url-url-rewriting-para-usar-permalinks-con-wordpress-y-iis-en-windows-2003/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cómo desactivar los comentarios en WordPress</title>
		<link>http://www.viale.mx/2007/05/15/como-desactivar-los-comentarios-en-wordpress/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-desactivar-los-comentarios-en-wordpress</link>
		<comments>http://www.viale.mx/2007/05/15/como-desactivar-los-comentarios-en-wordpress/#comments</comments>
		<pubDate>Tue, 15 May 2007 17:26:26 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/2007/05/15/como-desactivar-los-comentarios-en-wordpress/</guid>
		<description><![CDATA[Por default, WordPress permite que la gente haga comentarios a tus posts. Si no quieres que esto suceda, debes deshabilitarlos. Para hacerlo, tienes que hacer dos cosas: 1. A los posts que ya existan, debes deshabilitarles los comentarios. Ve a editar cada uno de tus posts y desmarca la palomita donde dice Permitir comentarios Haz [...]]]></description>
			<content:encoded><![CDATA[<p>Por default, WordPress permite que la gente haga comentarios a tus posts.  Si no quieres que esto suceda, debes deshabilitarlos.</p>
<p>Para hacerlo, tienes que hacer dos cosas:</p>
<p>1. A los posts que ya existan, debes deshabilitarles los comentarios.</p>
<p>Ve a editar cada uno de tus posts y desmarca la palomita donde dice <code>Permitir comentarios</code></p>
<p><a href='http://www.viale.com.mx/wp-content/uploads/2007/05/comentarios3.jpg' title='Deshabilitar comentarios'><img src='http://www.viale.com.mx/wp-content/uploads/2007/05/comentarios3.jpg' alt='Deshabilitar comentarios' /></a><br />
<strong>Haz clic en la imagen para agrandarla</strong></p>
<p>2. Debes indicarle a WordPress que los nuevos posts deben tener por default los comentarios deshabilitados.</p>
<p>Ve a <code>Opciones -> Discusión</code> y desmarca la palomita donde dice <code>Permitir comentarios en esta entrada</code>.</p>
<p><a href='http://www.viale.com.mx/wp-content/uploads/2007/05/comentarios1.jpg' title='Deshabilitar comentarios'><img src='http://www.viale.com.mx/wp-content/uploads/2007/05/comentarios1.jpg' alt='Deshabilitar comentarios' /></a><br />
<strong>Haz clic en la imagen para agrandarla</strong></p>
<p>Ahora nadie podrá escribir comentarios a ninguno de tus posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2007/05/15/como-desactivar-los-comentarios-en-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plug-in de WordPress para hacer que tu blog se vea bien en un móvil o PDA</title>
		<link>http://www.viale.mx/2007/04/27/plug-in-de-wordpress-para-hacer-que-tu-blog-se-vea-bien-en-un-movil-o-pda/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=plug-in-de-wordpress-para-hacer-que-tu-blog-se-vea-bien-en-un-movil-o-pda</link>
		<comments>http://www.viale.mx/2007/04/27/plug-in-de-wordpress-para-hacer-que-tu-blog-se-vea-bien-en-un-movil-o-pda/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 20:42:43 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/2007/04/27/plug-in-de-wordpress-para-hacer-que-tu-blog-se-vea-bien-en-un-movil-o-pda/</guid>
		<description><![CDATA[Encontré un Plug-in para WordPress que detecta si la visita proviene de un dispositivo móvil (PDA o celular), y en ese caso modifica el template para que sea fácilmente legible (quita todos los gráficos innecesarios). El plug-in se llama WordPress Mobile Edition, el autor se llama Alex King y el plug-in lo puedes descargar de [...]]]></description>
			<content:encoded><![CDATA[<p>Encontré un Plug-in para WordPress que detecta si la visita proviene de un dispositivo móvil (PDA o celular), y en ese caso modifica el template para que sea fácilmente legible (quita todos los gráficos innecesarios).</p>
<table border='0' cellpadding='3' cellspacing='0'>
<tr>
<td width='50%' valign='top'>
<img src='http://www.viale.com.mx/wp-content/uploads/2007/04/recwebpda.gif' alt='PDA' />
</td>
<td width='50%' valign='top'>
<img src='http://www.viale.com.mx/wp-content/uploads/2007/04/emuladormobi.gif' alt='Emulador Mobi' />
</td>
</tr>
</table>
<p>El plug-in se llama <strong>WordPress Mobile Edition</strong>, el autor se llama Alex King y el plug-in lo puedes <a href="http://alexking.org/projects/wordpress">descargar de aquí</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2007/04/27/plug-in-de-wordpress-para-hacer-que-tu-blog-se-vea-bien-en-un-movil-o-pda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo colocar Google Analytics en tu blog de Word Press</title>
		<link>http://www.viale.mx/2007/04/25/como-colocar-google-analytics-en-tu-blog-de-word-press/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=como-colocar-google-analytics-en-tu-blog-de-word-press</link>
		<comments>http://www.viale.mx/2007/04/25/como-colocar-google-analytics-en-tu-blog-de-word-press/#comments</comments>
		<pubDate>Wed, 25 Apr 2007 22:24:04 +0000</pubDate>
		<dc:creator>Pablo Viale</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.viale.com.mx/2007/04/25/como-colocar-google-analytics-en-tu-blog-de-word-press/</guid>
		<description><![CDATA[Para utilizar el código de Google Analytics en Word Press, abre el archivo footer.php del template que estés usando actualmente, ve hasta las líneas de abajo y pega el código antes del cierre del tag BODY. De tal manera que las últimas líneas queden así: Clic para mostrar texto plano HTML: &#60;!-- Gorgeous design by [...]]]></description>
			<content:encoded><![CDATA[<p>Para utilizar el código de Google Analytics en Word Press, abre el archivo footer.php del template que estés usando actualmente, ve hasta las líneas de abajo y pega el código antes del cierre del tag <code>BODY</code>.  De tal manera que las últimas líneas queden así:</p>
<div class="igBar"><span id="lhtml-14"><a href="#" onclick="javascript:showPlainTxt('html-14'); return false;">Clic para mostrar texto plano</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-14">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ --&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span></a>?php /* <span style="color: #ff0000;">"Just what do you think you're doing Dave?"</span> */ ?<span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span></a>?php wp_footer<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; ?<span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">&lt;script</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"http://www.google-analytics.com/urchin.js"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">&lt;script</span></a> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; _uacct = &quot;UA-1734115-1&quot;;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; urchinTracker();</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>NOTA:</strong> En la línea 5 asegúrate de que no dejas saltos de línea ni espacios.  Si dejas un salto de línea entre el tag que abre y el que cierra, no funcionará.</p>
<p>¡Suerte!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viale.mx/2007/04/25/como-colocar-google-analytics-en-tu-blog-de-word-press/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

