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.
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