Hi,
I'm currently working to update this plugin.
Best regards.
On 10/9/06, nutch.newbie (JIRA) <[EMAIL PROTECTED]> wrote:
[
http://issues.apache.org/jira/browse/NUTCH-185?page=comments#action_12440886]
nutch.newbie commented on NUTCH-185:
------------------------------------
Is there any update to this plugin for 0.8.1 version? Its a great plugin
and I use it now in 0.7. Any update.. Sorry I am not a java guru to do
this myself :-(
Regards
> XMLParser is configurable xml parser plugin.
> --------------------------------------------
>
> Key: NUTCH-185
> URL: http://issues.apache.org/jira/browse/NUTCH-185
> Project: Nutch
> Issue Type: New Feature
> Components: fetcher, indexer
> Affects Versions: 0.7.2
> Environment: OS Independent
> Reporter: Rida Benjelloun
> Attachments: parse-xml.zip
>
>
> Xml parser is configurable plugin. It use XPath and namespaces to do
the mapping between the XML elements and Lucene fields.
> Informations :
> 1- Copy "xmlparser-conf.xml" to the nutch/conf dir
> 2- To index your custom XML file, you have to modify the "
xmlparser-conf.xml".
> This parser uses namespaces and XPATH to parse XML content
> The config file do the mapping between the XML noeds (using XPATH) and
lucene field.
> Example : <field name="dctitle" xpath="//dc:title" type="Text" boost="
1.4" />
> 3- The xmlIndexerProperties encapsulate a set of fields associated to a
namespace.
> If the namespace is found in the xml document, the fields represented by
the namespace will be indexed.
> Example :
> <xmlIndexerProperties type="filePerDocument" namespace="
http://purl.org/dc/elements/1.1/">
> <field name="dctitle" xpath="//dc:title" type="Text" boost=" 1.4" />
> <field name="dccreator" xpath="//dc:creator" type="keyword" boost="
1.0" />
> </xmlIndexerProperties>
> 4- It is possible to define a default namespace that will be applied
when the parser
> didn't find any namespace in the document or when the namespace found in
the xml document doesn't match with the namespace defined in the
xmlIndexerProperties.
> Example :
> <xmlIndexerProperties type="filePerDocument" namespace="default">
> <field name="xmlcontent" xpath="//*" type="Unstored" boost="1.0" />
> </xmlIndexerProperties>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-----------------------------------------------------------
Rida Benjelloun
Doculibre Inc.
http://www.doculibre.com
-----------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers