<?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>David Tavarez's Home at davidtavarez.com &#187; wordpress</title>
	<atom:link href="http://www.davidtavarez.com/archives/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidtavarez.com</link>
	<description>Just another weblog...</description>
	<lastBuildDate>Sat, 31 Jul 2010 16:00:00 +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>Modifying Tweetme: replace bit.ly by microuri.com</title>
		<link>http://www.davidtavarez.com/archives/modifying-tweetme-replace-bit-ly-by-microuri-com/</link>
		<comments>http://www.davidtavarez.com/archives/modifying-tweetme-replace-bit-ly-by-microuri-com/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 07:40:11 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.davidtavarez.com/?p=454</guid>
		<description><![CDATA[This was a quick modification to use use MicroUri, instead bit.ly on Tweetme plugin. We just need to change a function called tweetme_bitly_link(). &#160; function tweetme_bitly_link&#40;$id&#41; &#123; &#160; if &#40;function_exists&#40;'revcanonical_shorten'&#41; &#38;&#38; $link = revcanonical_shorten&#40;$id&#41;&#41; &#123; return $link; &#125; else &#123; $link = get_permalink&#40;$id&#41;; /**Williams Mendez **/ $ob = @simplexml_load_file&#40;'http://api.microuri.com/get.php?url='.$link&#41;; if&#40;is_object&#40;$ob&#41; &#38;&#38; isset&#40;$ob-&#62;Response&#41; &#38;&#38; strlen&#40;$ob-&#62;Response&#41;&#41; return [...]]]></description>
			<content:encoded><![CDATA[<p>This was a quick modification to use use <a href="http://microuri.com" onclick="urchinTracker('/outgoing/microuri.com?referer=');">MicroUri</a>, instead bit.ly on Tweetme plugin. We just need to change a function called <em>tweetme_bitly_link()</em>.</p>
<pre class="php">&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> tweetme_bitly_link<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$id</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/function_exists" onclick="urchinTracker('/outgoing/www.php.net/function_exists?referer=');"><span style="color: #000066;">function_exists</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'revcanonical_shorten'</span><span style="color: #66cc66;">&#41;</span> &amp;&amp;
                                <span style="color: #0000ff;">$link</span> = revcanonical_shorten<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$id</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$link</span>;
	<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #0000ff;">$link</span> = get_permalink<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$id</span><span style="color: #66cc66;">&#41;</span>;
               <span style="color: #808080; font-style: italic;">/**Williams Mendez **/</span>
	<span style="color: #0000ff;">$ob</span> = @simplexml_load_file<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'http://api.microuri.com/get.php?url='</span>.<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/is_object" onclick="urchinTracker('/outgoing/www.php.net/is_object?referer=');"><span style="color: #000066;">is_object</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$ob</span><span style="color: #66cc66;">&#41;</span> &amp;&amp; <a href="http://www.php.net/isset" onclick="urchinTracker('/outgoing/www.php.net/isset?referer=');"><span style="color: #000066;">isset</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$ob</span>-&gt;<span style="color: #006600;">Response</span><span style="color: #66cc66;">&#41;</span> &amp;&amp; <a href="http://www.php.net/strlen" onclick="urchinTracker('/outgoing/www.php.net/strlen?referer=');"><span style="color: #000066;">strlen</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$ob</span>-&gt;<span style="color: #006600;">Response</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$ob</span>-&gt;<span style="color: #006600;">Response</span>;
		<span style="color: #b1b100;">return</span> <a href="http://www.php.net/file_get_contents" onclick="urchinTracker('/outgoing/www.php.net/file_get_contents?referer=');"><span style="color: #000066;">file_get_contents</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'http://bit.ly/api?url='</span> . <span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
<p><em>Note: This url shortening and wordpress hack is provided by <a href="http://williamsmendez.com" onclick="urchinTracker('/outgoing/williamsmendez.com?referer=');">Williams Mendez</a>.</em></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.davidtavarez.com/archives/modifying-tweetme-replace-bit-ly-by-microuri-com/" target="_blank" onclick="urchinTracker('/outgoing/www.facebook.com/share.php?u=http_//www.davidtavarez.com/archives/modifying-tweetme-replace-bit-ly-by-microuri-com/&amp;referer=');"><img src="http://www.davidtavarez.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.davidtavarez.com/archives/modifying-tweetme-replace-bit-ly-by-microuri-com/" target="_blank" title="Share on Facebook" onclick="urchinTracker('/outgoing/www.facebook.com/share.php?u=http_//www.davidtavarez.com/archives/modifying-tweetme-replace-bit-ly-by-microuri-com/&amp;referer=');">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.davidtavarez.com/archives/modifying-tweetme-replace-bit-ly-by-microuri-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to WordPress 2.8.3</title>
		<link>http://www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/</link>
		<comments>http://www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 14:28:16 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/</guid>
		<description><![CDATA[I'm having problems upgrading to WordPress 2.8.3 I hope to solve them today Share on Facebook]]></description>
			<content:encoded><![CDATA[<p>I'm having problems upgrading to WordPress 2.8.3 I hope to solve them today</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/" target="_blank" onclick="urchinTracker('/outgoing/www.facebook.com/share.php?u=http_//www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/&amp;referer=');"><img src="http://www.davidtavarez.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/" target="_blank" title="Share on Facebook" onclick="urchinTracker('/outgoing/www.facebook.com/share.php?u=http_//www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/&amp;referer=');">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.davidtavarez.com/archives/upgrading-to-wordpress-2-8-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
