rss_auto_excerpt updates (0.4)
Another update is available for rss_auto_excerpt. This update adds the ability to generate excerpts based on a number of sentences from the article body. The plugin previously supported excerpt generation by number of characters, words and paragraphs.
In addition, I updated the format of the plugin help. Hopefully this format is easier to read. Any thoughts on the change are welcome.
A few days ago I released version 0.3 which includes new attributes that allow you to specify which field to use for the excerpt and body. This will allow you to use any article field (i.e., a custom field) to generate your excerpt. There is also a new excerptwraptag attribute so that you can wrap the auto-excerpt in an HTML tag.
For example, if you have a custom field called AnotherExcerpt and wanted to show that field if it has data, otherwise you want to show the normal excerpt field, call the plugin as follows:
<txp:rss_auto_excerpt excerpt="AnotherExcerpt" body="excerpt" excerptwraptag="p" length="500" />
Comments
Add a comment
You may use textile in your comment. Gravatars are enabled. Your email will not be displayed and will remain private. I reserve the right to edit or delete comments.
