I’ve just finished a quick version 0.1 plugin to pick out an excerpt for an entry.
It works by finding the field defined as the search excerpt in the admin panel, then truncating it and appending it with a trailing string:
{exp:weblog:entries weblog="weblog1|weblog2|weblog3"}
{exp:linssen_excerpt entry_id="entry_id" word_limit="30" trailer="... read more"}
{/exp:weblog:entries}So you can see it’s useful if you’re using multiple weblogs or you don’t know which field to use as an excerpt or you’re just lazy 😉.
I’ve popped the code for the excerpt plugin up on my website, I’d appreciate some feedback and obviously notes if you run into problems. Cheers guys!