Login   Register  
PHP Classes
elePHPant
Icontem

in truncateText() method I would use http://www.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP Scrape Website Links  >  All threads  >  in truncateText() method I would use http://www.  >  (Un) Subscribe thread alerts  
Subject:in truncateText() method I would use http://www.
Summary:Package rating comment
Messages:2
Author:Rad Paluszak
Date:2013-06-26 11:26:39
Update:2013-06-26 19:06:49
 

Rad Paluszak rated this package as follows:

Utility: Good
Consistency: Good
Examples: Good

  1. in truncateText() method I would use http://www.   Reply   Report abuse  
Picture of Rad Paluszak
Rad Paluszak
2013-06-26 11:26:40
in truncateText() method I would use http://www.php.net/manual/en/function.wordwrap.php or manually lookup first space after the given number if chars, as on non-english characters substr splits the bytes and a diamond sign shows up.

In example:
http://www.scripts.morshed-alam.com/url-scraper-php/?target_ ...

  2. Re: in truncateText() method I would use http://www.   Reply   Report abuse  
Picture of Morshed Alam
Morshed Alam
2013-06-26 19:06:49 - In reply to message 1 from Rad Paluszak
Thank you for your message and using the package. I will modify the method later to support both formats. You can modify and send a pull request as well - https://github.com/morshedalam/url-scraper-php