Dear Wiki user, You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The following page has been changed by JakeVanderdray: http://wiki.apache.org/nutch/WritingPlugins ------------------------------------------------------------------------------ You're going to need to create a directory inside of the plugin directory with the name of your plugin and inside that directory, you need the following: - * Your plugin as a jar file. - * Jar files of any packages your plugin needs. * A plugin.xml file that tells nutch about your plugin. + * A build.xml file that tells ant how to build your plugin. + * The source code your plugin. == The Anatomy of a Plugin.xml File == @@ -84, +84 @@ </plugin> }}} - * library name="parse-custom.jar" -- Tells Nutch that the name of your plugin is parse-custom.jar. - * library name="nekohtml-0.9.4.jar" -- Your plugin requires nekohtml which you have included in your directory. - * library name="tagsoup-1.0rc3.jar" -- Another requirement which you have also thoughtfully included. - == Getting Nutch to Use Your Plugin == In order to get Nutch to use your plugin, you need to edit your conf/nutch-site.xml file and add in a block like this:
