News Feed
Sections




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

Chris Shiflett's Blog:
PHP Tidbits
October 25, 2006 @ 07:34:05

Chris Shiflett, in working on a new, cleaner and leaner version of his site, shiflett.org, has come across a few "PHP tidbits" that he shares in his latest entry.

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.

This post 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 Feedburner). His example grabs the statistics from the Feedburner API and pulls out the circulation number with two lines of code.

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.

0 comments voice your opinion now!
tidbits example tutorial feedburner simplexml circulation shorten url tidbits example tutorial feedburner simplexml circulation shorten url


blog comments powered by Disqus

Similar Posts

HowTo Forge: How To Set Up A Facebook RSS Feed Reader

Zend Developer Zone: Dynamically Generating PDF Files with PHP and Haru

Nick Belhomme's Blog: PHP 5.3.3 Namespaces

Mikko Koppanen's Blog: ImagickPixelIterator is not read-only after all...

Hasin Hayder's Blog: Working with models in orchid


Community Events

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


api framework extension language community release library series podcast php7 introduction opinion voicesoftheelephpant list interview laravel wordpress unittest laravel5 version

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