Login   Register  
PHP Classes
elePHPant
Icontem

Class: sm00sh Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lopo Lencastre de Almeida  >  sm00sh Class  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: sm00sh Class
Base name: sm00sh
Description: Replace URLs in HTML by short URLs from smsh.me
Related classes: , , , , , , ,
Version: 1.0
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 125 users
All time rank: 6293
Week users: 0 users
Week rank: 3707
Picture of Lopo Lencastre de Almeida
Author: Lopo Lencastre de Almeida is available for providing paid consulting. Contact Lopo Lencastre de Almeida .
Packages: 3 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Age: 45
All time rank: 94510 in Portugal Portugal
Week rank: 1275 Down22 Down in Portugal Portugal


  Detailed description  
This class can be used to replace URLs in HTML by short URLs from smsh.me .

It parses an HTML excerpt to extract the URLs of all links.

The class uses the smsh.me Web services API to create short URLs for all URLs found in the HTML and replaces all the links.

 

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes

  Screenshots Screenshots   Rate classes User ratings   Applications   Related links   Files Files  
  Files folder image Screenshots  
sm00sh homepage
File Role Description
Accessible without login Image file screenshot-1.png Screen sm00sh homepage


  User ratings  
Not yet rated by the users

  Applications that use this class  
Link Description
Drupal Module sm00sh content on Drupal nodes
Wordpress Plugin sm00sh content and comments in Wordpress blogs
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Sm00sh API API and addons information

  Files folder image Files  
File Role Description
Accessible without login Plain text file sample.php Example Example file explaining how to use the class. The important code are just three lines and quite self explanatory.
Accessible without login Plain text file smoosh.lib.php Class The class. Really simple. Requires PHP DOM, cURL and SimpleXML

Download all files: sm00sh.tar.gz sm00sh.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.