1 | <?xml version="1.0"?> |
---|
2 | <!-- |
---|
3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
4 | contributor license agreements. See the NOTICE file distributed with |
---|
5 | this work for additional information regarding copyright ownership. |
---|
6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
7 | (the "License"); you may not use this file except in compliance with |
---|
8 | the License. You may obtain a copy of the License at |
---|
9 | |
---|
10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
11 | |
---|
12 | Unless required by applicable law or agreed to in writing, software |
---|
13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
15 | See the License for the specific language governing permissions and |
---|
16 | limitations under the License. |
---|
17 | --> |
---|
18 | <plugin id="feed" name="Feed Parse/Index/Query Plug-in" version="1.0.0" |
---|
19 | provider-name="nutch.org"> |
---|
20 | <runtime> |
---|
21 | <library name="feed.jar"> |
---|
22 | <export name="*" /> |
---|
23 | </library> |
---|
24 | <library name="rome-0.9.jar" /> |
---|
25 | </runtime> |
---|
26 | |
---|
27 | <requires> |
---|
28 | <import plugin="nutch-extensionpoints" /> |
---|
29 | <import plugin="lib-xml" /> |
---|
30 | </requires> |
---|
31 | |
---|
32 | <extension id="org.apache.nutch.parse.feed" name="Feed Parser" |
---|
33 | point="org.apache.nutch.parse.Parser"> |
---|
34 | |
---|
35 | <implementation id="org.apache.nutch.parse.feed.FeedParser" |
---|
36 | class="org.apache.nutch.parse.feed.FeedParser"> |
---|
37 | <parameter name="contentType" value="application/rss+xml" /> |
---|
38 | <parameter name="contentType" value="application/atom+xml" /> |
---|
39 | <parameter name="contentType" value="text/xml" /> |
---|
40 | <parameter name="pathSuffix" value="rss" /> |
---|
41 | </implementation> |
---|
42 | </extension> |
---|
43 | <extension id="org.apache.nutch.indexer.feed" name="Feed Indexer" |
---|
44 | point="org.apache.nutch.indexer.IndexingFilter"> |
---|
45 | <implementation id="FeedIndexingFilter" |
---|
46 | class="org.apache.nutch.indexer.feed.FeedIndexingFilter" /> |
---|
47 | </extension> |
---|
48 | </plugin> |
---|