News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Joshua Eichorn's Blog:
Adding Supr urls to your site
July 01, 2009 @ 09:22:41

In this new post to his blog Joshua Eichorn talks about a an automatic URL shortening service he has worked up, Su.pr, and how you can use their API to create shortened URLs for you own site.

Last week we launched our API which lets you integrate shorten and post functionality into any site or application. Today we are adding the ability to use your own domain for shortening. This lets you have urls like http://joshuaeichorn.com/9OPL so your readers can know what domain they are going too before they click on the link.

Using the API lets you set up, via a mod_rewrite (or any other URL rewriting tool) to match requests on your domain for a shortening code and make the call back to get the original URL as stored on the Su.pr service. You can find more details at this page on the StumbleUpon site.

0 comments voice your opinion now!
stumbleupon api url short supr


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso: Building a simple API proxy server with PHP

Padraic Brady's Blog: ZF Blog Tutorial Addendum #1: Base URL, Magic Quotes, Database Schema & UTF-8

Kristo Vaher: What you should know about API-centric web development and design

Ask About PHP Blog: Google Analytics API class for PHP

WaxJelly Blog: A More Complex PHP script using the YouTube API (with video details) PART 2


Community Events





Don't see your event here?
Let us know!


unittest opinion introduction podcast interview list series symfony2 framework threedevsandamaybe laravel release api code refactor developer testing language community install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework