<?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>Historias de un Geek &#187; @anywhere</title>
	<atom:link href="http://albertein.com.mx/archives/tag/anywhere/feed" rel="self" type="application/rss+xml" />
	<link>http://albertein.com.mx</link>
	<description>AlbertEin - Desvarios de una mente perturbada</description>
	<lastBuildDate>Wed, 30 Nov 2011 16:12:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hágalo usted mismo: Integrando Twitter @Anywhere en WordPress, ¡a la mala!</title>
		<link>http://albertein.com.mx/archives/783</link>
		<comments>http://albertein.com.mx/archives/783#comments</comments>
		<pubDate>Sat, 17 Apr 2010 16:51:48 +0000</pubDate>
		<dc:creator>AlbertEin</dc:creator>
				<category><![CDATA[Programacion]]></category>
		<category><![CDATA[@anywhere]]></category>
		<category><![CDATA[hagalo usted mismo]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://albertein.com.mx/?p=783</guid>
		<description><![CDATA[Hace algunos días Twitter presento su nueva API @Anywhere, y justo ayer @Robsainz me pidió que lo implementara en su Web. Fruto de eso les tengo esta mini guía para implementar @Anywhere en su blog de WordPress, aun que fácilmente puede ser adaptado para demás sitios. Cabe señalar que esta es una manera &#8220;rudimentaria&#8221; de [...]]]></description>
			<content:encoded><![CDATA[<p>Hace algunos días Twitter presento su nueva API @Anywhere, y justo ayer @Robsainz me pidió que lo implementara en su <a href="http://langaria.net" target="_blank">Web</a>.</p>
<p>Fruto de eso les tengo esta mini guía para implementar @Anywhere en su blog de WordPress, aun que fácilmente puede ser adaptado para demás sitios. Cabe señalar que esta es una manera &#8220;rudimentaria&#8221; de lograrlo con mucho espíritu &#8220;hágalo usted mismo&#8221;, modificando tu Template actual. La mejor forma de hacerlo sería con un plugin, pero debido a lo reciente de la API de momento no se encuentra ninguno estable y configurable disponible.</p>
<p>Primero se debe de registrar su aplicación (o en este caso web) en http://dev.twitter.com/apps/new para optener su API key. Despues de hacerlo no olviden seguir los pasos que están en : <a href="http://groups.google.com/group/twitter-development-talk/browse_thread/thread/5c96366e2362fe85#">http://groups.google.com/group/twitter-development-talk/browse_thread/thread/5c96366e2362fe85#</a></p>
<ol>
<li> Go to: http://twitter.com/oauth</li>
<li> Click on your application</li>
<li> On the &#8220;Application Details&#8221; page click the &#8220;Edit Application<br />
Settings&#8221; button</li>
<li> On the settings page for your application, scroll down to the item<br />
labeled &#8220;Default Access type&#8221;</li>
<li> Change the &#8220;Default Access type&#8221; to &#8220;Read &#038; Write&#8221; </li>
</ol>
<p>Después necesitan editar el archivo <em>header.php</em> del tema que estén usando, justo sobre el tag <em>&lt;/head&gt;</em> deben de poner el siguiente código (reemplazando AQUIVATUAPIKEY por tu api key Y AQUIVATUTWITTERUSER por tu usuario de twitter):</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">&lt;script src=&quot;http://platform.twitter.com/anywhere.js?id=AQUIVATUAPIKEY&amp;v=1&quot;&gt;
&lt;/script&gt;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
    jQuery<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        twttr.<span style="color: #660066;">anywhere</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>twitter<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</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>
            twitter<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#twitt-box&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tweetBox</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#123;</span>
                counter<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
                height<span style="color: #339933;">:</span> <span style="color: #CC0000;">100</span><span style="color: #339933;">,</span>
                width<span style="color: #339933;">:</span> <span style="color: #CC0000;">250</span><span style="color: #339933;">,</span>
                label<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Twittea desde aqui&quot;</span><span style="color: #339933;">,</span>
                defaultContent<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Estoy probando @Anywhere en mi blog&quot;</span>
            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            twitter<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#follow-me&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">followButton</span> <span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;AQUIVATUTWITTERUSER&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <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>Y después solo falta que crees un Widget que contenga lo siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="xhtml" style="font-family:monospace;">&lt;div id=&quot;follow-me&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;twitt-box&quot;&gt;&lt;/div&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://albertein.com.mx/archives/783/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

