<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: How To Create A Dynamic &#8220;Tweet This Button&#8221; With PHP</title>
	<atom:link href="http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/</link>
	<description>Entrepreneur, internet marketer, full-scale web developer, media production, love SEO, SEM, AJAX, PHP - Living the web experience since 1996</description>
	<pubDate>Sat, 04 Feb 2012 20:20:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Enzo</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-27374</link>
		<dc:creator>Enzo</dc:creator>
		<pubDate>Mon, 07 Feb 2011 23:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-27374</guid>
		<description>You can shorten any url using a service like http://twig.mx    just make the url call their api like this and make sure you use the http prefix in the url variable like this. If your url already has the http prefix, then just leave off the http prefix in the call to twig.

$newurl = "http://www.twig.mx/api-create.php?url=http://" . $url;
$shorturl = file_get_contents($newurl);

or 

$newurl = "http://www.twig.mx/api-create.php?url=" . $url;
$shorturl = file_get_contents($newurl);

The $shorturl will contain a shortened url.

Then use the $shorturl in the HREF as shown above.</description>
		<content:encoded><![CDATA[<p>You can shorten any url using a service like <a href="http://twig.mx" rel="nofollow">http://twig.mx</a>    just make the url call their api like this and make sure you use the http prefix in the url variable like this. If your url already has the http prefix, then just leave off the http prefix in the call to twig.</p>
<p>$newurl = &#8220;http://www.twig.mx/api-create.php?url=http://&#8221; . $url;<br />
$shorturl = file_get_contents($newurl);</p>
<p>or </p>
<p>$newurl = &#8220;http://www.twig.mx/api-create.php?url=&#8221; . $url;<br />
$shorturl = file_get_contents($newurl);</p>
<p>The $shorturl will contain a shortened url.</p>
<p>Then use the $shorturl in the HREF as shown above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Kendall</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-23922</link>
		<dc:creator>Graham Kendall</dc:creator>
		<pubDate>Fri, 14 Jan 2011 15:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-23922</guid>
		<description>Thanks for a nice post.

I've just reported a way to automatically tweet at http://graham-kendall.com/blog/?p=103/, which seems to work pretty well (at least at the moment :-)).

I have also recently implemented automatic shortening of URLs (using the bit.ly API), which I'll blog about soon, as well being able to tweet (on average) a set number of times a day (again, blog post coming soon).</description>
		<content:encoded><![CDATA[<p>Thanks for a nice post.</p>
<p>I&#8217;ve just reported a way to automatically tweet at <a href="http://graham-kendall.com/blog/?p=103/" rel="nofollow">http://graham-kendall.com/blog/?p=103/</a>, which seems to work pretty well (at least at the moment :-)).</p>
<p>I have also recently implemented automatic shortening of URLs (using the bit.ly API), which I&#8217;ll blog about soon, as well being able to tweet (on average) a set number of times a day (again, blog post coming soon).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jefri</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-16225</link>
		<dc:creator>Jefri</dc:creator>
		<pubDate>Sat, 23 Oct 2010 03:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-16225</guid>
		<description>Do you have any idea to make a "share this" button for http://my-status.net ?
it's a new social media based on microblogging platform like Twitter..</description>
		<content:encoded><![CDATA[<p>Do you have any idea to make a &#8220;share this&#8221; button for <a href="http://my-status.net" rel="nofollow">http://my-status.net</a> ?<br />
it&#8217;s a new social media based on microblogging platform like Twitter..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam Dawe</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-12720</link>
		<dc:creator>Liam Dawe</dc:creator>
		<pubDate>Tue, 31 Aug 2010 09:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-12720</guid>
		<description>Is there a way to add the ability to add "#Stuff" to it taking that into account with the character limit but being sure to keep it in? So people can see topics.</description>
		<content:encoded><![CDATA[<p>Is there a way to add the ability to add &#8220;#Stuff&#8221; to it taking that into account with the character limit but being sure to keep it in? So people can see topics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-8278</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 28 Apr 2010 13:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-8278</guid>
		<description>Not currently.</description>
		<content:encoded><![CDATA[<p>Not currently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilberto</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-8106</link>
		<dc:creator>Gilberto</dc:creator>
		<pubDate>Tue, 20 Apr 2010 22:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-8106</guid>
		<description>Is there a way to shorten the url?</description>
		<content:encoded><![CDATA[<p>Is there a way to shorten the url?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Whittaker</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-6835</link>
		<dc:creator>Tony Whittaker</dc:creator>
		<pubDate>Fri, 26 Feb 2010 23:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-6835</guid>
		<description>Great script. Thanks. And if you add onclick="w=window.open(this.href,\'tweet\',\'width=800,height=450,scrollbars,resizable,left=0,top=0\'); w.focus(); return false;\" 
between the a and href, and remove the target=blank, you can get it to open in a popup window instead.

Best wishes

Tony</description>
		<content:encoded><![CDATA[<p>Great script. Thanks. And if you add onclick=&#8221;w=window.open(this.href,\&#8217;tweet\&#8217;,\&#8217;width=800,height=450,scrollbars,resizable,left=0,top=0\&#8217;); w.focus(); return false;\&#8221;<br />
between the a and href, and remove the target=blank, you can get it to open in a popup window instead.</p>
<p>Best wishes</p>
<p>Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DeZiner76hd</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-6675</link>
		<dc:creator>DeZiner76hd</dc:creator>
		<pubDate>Sat, 20 Feb 2010 22:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-6675</guid>
		<description>This is a great script and so is your html script. The html script I can get working the php script I am confused on how to implement  it. Where does the actual fuction go so it can be called?
Thank you 
DeZiner</description>
		<content:encoded><![CDATA[<p>This is a great script and so is your html script. The html script I can get working the php script I am confused on how to implement  it. Where does the actual fuction go so it can be called?<br />
Thank you<br />
DeZiner</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas Rush</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-5633</link>
		<dc:creator>Nicholas Rush</dc:creator>
		<pubDate>Mon, 11 Jan 2010 08:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-5633</guid>
		<description>Another good piece of code, personally I prefer php over Java for such. I feel that more browsers find php acceptable.</description>
		<content:encoded><![CDATA[<p>Another good piece of code, personally I prefer php over Java for such. I feel that more browsers find php acceptable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Elsner</title>
		<link>http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-in-php/comment-page-1/#comment-2895</link>
		<dc:creator>Peter Elsner</dc:creator>
		<pubDate>Mon, 14 Sep 2009 01:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.sascha-kimmel.com/?p=66#comment-2895</guid>
		<description>Nevermind what I just said.  I see what the script is supposed to do :)  I was reading the description as to what it was supposed to do incorrectly...</description>
		<content:encoded><![CDATA[<p>Nevermind what I just said.  I see what the script is supposed to do <img src='http://www.saschakimmel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I was reading the description as to what it was supposed to do incorrectly&#8230;</p>
]]></content:encoded>
	</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! -->
