PHP Classes
Icontem

Class: Cut HTML string


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of prajwala  >  Cut HTML string  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cut HTML string Support forum
Base name: cut-html-string
Description: Cut an HTML excerpt with a given text limit
Version: 1.1
Required PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 854 users
All time rank: 2810
Week users: 7 users
Week rank: 1268
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of prajwala
Name: prajwala <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Home page: ???
Age: ???
All time rank: 1685
Week rank: 945

Innovation Award

PHP Programming Innovation award winner
May 2009
Winner
In PHP, it is easy to extract an excerpt of a text string with a given length limit. But if you want to extract an excerpt from HTML, the tags that may exist in the text string make it more complicated.

This class provides a solution to extract excerpts from HTML documents with a given text length limit without counting the length of any HTML tags.

Manuel Lemos

Groups

Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to cut an HTML excerpt with a given text limit.

It takes a string with an HTML excerpt and return the initial text and tags so the text does not exceed a given limit.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Sufficient (75.0%)
-
-
-
-
Not sure (45.0%)
1595
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
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
Documentation Documentation

Files

File Role Description
Plain text file cut-html-string Class Cut html string without cutting html tags
Download all files: cut-html-string.tar.gz cut-html-string.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2010 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products