<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 14:12:45 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[99Points.info: Youtube Style Share Button With URL Shortening using CURL, jQuery and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14871</guid>
      <link>http://www.phpdeveloper.org/news/14871</link>
      <description><![CDATA[<p>
In a recent post on the 99Points.info blog <i>Zeeshan Rasool</i> walks you through the steps to <a href="http://www.99points.info/2010/07/youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php/">create a share button</a> with URL shortening using PHP, jQuery and curl.
</p>
<blockquote>
These days every website must contain a section that is called 'Share This'. After <a href="http://www.99points.info/2010/07/facebook-style-wallpost-and-comments-system-using-jquery-ajax-and-php-reloaded/">creating facebook style posting</a> and <a href="http://www.99points.info/2010/07/youtube-style-ratingvoting-system-using-jquery-ajax-and-php-ever-best-tutorial/">youtube style rating system</a>  I have now come to share button. I have created youtube style share button with url shortening script. Try the demo and use this awesome tutorial on your web pages. 
</blockquote>
<p>
His tutorial includes all of the code needed - Javascript, PHP and some CSS - to create a small "share this" button that can be embedded in your site to open pages on the remote sites with the shortened URL for the current page.
</p>]]></description>
      <pubDate>Thu, 29 Jul 2010 12:38:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: expanding short url to original url using PHP and CURL]]></title>
      <guid>http://www.phpdeveloper.org/news/12468</guid>
      <link>http://www.phpdeveloper.org/news/12468</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has <a href="http://hasin.wordpress.com/2009/05/05/expanding-short-urls-to-original-urls-using-php-and-curl/">a quick post</a> about taking a URL in the opposite direction than most seem to go these days - from shortened to the long, full URL.
</p>
<blockquote>
Now when you get the short url shortened by using any of these services, you dont know where your browser is taking you! so if you are interested to figure out the original url hiding behind these short url, you need to have a little knowledge on how these services actually work.
</blockquote>
<p>
Then the short URL is hit, the HTTP response is in the 300 family and the browser is redirected to the correct location. He uses cURL in PHP to grab this header information and parse out the full-length URL to return both the URL requested (the shortened one) and the full-length it was generated to point to.
</p>]]></description>
      <pubDate>Wed, 06 May 2009 12:59:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Run Your Own TinyURL Service With Phurl]]></title>
      <guid>http://www.phpdeveloper.org/news/11757</guid>
      <link>http://www.phpdeveloper.org/news/11757</link>
      <description><![CDATA[<p>
In <a href="http://nettuts.com/tutorials/other/run-your-own-tinyurl-service-with-phurl/">this recent tutorial</a> from the NETTUTS.com website they show how you can create your own URL shortening service (think <a href="http://tinyurl.com">tinyurl</a> or <a href="http://tr.im">tr.im</a>) with the help of the <a href="http://www.hido.net/projects/phurl/">Phurl</a> PHP application.
</p>
<blockquote>
URL shortening services are a must if microblogging services like Twitter are to work. In 140 characters, you don't want the URL you're linking to eating up 100 of them. Or worse, it might not even fit. Enter <a href="http://tinyurl.com/">TinyURL</a>, and a bunch of other services that give you a shorter custom URL pointing to the target site. But why not roll your own, using <a href="http://www.hido.net/projects/phurl/">Phurl</a>? Let's do it! 
</blockquote>
<p>
<a href="http://nettuts.com/tutorials/other/run-your-own-tinyurl-service-with-phurl/">The tutorial</a> walks you through the installation (quick and easy thanks to a graphical installer) and some usage examples (with screenshots). A few other things - like branding and allowing multiple URLs - are suggested as future enhancements.
</p>]]></description>
      <pubDate>Fri, 16 Jan 2009 15:31:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Tinyizing URLs with Zend_Http_Client]]></title>
      <guid>http://www.phpdeveloper.org/news/11329</guid>
      <link>http://www.phpdeveloper.org/news/11329</link>
      <description><![CDATA[<p>
In <a href="http://raphaelstolt.blogspot.com/2008/10/tinyizing-urls-with-zendhttpclient.html">this new post</a> today <i>Raphael Stolt</i> shows how to use the Zend_Http_Client component of the <a href="http://framework.zend.com">Zend Framework</a> to "tinyize" a URL.
</p>
<blockquote>
In a recent <a href="http://www.davedevelopment.co.uk/2008/10/13/zend-framework-and-the-twitter-api/">blog post</a> Dave Marshall outlined a quick workaround for tweeting via the <a href="http://framework.zend.com/manual/en/zend.http.html#zend.http.client">Zend_Http_Client</a> component which is a reasonable approach for calling services that aren't in the Zend Framework core yet like <a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Twitter">Zend_Service_Twitter</a> or are not supported out of the box. Therefore this post will try to describe a Zend Framework way of creating tinyized URLs.
</blockquote>
<p>
He creates a UrlShorterner interface containing a shortenize() method that automates sending a URL over to the <a href="http://www.tinyurl.com">tinyurl.com</a> web service and returning the results.
</p>]]></description>
      <pubDate>Mon, 03 Nov 2008 07:55:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: PHP Tidbits]]></title>
      <guid>http://www.phpdeveloper.org/news/6567</guid>
      <link>http://www.phpdeveloper.org/news/6567</link>
      <description><![CDATA[<p>
<i>Chris Shiflett</i>, in working on a new, cleaner and leaner version of his site, <a href="http://www.shiflett.org">shiflett.org</a>, has come across a few "PHP tidbits" that he shares in his <a href="http://shiflett.org/archive/274">latest entry</a>.
</p>
<blockquote>
Just for fun, I'd like to share a couple of quick PHP tidbits with you that I wrote instead of starting on the real project at hand.
</blockquote>
<p>
<a href="http://shiflett.org/archive/274">This post</a> is the first of them, demonstrating two things . The first of which how you can make a useful tool with the SimpleXML functionality of PHP 5 and a REST API (like his example from <a href="http://feedburner.com/fb/a/api/awareness">Feedburner</a>). His example grabs the statistics from the Feedburner API and pulls out the circulation number with two lines of code. 
</p>
<p>
The second bit of functionality he shares is a quick function for shortening URLs to make them a bit easier to manage. It insets the ellipsis into the middle of the long URL to make it easier to squeeze into that layout.
</p>]]></description>
      <pubDate>Wed, 25 Oct 2006 07:34:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ryan Malesevich's Blog: WP Plugins: WP-Chunk]]></title>
      <guid>http://www.phpdeveloper.org/news/6124</guid>
      <link>http://www.phpdeveloper.org/news/6124</link>
      <description><![CDATA[<p>
<i>Ryan Malesevich</i> is back on his blog today with a look at <a href="http://ryanslife.net/2006/08/23/wp-plugins-wp-chunk/">another WordPress plugin</a> - WP-Chunk, a tool to split up large data so to conforms more to the page layout.
</p>
<blockquote>
Occassionally I'll have someone post a comment that includes a URL. Wordpress automatically links to that URL, but often times it's too large for the alotted space. So depending on the browser, it might break it entirely. <a href="http://johntp.com/">John</a> recently wrote about a plugin that would fix that problem. <a href="http://www.village-idiot.org/archives/2006/06/29/wp-chunk/">WP-Chunk</a> doesn't require much to work. There's no customization, or settings to change, it just works.
</blockquote>
<p>
His <a href="http://ryanslife.net/2006/08/23/wp-plugins-wp-chunk/">example</a> is of a long URL, but I imagine you could use it for any content that would cause the output of the post to expand out too far. And no configuration makes it even better!
</p>]]></description>
      <pubDate>Thu, 24 Aug 2006 07:32:19 -0500</pubDate>
    </item>
  </channel>
</rss>
