<?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>Application Developer &#187; Wordpress</title>
	<atom:link href="http://applicationdeveloper.net/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://applicationdeveloper.net</link>
	<description>Making money online</description>
	<lastBuildDate>Sat, 26 Sep 2009 20:31:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>BackType Tweetcount 1.2 with su.pr Short URL Support</title>
		<link></link>
		<comments>http://applicationdeveloper.net/2009/07/14/backtype-tweetcount-12-supr-short-url-support/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 12:34:08 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tweaks]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[backtype]]></category>
		<category><![CDATA[social marketing]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://applicationdeveloper.net/?p=52</guid>
		<description><![CDATA[The new BackType Tweetcount just launched last night. With a little work, it&#8217;ll support your very own custom shortened URL in the re-tweet. We like su.pr. Thanks to a bit of help from Michael of BackType, we&#8217;re able to figure out this mod overnight.The previous version of BackType worked well but it always re-tweet your [...]]]></description>
			<content:encoded><![CDATA[The new <a href="http://wordpress.org/extend/plugins/backtype-tweetcount/" target="_blank">BackType Tweetcount</a> just launched last night. With a little work, it&#8217;ll support your very own custom shortened URL in the re-tweet. We like <a href="http://su.pr" target="_blank">su.pr</a>. Thanks to a bit of help from <a href="http://twitter.com/michaelmontano">Michael of BackType</a>, we&#8217;re able to figure out this mod overnight.<br /><br />The previous version of BackType worked well but it always re-tweet your posts through <a href="http://awe.sm" target="_blank">awe.sm</a>. That&#8217;s great and all, but what about the rest of us who have our own click tracking or even our own custom shorteners.<a href="http://backtype.com"><img src="http://applicationdeveloper.net/wp-content/uploads/2009/07/backtype.jpg" alt="backtype" title="backtype" width="122" height="39" class="alignnone size-full wp-image-53" style="float:right;" /></a><br /><br />So to make it better, last night we added a new option for developers to add a function into the code that will allow them to build their own custom functions and generate their own custom links. It&#8217;s really just a meta tag, &#8220;<em>bttc_short_url</em>&#8221; that gets generated the first time the post is viewed. Here&#8217;s the best part. Since the short url is generated the FIRST time everything is viewed. Just by browsing your pages, and olf non-syndicated links are automatically added into su.pr. If you use another shortening service, it&#8217;ll do the same for that too.<br /><br />After grabbing the latest BackType Tweetcount, load up your favorite editing tool and add this function to the very bottom of the code:<br /><br /><pre class="devcodeblock" title="PHP"><table class="devcodetools"><tbody><tr><td>&nbsp;PHP&nbsp;|&nbsp;</td><td style="background-image:url('http://applicationdeveloper.net/wp-content/plugins/devformatter/img/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;"/><embed id="ZeroClipboard5" src="http://applicationdeveloper.net/wp-content/plugins/devformatter/_zclipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="16px" height="16px" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=5&width=16&height=16" wmode="transparent" /></td><td>&nbsp;copy&nbsp;code&nbsp;|</td><td style="cursor:pointer" title="DevFormatter Plugin" onclick="devfmt_credits()">?</td><td width="99%">&nbsp;</td></tr></tbody></table><div class="devcodeoverflow"><table class="devcodearea" width="100%"><tr><td class="devcodelines" width="1%">01</td><td class="devcodelinesarea"><pre class="devcode devcodeline"></pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">02</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">function bttc_supr($url) {</pre></td></tr><tr><td class="devcodelines" width="1%">03</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	$SU_username = &quot;username&quot;;</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">04</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	$SU_api = &quot;api_key&quot;;</pre></td></tr><tr><td class="devcodelines" width="1%">05</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	$SU_url = &quot;http://su.pr/api&quot;;</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">06</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	$SU_vars = &quot;?url=$url&amp;login=$SU_username&amp;apiKey=$SU_api&quot;;</pre></td></tr><tr><td class="devcodelines" width="1%">07</td><td class="devcodelinesarea"><pre class="devcode devcodeline">&nbsp;</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">08</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	$curl_handle = curl_init();</pre></td></tr><tr><td class="devcodelines" width="1%">09</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	curl_setopt($curl_handle, CURLOPT_URL, $SU_url . $SU_vars);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">10</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);</pre></td></tr><tr><td class="devcodelines" width="1%">11</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">12</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	curl_setopt($curl_handle, CURLOPT_HTTPGET, 1); </pre></td></tr><tr><td class="devcodelines" width="1%">13</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	$buffer = curl_exec($curl_handle);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">14</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	curl_close($curl_handle);</pre></td></tr><tr><td class="devcodelines" width="1%">15</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	//$SU_newURL = str_replace(&quot;su.pr/&quot;, &quot;&quot;, $buffer);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">16</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	$SU_newURL = $buffer;</pre></td></tr><tr><td class="devcodelines" width="1%">17</td><td class="devcodelinesarea"><pre class="devcode devcodeline">&nbsp;</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">18</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	return $SU_newURL;</pre></td></tr><tr><td class="devcodelines" width="1%">19</td><td class="devcodelinesarea"><pre class="devcode devcodeline">}</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">20</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline"></pre></td></tr></table></div></pre>
<br />As a quick note there. The commented out <em>//$SU_newurl</em> is for those that host their own url shortcodes on their domain using the su.pr htaccess modification.<br /><br />Go to Line 180, insert this code:<br /><br /><pre class="devcodeblock" title="PHP"><table class="devcodetools"><tbody><tr><td>&nbsp;PHP&nbsp;|&nbsp;</td><td style="background-image:url('http://applicationdeveloper.net/wp-content/plugins/devformatter/img/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;"/><embed id="ZeroClipboard6" src="http://applicationdeveloper.net/wp-content/plugins/devformatter/_zclipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="16px" height="16px" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=6&width=16&height=16" wmode="transparent" /></td><td>&nbsp;copy&nbsp;code&nbsp;|</td><td style="cursor:pointer" title="DevFormatter Plugin" onclick="devfmt_credits()">?</td><td width="99%">&nbsp;</td></tr></tbody></table><div class="devcodeoverflow"><table class="devcodearea" width="100%"><tr><td class="devcodelines" width="1%">1</td><td class="devcodelinesarea"><pre class="devcode devcodeline"></pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">2</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">if (get_post_meta($post-&gt;ID, 'bttc_short_url', true) != '') {</pre></td></tr><tr><td class="devcodelines" width="1%">3</td><td class="devcodelinesarea"><pre class="devcode devcodeline">    $button .= 'tweetcount_short_url=\'' . wp_specialchars(get_post_meta($post-&gt;ID, 'bttc_short_url', true), '1') . '\';';</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">4</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">}</pre></td></tr><tr><td class="devcodelines" width="1%">5</td><td class="devcodelinesarea"><pre class="devcode devcodeline"></pre></td></tr></table></div></pre>
<br />Then go to Line 161, search for this code:<br /><br /><pre class="devcodeblock" title="PHP"><table class="devcodetools"><tbody><tr><td>&nbsp;PHP&nbsp;|&nbsp;</td><td style="background-image:url('http://applicationdeveloper.net/wp-content/plugins/devformatter/img/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;"/><embed id="ZeroClipboard7" src="http://applicationdeveloper.net/wp-content/plugins/devformatter/_zclipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="16px" height="16px" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=7&width=16&height=16" wmode="transparent" /></td><td>&nbsp;copy&nbsp;code&nbsp;|</td><td style="cursor:pointer" title="DevFormatter Plugin" onclick="devfmt_credits()">?</td><td width="99%">&nbsp;</td></tr></tbody></table><div class="devcodeoverflow"><table class="devcodearea" width="100%"><tr><td class="devcodelines" width="1%">1</td><td class="devcodelinesarea"><pre class="devcode devcodeline"></pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">2</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">if ($meta == '') {</pre></td></tr><tr><td class="devcodelines" width="1%">3</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	add_post_meta($post-&gt;ID, 'bttc_cache', time() . ':' . $cnt);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">4</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">} else {</pre></td></tr><tr><td class="devcodelines" width="1%">5</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	update_post_meta($post-&gt;ID, 'bttc_cache', time() . ':' . $cnt);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">6</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">}</pre></td></tr><tr><td class="devcodelines" width="1%">7</td><td class="devcodelinesarea"><pre class="devcode devcodeline"></pre></td></tr></table></div></pre>
<br />Directly below the code, paste the following:<br /><br /><pre class="devcodeblock" title="PHP"><table class="devcodetools"><tbody><tr><td>&nbsp;PHP&nbsp;|&nbsp;</td><td style="background-image:url('http://applicationdeveloper.net/wp-content/plugins/devformatter/img/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;"/><embed id="ZeroClipboard8" src="http://applicationdeveloper.net/wp-content/plugins/devformatter/_zclipboard.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="16px" height="16px" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=8&width=16&height=16" wmode="transparent" /></td><td>&nbsp;copy&nbsp;code&nbsp;|</td><td style="cursor:pointer" title="DevFormatter Plugin" onclick="devfmt_credits()">?</td><td width="99%">&nbsp;</td></tr></tbody></table><div class="devcodeoverflow"><table class="devcodearea" width="100%"><tr><td class="devcodelines" width="1%">1</td><td class="devcodelinesarea"><pre class="devcode devcodeline"></pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">2</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">if (get_post_meta($post-&gt;ID, 'bttc_short_url', true) == '') {</pre></td></tr><tr><td class="devcodelines" width="1%">3</td><td class="devcodelinesarea"><pre class="devcode devcodeline">	$short_url = bttc_supr($url);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">4</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	if ($short_url) {</pre></td></tr><tr><td class="devcodelines" width="1%">5</td><td class="devcodelinesarea"><pre class="devcode devcodeline">		add_post_meta($post-&gt;ID, 'bttc_short_url', $short_url);</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">6</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline">	}</pre></td></tr><tr><td class="devcodelines" width="1%">7</td><td class="devcodelinesarea"><pre class="devcode devcodeline">}</pre></td></tr><tr><td class="devcodelines devcodelinesodd" width="1%">8</td><td class="devcodelinesarea devcodelinesareaodd"><pre class="devcode devcodeline"></pre></td></tr></table></div></pre>
<br />And that's it. Edit the first bttc_supr function into basically whatever you want, and the short URL will automatically generated the first time the posts are viewed. It'll let you re-tweet with your own custom links, and even add old content that you haven't added to your shortening admin pages for you. This is a pretty raw version of doing this. BackType will be launching an updated version soon with these modifications to make it easier for users that don't want to edit as much code.]]></content:encoded>
			<wfw:commentRss>http://applicationdeveloper.net/2009/07/14/backtype-tweetcount-12-supr-short-url-support/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OnlyWire &#8211; Annoying but Helpful</title>
		<link></link>
		<comments>http://applicationdeveloper.net/2009/07/12/onlywire-annoying-helpful/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 22:37:53 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[onlywire]]></category>
		<category><![CDATA[social marketing]]></category>

		<guid isPermaLink="false">http://applicationdeveloper.net/?p=35</guid>
		<description><![CDATA[After spending about 4 to 5 hours on setting a whole chain of accounts for OnlyWire, I&#8217;d be holding back if I didn&#8217;t discuss it. Since the beginning on time (Internet time), webmasters have been looking for methods of auto-submitting. I can&#8217;t count how many companies that I have been a part of that have [...]]]></description>
			<content:encoded><![CDATA[After spending about 4 to 5 hours on setting a whole chain of accounts for <a href="http://onlywire.com">OnlyWire</a>, I&#8217;d be holding back if I didn&#8217;t discuss it. Since the beginning on time (Internet time), webmasters have been looking for methods of auto-submitting. I can&#8217;t count how many companies that I have been a part of that have tried to develop their own auto-submission services to their own sites or to their partners.<br /><p style="text-align: center;"><a title="OnlyWire" href="http://onlywire.com" target="_blank"><img class="aligncenter" title="OnlyWire" src="http://onlywire.com/i/home_banner.jpg" alt="" width="377" height="225" /></a></p>
<br />Why do companies have such a hard time? We&#8217;re fickle. The &#8220;team&#8221; changes it&#8217;s minds frequently. Worse yet, the Internet keeps changing&#8230; very very fast. So some could say it&#8217;s hopeless. Whenever the technology starts to complete, something new comes out and we&#8217;re stuck rebuilding an automated system&#8230; kind of defeats the purpose.<br /><br />Thank god someone made a business out of this. While it doesn&#8217;t cover every blog or social networking site out there, at least it does the major ones. And for guys like me who don&#8217;t have the time, it&#8217;s great.<br /><br />While this service is great, this very well hidden Wordpress Plugin for it is even better. Don&#8217;t say I never offered you anything. This is something I snuck off the <a href="http://blackhatworld.com">BlackHatWorld Forums</a> so credit belongs to them.<br /><br /><a href="http://applicationdeveloper.net/files/onlywireautosubmit.zip">Download the Plugin</a><br />]]></content:encoded>
			<wfw:commentRss>http://applicationdeveloper.net/2009/07/12/onlywire-annoying-helpful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->