The Source for Java Technology Collaboration


Slash Plug In

This plug in is for use with feeds from Slash-based weblogs.

The latest version is 0.2 available.

Sample Usage

         
        SyndEntry entry = new SyndEntryImpl();
        // set up the entry...
        Slash slash = new SlashImpl();
        slash.setComments( new Integer( 12 ) );
        slash.setDepartment( "look-another-rome-plugin" );
        slash.setSection("code");
        slash.setHitParade( new Integer[] { new Integer(12), new Integer(0) } );
        List modules = new ArrayList();
        modules.add( slash );
        entry.setModules( modules );
        
        //Optionally, to get Slash information from a Feed:
        Slash slash = entry.getModule( Slash.URI );
        System.out.println( slash.getComments() );        
        

Changes:

0.2

Initial release from ROME.

-- Main.kebernet - 23 Apr 2006

Topic Slash . { Edit | Ref-By | Printable | Diffs r1 | More }
 XML java.net RSS

Revision r1 - 23 Apr 2006 - 22:52:32 - Main.kebernet
Parents: WebHome > Rome > RomeModules