net.sourceforge.blogentis.plugins.base
Interface IPostViewExtension
- All Superinterfaces:
- IBlogExtension, IExtension
- All Known Implementing Classes:
- AbstractPostViewExtension
- public interface IPostViewExtension
- extends IBlogExtension
This extension will be invoked whenever a post is about to be viewed, either
in an HTML page or in an RSS Feed. Actions could include preparing a word
count, substituting acronyms with links, anything.
The returned post can even be a new object.
- Author:
- abas
prepareForView
public Post prepareForView(BlogRunData data,
Post post)
- Prepare a post for viewing. This method is free to make with the post
anything, except saving it to disk. The return value is at this time the
Post itself.
- Parameters:
data
- the run-time data of the requestpost
- the post that will be prepared
- Returns:
- the post as processed.
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.