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

Method Summary
 Post prepareForView(BlogRunData data, Post post)
          Prepare a post for viewing.
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IBlogExtension
getPreferences, setPreferences
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtension
getName, getPlugin
 

Method Detail

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 request
post - the post that will be prepared
Returns:
the post as processed.


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.