<?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>Eliseos.net &#187; twitter</title> <atom:link href="http://eliseos.net/tag/twitter/feed/" rel="self" type="application/rss+xml" /><link>http://eliseos.net</link> <description>Wordpress, Diseño, jQuery and Coffee</description> <lastBuildDate>Fri, 03 Sep 2010 00:07:36 +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" /> <item><title>Un Tweet Button mas rapido</title><link>http://eliseos.net/tweet-button-mas-rapido/</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://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> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/tweet-button-mas-rapido/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Howto: Tweet button oficial en WordPress</title><link>http://eliseos.net/howto-tweet-button-oficial-wordpress/</link> <comments>http://eliseos.net/howto-tweet-button-oficial-wordpress/#comments</comments> <pubDate>Thu, 12 Aug 2010 19:28:10 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Destacadas]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=3129</guid> <description><![CDATA[El día hoy ha visto la luz el nuevo botón oficial de twitter para compartir links en un solo click, lo que presupone un mal día para el resto de los botones como Topsy o Tweetmeme. Si ya venís usando algún servicio de este estilo quizás quieras probar o experimentar con el nuevo botón oficial]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">El día hoy ha visto la luz el nuevo <strong>botón oficial de Twitter</strong> para compartir links en un solo click, lo que presupone un mal día para el resto de los botones como <strong>Topsy</strong> o <strong>Tweetmeme</strong>. Si ya venís usando algún servicio de este estilo quizás quieras probar o experimentar con el nuevo botón oficial. Hoy en dos simples pasos vamos a ver como integrar este nuevo servicio en nuestra instalación de WordPress sin morir en el intento.</p><p
style="text-align: center;"><img
src="http://eliseos.net/wp-content/uploads/2010/08/Tweet-Button.jpg" alt="Tweet Button Howto: Tweet button oficial en Wordpress" title="Tweet Button" width="600" height="250" class="alignnone size-full wp-image-3130" /></p><p><span
id="more-3129"></span></p><p
style="text-align: left;">Todavia es muy pronto para saber si sera el botón líder en el mercado o solo sera un competidor de Tweetmeme o Topsy. Por mi parte no me he pasado, ya que no es posible tener control sobre las URI que se acortan, Twitter usa su propio shorten service: http://t.co y escapa de nuestras manos.</p><p
style="text-align: left;">Lo primero que necesitaremos es crear una nueva función donde tendremos la configuración del botón, para esto en nuestro archivo <em>functions.php </em>vamos a insertar:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> tbutton<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$tuser</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'baires'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$title</span> <span style="color: #339933;">=</span> <span style="color: #990000;">htmlspecialchars</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;script src=&quot;http://platform.twitter.com/widgets.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
      data-url=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;
      data-via=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$tuser</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;
      data-text=&quot;Leyendo: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;
      data-related=&quot;baires: Siempre hablando de Wordpress y dise%F1o&quot;
      data-count=&quot;horizontal&quot;&gt;Tweet&lt;/a&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p
style="text-align: left;">Como podes observar no hay nada raro en esta función, solo los valores necesarios para que el botón pueda funcionar correctamente. Los únicos valores que necesitas editar son <em><code>$tuser</code></em> con tu usuario de Twitter y el campo <em><code>data-related</code></em> que sirve a modo de recomendar un usario cuando se comparte un link. Solo debes respetar el formato: nombre de usario seguido por dos puntos (<strong>:</strong>) y una pequeña descripción, nada más.</p><p
style="text-align: center;"><img
src="http://eliseos.net/wp-content/uploads/2010/08/Tweet-Buttons.jpg" alt="Tweet Buttons Howto: Tweet button oficial en Wordpress" title="Tweet Buttons" width="600" height="250" class="alignnone size-full wp-image-3135" /></p><p
style="text-align: left;"> Otra opción que quizás quieras modificar es el formato del botón en el campo <em><code>data-count</code></em>, en el ejemplo se utiliza un formato horizontal. Los valores que podes usar: <strong>vertical</strong>, <strong>horizontal</strong> o <strong>none</strong>.</p><p
style="text-align: left;"> Solo resta integrar el botón en nuestro Theme, para eso dentro del archivo <em><code>single.php</code></em> y donde lo creamos conveniente insertaremos:</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> tbutton<span style="color: #009900;">&#40;</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_id</span><span style="color: #009900;">&#41;</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;">Felicidades has insertado el botón oficial de Twitter en menos de un minuto</p><p
style="text-align: left;">No te olvides de leer la <a
href="http://dev.twitter.com/pages/tweet_button">documentación</a> pertinente al tema donde podrás encontrar algunos ejemplos más junto con la info no cubierta en este artículo.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/howto-tweet-button-oficial-wordpress/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Obtener la cantidad de Retweets para una URL</title><link>http://eliseos.net/obtener-cantidad-retweets-url/</link> <comments>http://eliseos.net/obtener-cantidad-retweets-url/#comments</comments> <pubDate>Thu, 17 Jun 2010 19:46:21 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=3017</guid> <description><![CDATA[Estoy armando mi propio botón para los Retweets y me encontré con la necesidad de poder insertar un contador, sino que clase de botón seria? Por eso llegue a dos manera distintas de poder mostrar la cantidad de Retweets para un URL dada]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Estoy armando mi propio botón para los <strong>Retweets</strong> y me encontré con la necesidad de poder insertar un contador, sino que clase de botón seria? Por eso llegue a dos manera distintas de poder mostrar la cantidad de Retweets para un URL dada.</p><p><span
id="more-3017"></span></p><p
style="text-align: center;"><img
src="http://eliseos.net/wp-content/uploads/2010/06/Obtener-la-cantidad-de-Retweets-para-URL.jpg" alt="Obtener la cantidad de Retweets para URL Obtener la cantidad de Retweets para una URL" title="Obtener la cantidad de Retweets para URL" width="600" height="250" class="alignnone size-full wp-image-3018" /></p><p
style="text-align: left;">Quizás sea algo que se de utilidad ya que es muy sencillo de implementar y puede de ser suma utilidad.</p><h2>Utilizando jQuery</h2><p
style="text-align: left;">Tal vez el método mas recomendable, ya que es más simple y no necesitamos modificar otros archivos.</p><p
style="text-align: left;">Antes del cierre de <em><code>&lt;/header&gt;</code></em> insertamos:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&quot;&gt;&lt;/script&gt; 
&nbsp;
    <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>
    $<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>
        url <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;?php the_permalink() ?&gt;&quot;</span><span style="color: #339933;">;</span>
        beforecounter <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot; (&lt;strong&gt;&quot;</span><span style="color: #339933;">;</span>
        aftercounter <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;/strong&gt;)&quot;</span><span style="color: #339933;">;</span>
&nbsp;
        $.<span style="color: #660066;">getJSON</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'http://api.tweetmeme.com/url_info.jsonc?url='</span><span style="color: #339933;">+</span>url<span style="color: #339933;">+</span><span style="color: #3366CC;">'&amp;callback=?'</span><span style="color: #339933;">,</span>
            <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#twcount'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prepend</span><span style="color: #009900;">&#40;</span>beforecounter <span style="color: #339933;">+</span> data.<span style="color: #660066;">story</span>.<span style="color: #660066;">url_count</span> <span style="color: #339933;">+</span> aftercounter<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>
&nbsp;
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p
style="text-align: left;">La función buscara el <strong>id</strong> <em><code>twcount</code></em> e insertara la cantidad de Retweets al comienzo, podríamos hacer una llamada similar 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;">p</span>&gt;</span>Esta entrada tiene <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;twcount&quot;</span>&gt;</span>Retweets<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><h2>Utilizando PHP/Wordpress</h2><p
style="text-align: left;">Tan simple como el método anterior, solo que en este caso se requiere manipular un poco más el código. Donde necesites mostrar la cantidad de Retweets podes insertar:</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: #000088;">$url</span> <span style="color: #339933;">=</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #000088;">$bitly</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://api.tweetmeme.com/button.js?url='</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$bitly</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/\&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>c<span style="color: #000099; font-weight: bold;">\&quot;</span>\&gt;(.*\d)\&lt;\/span\&gt;/i&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p
style="text-align: left;">Ahora, si trabajas en WordPress podes crear un función para ahorrar tiempo y poder utilizar la función donde lo necesites. En tu archivo <em><code>functions.php</code></em> inserta:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> rtcount<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #000088;">$bitly</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://api.tweetmeme.com/button.js?url='</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$bitly</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/\&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>c<span style="color: #000099; font-weight: bold;">\&quot;</span>\&gt;(.*\d)\&lt;\/span\&gt;/i&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> 
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div><p
style="text-align: left;">Ahora solo resta hacer el llamado correspondiente:</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;">p</span>&gt;</span>Esta entrada tiene <span style="color: #009900;">&lt;?php rtcount<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; ?&gt;</span> Retweets<span style="color: #009900;">&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;">En simples lineas hemos logrado mostrar la cantidad de Retweets que cierta URL tiene, ideal para complementar con algún plugin para socializar contenido o simplemente para hacer referencia a los Retweets</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/obtener-cantidad-retweets-url/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>jTweetsAnywhere: Un widget para integrar @anywhere</title><link>http://eliseos.net/jtweetsanywhere-widget-integrar-anywhere/</link> <comments>http://eliseos.net/jtweetsanywhere-widget-integrar-anywhere/#comments</comments> <pubDate>Fri, 11 Jun 2010 00:35:06 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=3004</guid> <description><![CDATA[jTweetsAnywhere es un plugin que mezcla las bondades de jQuery y @anywhere para poder integrar todos los servicios que el API de @anywhere nos ofrece. Con unas simples lineas de código tendremos un Widget corriendo y funcional]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="jTweetsAnywhere" href="http://thomasbillenstein.com/jTweetsAnywhere/">jTweetsAnywhere</a> es un plugin que mezcla las bondades de <strong>jQuery</strong> y @anywhere para poder integrar todos los servicios que el API de @anywhere nos ofrece. Con unas simples lineas de código tendremos un <strong>Widget</strong> corriendo y funcional.</p><p
style="text-align: center;"><img
class="alignnone size-full wp-image-3005" title="jTweetsAnywhere" src="http://eliseos.net/wp-content/uploads/2010/06/jTweetsAnywhere.jpg" alt="jTweetsAnywhere jTweetsAnywhere: Un widget para integrar @anywhere" width="600" height="250" /></p><p><span
id="more-3004"></span></p><p
style="text-align: left;">Su principal característica por llamarla de algun modo es la que ofrecer un paquete en el que podemos, por ejemplo mostrar nuestros Tweets, mostrar resultados de una búsqueda, integrar/mostrar un Tweetbox, mostrar el botón de Twitter Connect y autentificar usuarios de manera segura via el API.</p><p
style="text-align: left;">Su uso es de lo mas simple, una vez integrados los archivos necesarios solo debemos hacer el llamado correspondiente:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#twts'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">jTweetsAnywhere</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    username<span style="color: #339933;">:</span> <span style="color: #3366CC;">'tbillenstein'</span><span style="color: #339933;">,</span>
    count<span style="color: #339933;">:</span> <span style="color: #CC0000;">5</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;">jTweetsAnywhere cuenta con muchas opciones y servicios, por lo cual te recomiendo que veas la pagina con todos los ejemplos para ver como se comporta este plugin.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/jtweetsanywhere-widget-integrar-anywhere/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Like it? Tweet it! Otro buen uso de @anywhere</title><link>http://eliseos.net/like-it-tweet-it-buen-uso-anywhere/</link> <comments>http://eliseos.net/like-it-tweet-it-buen-uso-anywhere/#comments</comments> <pubDate>Fri, 30 Apr 2010 23:13:00 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2933</guid> <description><![CDATA[La semana pasada les comentaba de un plugin para Wordpress que mediante @anywhere nos permitía crear un botón al estilo Tweetmeme para que los lectores puedan hacer un Retweet de cada entrada. ]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">La semana pasada les comentaba de un <a
title="Retweet Anywhere un plugin para WordPress" href="http://eliseos.net/?p=2893">plugin para WordPress</a> que mediante @anywhere nos permitía crear un botón al estilo <strong>Tweetmeme</strong> para que los lectores puedan hacer un <strong>Retweet</strong> de cada entrada. El día de hoy tenemos otra opción con algunos puntos a favor y algunos en contra respecto del plugin mencionado: <a
title="Like it? Tweet it!" href="http://pongsocket.com/tweet-it/">Like it? Tweet it!</a></p><p
style="text-align: center;"><a
href="http://pongsocket.com/tweet-it/"><img
src="http://eliseos.net/wp-content/uploads/2010/04/Like-it-Tweet-it.gif" alt="Like it Tweet it Like it? Tweet it! Otro buen uso de @anywhere" title="Like it? Tweet it!" width="500" height="250" class="alignnone size-full wp-image-2934" /></a></p><p><span
id="more-2933"></span></p><p
style="text-align: left;">Este pequeño script (<strong>jQuery</strong> de por medio) le permitirá a tus usuarios enviar un Tweet directamente desde tu sitio conectándose mediante @anywhere. Al acceder click sobre un elemento asignado se abrirá el box donde podrán enviar el Tweet de una <strong>manera elegante</strong> y con bastantes opciones a la hora de personalizar el mensaje.</p><p
style="text-align: left;">Una de sus ventajas, es que no se requiere como en otros casos contar un <em>API key</em> propio ya que utilizamos el de aplicación y tampoco necesitas descargar ningún archivo ya que se trabaja de manera online siempre.</p><h2>Instalación y uso</h2><p
style="text-align: left;">En tu header es necesario hacer el llamado al script</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> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://tweet-it.s3.amazonaws.com/tweet-it.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p
style="text-align: left;">Ahora solo necesitamos configurar Like it? Tweet it! e inicializar</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>
	$<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;">&quot;.tweet-this a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tweetIt</span><span style="color: #009900;">&#40;</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;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p
style="text-align: left;">Por supuesto necesitamos un elemento al cual hacemos el llamado en nuestro HTML</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;">p</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tweet-this&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript://&quot;</span>&gt;</span>Like it? Tweet it!<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">Por defecto el script generara un <strong>shortlink</strong> único para cada entrada que sera guardado en el servidor de los creadores de este script para evitar generar un nuevo link corto por cada visita a la pagina. Si esto nos convence, también se puede especificar nuestro propio shortlink e indicar que se utilice ese en su lugar.</p><p
style="text-align: left;">En cuanto a la personalización, el script cuenta con una documentación muy extensa y clara para lograr una buena interacción con sitio, podemos configurar casi al 100% el script, desde los títulos hasta el mismo estilo <strong>CSS</strong> mediante.</p><p
style="text-align: left;">Por ejemplo estas son algunas de las opciones que seguramente te gustaría personalizar:</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>
$<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;">&quot;.tweet-this a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tweetIt</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
			animate<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;fade&quot;</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">//Animacion del box</span>
			header<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Tweetea esta entrada&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//Titulo del box</span>
			typeATweet<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Tu Tweet aqui&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//Texto a modo de intro en el Tweet</span>
			closeButton<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Cancelar el Tweet&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//cancelar</span>
			emptyConfirm<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Estas seguro de enviar el Tweet solo con el link?&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//mensaje en caso de que no se introdusca texto</span>
			youare<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Hola,&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//Bienvenida</span>
			findingLink<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Buscando el link&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//Buscando...</span>
			intro<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Comparti esta entrada con el resto del mundo&quot;</span><span style="color: #339933;">,</span><span style="color: #006600; font-style: italic;">//Subheader en el box</span>
			notConnected<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Necesitas conectar para enviar el Tweet&quot;</span><span style="color: #006600; font-style: italic;">//Mensaje si el lector no esta conectado</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;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p
style="text-align: left;">Y por ultimo, pero no menos importante contamos con un plugin para WordPress junto con la documentación necesaria para integrar Like it? Tweet it! en <strong>Tumblr</strong> y <strong>Blogger</strong>.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/like-it-tweet-it-buen-uso-anywhere/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Retweet Anywhere un plugin para WordPress</title><link>http://eliseos.net/retweet-anywhere-plugin-wordpress/</link> <comments>http://eliseos.net/retweet-anywhere-plugin-wordpress/#comments</comments> <pubDate>Wed, 21 Apr 2010 22:39:31 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2893</guid> <description><![CDATA[Retweet Anywhere es un plugin que aprovecha las ventajas de @anywhere para crear nuestro propio botón para los Retweets. Los usuarios se autentifican con Oauth, por lo que nunca salen de tu sitio]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="Retweet Anywhere" href="http://wordpress.org/extend/plugins/retweet-anywhere/">Retweet Anywhere</a> es un plugin que aprovecha las ventajas de @anywhere para crear nuestro propio <strong>botón</strong> para los Retweets. Los usuarios se autentifican con <strong>Oauth</strong>, por lo que nunca salen de tu sitio.</p><p
style="text-align: center;"> <a
href="http://wordpress.org/extend/plugins/retweet-anywhere/"><img
src="http://eliseos.net/wp-content/uploads/2010/04/Retweet-Anywhere.jpg" alt="Retweet Anywhere Retweet Anywhere un plugin para Wordpress" title="Retweet Anywhere" width="500" height="250" class="alignnone size-full wp-image-2894" /></a></p><p><span
id="more-2893"></span></p><p
style="text-align: left;">El plugin cuenta con un panel de administración donde podemos especificar el formato del Retweet y la integración con bit.ly. Cuando el usuario quiere hacer un Retweet se abre un box al estilo <strong>Facebook</strong> donde puede añadir sus comentarios o <strong>hashtag</strong> al mensaje.</p><p
style="text-align: left;">El boton puede ser incluido por medio de un shortcode:</p><div
class="wp_syntax"><div
class="code"><pre class="text" style="font-family:monospace;">Hola!, hace un [retweet-anywhere html=&quot;retweet de este post&quot; format=&quot;Leyendo: %s %l /por @miusuario&quot;]</pre></div></div><p
style="text-align: left;">Donde: <em>%s</em> es el titulo del post y <em>%l</em> es la URI del post</p><p
style="text-align: left;">O si lo necesitamos, también puede ser incluido en cualquier parate del Theme, mediante la siguiente llamada:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;retweet_anywhere&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> retweet_anywhere<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p
style="text-align: left;">Esta es un buena alternativa a los ya conocidos botones de Topsy o Tweetmeme. Un punto a su favor es el <strong>Branding</strong> que incluirá cada Tweet enviado por este medio, ya que figurara como &#8220;enviado desde MiBlog.com&#8221;. Hermoso, no?</p><p
style="text-align: left;">La documentación es de lo  más bastante simple y llevadera, solo necesitas un <strong>API Key</strong> que te proporciona Twitter y estarás en condiciones de tener tu propio botón para los Retweets.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/retweet-anywhere-plugin-wordpress/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Integra @anywhere con WordPress en segundos</title><link>http://eliseos.net/integra-anywhere-wordpress-segundos/</link> <comments>http://eliseos.net/integra-anywhere-wordpress-segundos/#comments</comments> <pubDate>Sat, 17 Apr 2010 20:47:23 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2878</guid> <description><![CDATA[Pareciera que en estos últimos días se ha desatado una fiebre en lo que @anywhere respecta, he visto que han salido algunos plugins para poder integrar @anywhere con Wordpress. ]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Pareciera que en estos últimos días se ha desatado una fiebre en lo que @anywhere respecta, he visto que han salido algunos plugins para poder integrar @anywhere con WordPress. En lo personal creo que estos plugins  son algo completamente innecesario, ya que el Core de WordPress es lo bastante robusto para crear <strong>nuestras propias funciones</strong> y evitar sobrecargar nuestra instalación con plugins, que fácilmente pueden ser evitados.</p><p
style="text-align: left;">La siguiente función de <span
style="text-decoration: underline;">16 lineas</span> nos permite habilitar las principales características sin la necesidad de recurrir a ningún plugin.</p><p><span
id="more-2878"></span></p><h2>Creando nuestra función</h2><p
style="text-align: left;">En tu archivo <em><code>funcions.php</code></em> inserta esta nueva función:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Twitter Anywhere</span>
<span style="color: #000088;">$any_api</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;TU_API_AQUI&quot;</span><span style="color: #339933;">;</span>
wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;tanywhere&quot;</span><span style="color: #339933;">,</span> 
	<span style="color: #0000ff;">&quot;http://platform.twitter.com/anywhere.js?id=<span style="color: #006699; font-weight: bold;">{$any_api}</span>&amp;v=1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;wp_head&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;t_anywhere&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> t_anywhere<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;script type=&quot;text/javascript&quot;&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'twttr.anywhere(onAnywhereLoad);'</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'function onAnywhereLoad(twitter) {'</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'twitter.hovercards();'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Por defecto hovercards en todo el site</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'twitter(&quot;#followme&quot;).followButton(&quot;miusuario&quot;);'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// &lt;div=&quot;followme&quot;&gt;&lt;/div&gt;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'twitter(&quot;.tweetbox&quot;).tweetBox();'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// &lt;div=&quot;class=&quot;tweetbox&quot;&gt;&lt;/div&gt;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'}'</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/script&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p
style="text-align: left;">Con esto habilitamos las funciones: <strong>Hovercards</strong>, un boton <strong>Followme</strong> y un <strong>Box</strong> para que los usuarios envíen sus Tweet directamente desde tu Blog. Solamente necesitas introducir tu <strong>API key</strong>.</p><p
style="text-align: left;">Te recomiendo que leas la entrada &#8220;<a
title="Decile hola @anywhere" href="http://eliseos.net/?p=2860">Decile hola a @anywhere</a>&#8221; donde explico un poco mas en detalle cada funcion. También recordá que es necesario <a
title="Register an Application" href="http://dev.twitter.com/apps/new">registrar tu nueva App</a> para obtener un API Key y darle permisos de <strong>lectura y escritura</strong> a tu App desde la <a
href="http://twitter.com/oauth_clients/">tu lista de Aplicaciones</a>.</p><p>Por ultimo, si tenes ganas no te olvides de seguirme vía @baires donde hablo de estos temas y muchas cosas más.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/integra-anywhere-wordpress-segundos/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Decile hola a @anywhere</title><link>http://eliseos.net/decile-hola-anywhere/</link> <comments>http://eliseos.net/decile-hola-anywhere/#comments</comments> <pubDate>Thu, 15 Apr 2010 07:15:04 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2860</guid> <description><![CDATA[Si sos uno de los tantos maníacos de Twitter (yo levanto la mano) este es un día memorable dado que Anywhere ha salido a luz. Que es Anywhere te estarás preguntando]]></description> <content:encoded><![CDATA[<p
style="text-align: left;">Si sos uno de los tantos maníacos de <strong>Twitter</strong> (yo levanto la mano) este es un día memorable dado que <a
title="@Anywhere" href="http://dev.twitter.com/anywhere/">@Anywhere</a> ha salido a luz. Que es Anywhere te estarás preguntando? Bueno, Anywhere es la plataforma con la cual podemos interactuar directamente con Twitter sin la necesidad de terceros. Lo que nos trae muchas <strong>ventajas, velocidad y seguridad</strong>.</p><p><span
id="more-2860"></span></p><p
style="text-align: center;"><a
href="http://dev.twitter.com/anywhere"><img
src="http://eliseos.net/wp-content/uploads/2010/04/Anywhere.jpg" alt="Anywhere Decile hola a @anywhere" title="Anywhere" width="500" height="250" class="alignnone size-full wp-image-2861" /></a></p><p
style="text-align: left;">La plataforma se ha lanzado oficialmente hace unas horas, y ya contamos con una buena documentación algunos ejemplos para que nos pongamos a trabajar.</p><h2>Primeros pasos</h2><p
style="text-align: left;">Lo primero que necesitaras sera <a
title="Crear una Aplicacion para @Anywhere" href="http://dev.twitter.com/anywhere/apps/new">crear una nueva aplicación</a>, por lo que te tendrás que loguearte con tus <strong>credenciales</strong> de Twitter y obtener tu acreditación. Una vez hecho esto, es necesario crear una aplicación, para este caso vamos a crear una aplicación Web para interactuar con Twitter dentro de nuestro Blog.</p><p
style="text-align: center;"><a
href="http://dev.twitter.com/anywhere/apps/new"><img
src="http://eliseos.net/wp-content/uploads/2010/04/Anywhere-registro.jpg" alt="Anywhere registro Decile hola a @anywhere" title="Register an @Anywhere Application" width="500" height="750" class="alignnone size-full wp-image-2862" /></a></p><p
style="text-align: left;">Cuando nuestra aplicación haya sido aprobada, se nos proporcionara una <strong>API Key</strong> y una <strong>versión</strong> de Anywhere. Estos datos son privados y muy sensibles, no los comportas.</p><p
style="text-align: left;">Para poder comenzar a interactuar vamos a necesitar introducir dentro de las etiquetas header el script de Anywhere:</p><div
class="wp_syntax"><div
class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #00bbdd;">&lt;!DOCTYPE HTML&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Anywhere Sample<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span>
    <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://platform.twitter.com/anywhere.js?id=YourAPIKey&amp;v=1&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>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
    ...
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div><p
style="text-align: left;">YourAPIKey es obviamente la Key que se ta proporcionado con anterioridad.</p><h2>Auto-linkification</h2><p
style="text-align: left;">Esta función nos permite &#8220;auto-linkear&#8221; a un perfil de Twitter cada vez que mencionemos a este usuario.</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>
  <span style="color: #003366; font-weight: bold;">function</span> onAnywhereLoad<span style="color: #009900;">&#40;</span>twitter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// this is the callback function you specified in your initializer</span>
    twitter.<span style="color: #660066;">linkifyUsers</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</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;">Esta función busca dentro del <strong>DOM</strong> e intenta coincidir usuarios con sus respectivos perfiles.Por razones obvias no se &#8220;linkeara&#8221; a usuario si estos están dentro de algunas etiquetas especiales, como ser <strong>A, SCRIPT, NOSCRIPT, </strong>etc.</p><p
style="text-align: left;">El proceso es bastante rápido, solo demora entre <em>150-200ms</em> en hallar las coincidencias.</p><p
style="text-align: left;">Cada link incluye por defecto la <em><code>class="twitter-anywhere-user"</em></code> Si necesitamos añadir una <em>class</em> especial a cada link que se ha creado, solo debemos crearla.</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>
  <span style="color: #003366; font-weight: bold;">function</span> onAnywhereLoad<span style="color: #009900;">&#40;</span>twitter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// this is the callback function you specified in your initializer</span>
    twitter<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#linkify-this-content&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">linkifyUsers</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
      className<span style="color: #339933;">:</span> <span style="color: #3366CC;">'my-tweep'</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: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p
style="text-align: left;">Dentro del container <em><code>linkify-this-content</code></em> se creara una clase llamada <em><code>my-tweep</code></em> que reemplazara a las class por defecto anteriormente mencionada.</p><h2>Hovercards</h2><p
style="text-align: left;">Esta es una de las funcionales mas amistosas y esperadas. Es la inserción de un pequeño <strong>Tooltip</strong> desde donde podemos ver un poco de info sobre este usuario, hacer un Following o unfollowing y demás.</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>
  <span style="color: #003366; font-weight: bold;">function</span> onAnywhereLoad<span style="color: #009900;">&#40;</span>twitter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// this is the callback function you specified in your initializer</span>
    twitter.<span style="color: #660066;">hovercards</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</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;">Por ejemplo, Puedo decir: Anoche esta leyendo mis mensajes en mi @blackberry y encontré varios de @baires.</p><p
style="text-align: left;">Hovercards entra en <strong>conflicto</strong> con la funcionalidad Auto-linkification, de tener las dos funciones habilitadas Hovercards tendrá prioridad. Para usar las dos funciones al mismo tiempo solo debemos indicar una nueva <em>class</em> para el link al usuario en alguna función. Tal como lo explique más arriba.</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>
  <span style="color: #003366; font-weight: bold;">function</span> onAnywhereLoad<span style="color: #009900;">&#40;</span>twitter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    twitter<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#main-content a.my-tweep&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hovercards</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</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;">Aquí estaremos indicando que solo se crearan <strong>Tooltips</strong> para los usuarios que se encuentren dentro del container <em><code>main-content</code></em> y con la class <em><code>my-tweet</code></em> en su respectivo <strong>anchor.</strong></p><h2>Follow buttons</h2><p
style="text-align: left;">Otra opción interesante para tener en cuenta. Nos permite añadir un botón donde mediante una ventana de por medio el usuario puede hacer un <strong>Follow</strong> dentro de nuestro Blog, sin tener que salir alguna vez de él. Por ejemplo con este boton me podrás seguir en Twitter:</p><h4 id="followme">Seguime</h4><p
style="text-align: left;">El botón es inteligente, por lo cual si ya estas siguiendo a @baires en teoría te tendría que avisar, aunque en la practica pareciera que no funciona asi.</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>
  <span style="color: #003366; font-weight: bold;">function</span> onAnywhereLoad<span style="color: #009900;">&#40;</span>twitter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// this is the callback function you specified in your initializer</span>
    twitter<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#follow-twitterapi'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">followButton</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;twitterapi&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</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;">Y ahora solo mencionamos el elemento:</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;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;follow-twitterapi&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div><h2>Consideraciones Finales.</h2><p
style="text-align: left;">Estos son tres ejemplo simples y básicos de lo que se puede hacer con @Anywhere. Dentro de la <a
title="Welcome to @Anywhere" href="http://dev.twitter.com/anywhere/begin">documentación</a> encontraras algunos ejemplos más, así como también una serie de recomendaciones y manuales de como integrar esta plataforma con tus Apps.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/decile-hola-anywhere/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Invitaciones para Flavors.me</title><link>http://eliseos.net/invitaciones-flavors-me/</link> <comments>http://eliseos.net/invitaciones-flavors-me/#comments</comments> <pubDate>Tue, 22 Dec 2009 22:34:15 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Invitaciones]]></category> <category><![CDATA[Flickr]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=2527</guid> <description><![CDATA[Flavors.me uno de los sitio mas interesantes que me he tomado en este año. Es una suerte de mashup donde podemos sindicar nuestra presencia en la red un solo lugar]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><a
title="Flavors.me" href="http://flavors.me/">Flavors.me</a> uno de los sitio mas interesantes que me he tomado en este año. Es una suerte de mashup donde podemos sindicar nuestra presencia en la red un solo lugar.</p><p>Podemos usarlo como una carta de presentación, a modo de diversión o micro ﻿blogging. En Flavors.me podemos sindicar los siguientes servicios:</p><ul><li>Flickr</li><li>Tumble</li><li>Twitter</li><li>Vimeo</li><li>Last.fm</li><li>Facebook</li><li>Feeds</li><li>Goodread</li><li>Netflix</li></ul><p
style="text-align: left;">Uno de los puntos fuertes es la posibilidad de personalizar el diseño de nuestra pagina, contamos con varios modelos/layouts como así también unas cuantas paletas de colores. Flavors.me  utiliza jQuery para las transiciones y sIFR para reemplazar fuentes, lo que nos trae un look muy profesional.</p><p
style="text-align: center;"><a
href="http://flavors.me/Baires"><img
class="alignnone size-full wp-image-2528" title="Flavors.me" src="http://eliseos.net/wp-content/uploads/2009/12/flavors.me_.jpg" alt="flavors.me  Invitaciones para Flavors.me" width="600" height="350" /></a></p><p
style="text-align: left;">Podes ver <a
href="http://flavors.me/Baires">mi perfil en Flavors.me</a> para que te orientes a lo que te ofrece el servicio.</p><p
style="text-align: left;">Si necesitas una invitación, <a
href="http://www.twitter.com/flavorsme">@Jonathan</a> fue gentil en darme un código de invitación para los lectores de Eliseos.net. Solo debes registrarte e ingresar <em><code>argentina</code></em> como código de invitación.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/invitaciones-flavors-me/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Acorta tus URL&#8217;s y seguiles el rastro</title><link>http://eliseos.net/acorta-tus-urls-y-seguiles-el-rastro/</link> <comments>http://eliseos.net/acorta-tus-urls-y-seguiles-el-rastro/#comments</comments> <pubDate>Mon, 07 Sep 2009 23:12:41 +0000</pubDate> <dc:creator>Alexis</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[twitter]]></category><guid
isPermaLink="false">http://eliseos.net/?p=1904</guid> <description><![CDATA[Short URL Plugin tiene como objetivos crear URL's cortas y contar la cantidad de clicks que recibe cada URL en su panel de control]]></description> <content:encoded><![CDATA[<p
style="text-align: left;"><strong><a
title="Short URL Plugin" href="http://wordpress.org/extend/plugins/short-url-plugin/">Short URL Plugin</a></strong> tiene como objetivos crear URL&#8217;s cortas y contar la cantidad de <em>clicks que recibe</em> cada URL en su panel de control.</p><p
style="text-align: center;"><a
href="http://wordpress.org/extend/plugins/short-url-plugin/"><img
class="alignnone size-full wp-image-1905" title="Short URL Plugin" src="http://eliseos.net/wp-content/uploads/2009/09/Short-URL-Plugin.jpg" alt="Short URL Plugin" /></a></p><p
style="text-align: left;"><span
id="more-1904"></span>Las URL&#8217;s cortas pueden ser útiles para <strong>promocionar</strong> tus artículos en diversas <strong>redes sociales</strong>, como así también llevar un conteo de descargas o saber la cantidad de cliks que un link recibe.</p><p
style="text-align: left;">Por defecto la nueva URL sera algo asi: <em>http://tublog/u/5</em> permiendo cambiar esta estructura. Por ultimo cabe resaltar que es posible tener control sobre la re dirección de los links vía .htaccess y personalizar mensajes de error al no encontrar una URL.</p> ]]></content:encoded> <wfw:commentRss>http://eliseos.net/acorta-tus-urls-y-seguiles-el-rastro/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: eliseos.net @ 2010-09-03 15:12:13 by W3 Total Cache -->