Thanks for the information. I have added a bit to the code you mentioned.
The problem was that some blogs were not getting the intro shortened, so that the intro text was the same length as the main text. This only happen on blogs from blogspot, and blogger. So I wrote code to check and see if the intro text is less than 1200 characters. If it is larger than that, then it did not get shortened, and so I shortened it to 1000 characters.
Joomla! 1.0.13 Stable
Feed2post: 1.5
line 450 in admin.feedpost.php
| Code: |
$introTxt = str_replace( '<br>', '<br />', $introText );
if (strlen($introTxt) > 1200)
{
$introTxt = substr($introTxt,0,1000);
$row->introtext = $introTxt . "[...]";
}
else
{
$row->introtext = $introTxt;
}
|