| Subject: | in truncateText() method I would use... |
| 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 |
|
|
 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:
scripts.morshed-alam.com/url-scrape ...
 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
|