function FM_TTML_summary($blogid, $id, $content, $keywords = array(), $useAbsolutePath = true) { global $blog; $view = FM_TTML_format($blogid, $id, $content, $keywords, $useAbsolutePath, true); if (!$blog['publishWholeOnRSS']) { $view = Utils_Unicode::lessen(removeAllTags(stripHTML($view)), 255); } return $view; }
function FM_TTML_summary($blogid, $id, $content, $keywords = array(), $useAbsolutePath = true) { $context = Model_Context::getInstance(); $view = FM_TTML_format($blogid, $id, $content, $keywords, $useAbsolutePath, true); if (!$context->getProperty("blog.publishWholeOnRSS")) { $view = Utils_Unicode::lessen(removeAllTags(stripHTML($view)), 255); } return $view; }