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

SitePoint PHP Blog: Testing APIs with RAML

Zend Developer Zone: Integrating Flickr Photostreams with PHP

Lorna Mitchell's Blog: Gthub API: Issues List

Daniel Cousineau' Blog: A Lesson in Good Architecture

Brian Moon's Blog: Short Array Syntax for PHP


Community Events

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


api library podcast laravel language community voicesoftheelephpant symfony threedevsandamaybe series version security framework opinion laravel5 introduction interview release extension unittest

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