Open GoogleCodeExporter opened 9 years ago
The scope of this activity is to integrate a feed reading api within the
editor.
Currently there are feed parsing libraries for different kinds of data feeds
e.g. json, rss, rdf etc - each of these have their own apis and calling
methods. As part of this task -- a single API wrapper library must be written
to be able to parse different kinds of feeds i.e. whether we want to parse JSON
or RSS the API used within the editor must be the same.
One way to do this is to have a common Iinterface class for feeds and specific
data feed parsers are accessible through this interface somethign like :
IFeedInterface (generic feed reader interface ... ) JSonReader implements
IFeedInterface (for JSon feeds ) ... RDFReader implements IFeedInterface (for
RDF feeds etc...). This allows dynamism by allowing loading of specific
readers using a Factory class. This also allows developing the feed reader as
a separate library with its own unit tests etc - which can then be imported as
desired in the Editor API or any other application library.
Additionally it may be useful to integrate this with the Editor using the
Editor Plugin interface. Examples of usage of the plugin interface are
available here :
Plugin configuration :
http://code.google.com/p/bungeni-editor/source/browse/#svn/BungeniEditor/trunk/B
ungeniEditorClient/runtime_required/plugins
Generic Plugin interface, for writing Bungeni Editor plugins :
http://code.google.com/p/bungeni-editor/source/browse/#svn/plugins/BungeniEditor
PluginInterface
This is the structural rules plugin (an example library, integrated as a plugin
with the editor ) :
http://code.google.com/p/bungeni-editor/source/browse/#svn/plugins/BungeniOdfStr
ucturalRules
Original comment by ashok.ha...@gmail.com
on 8 Oct 2010 at 6:27
Original issue reported on code.google.com by
ashok.ha...@gmail.com
on 26 Feb 2010 at 7:34