1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
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 |
---|
19 | id="parse-rss" |
---|
20 | name="RSS Parse Plug-in" |
---|
21 | version="1.0.0" |
---|
22 | provider-name="edu.usc.cs.cs599"> |
---|
23 | |
---|
24 | |
---|
25 | <runtime> |
---|
26 | <library name="parse-rss.jar"> |
---|
27 | <export name="*"/> |
---|
28 | </library> |
---|
29 | <library name="commons-feedparser-0.6-fork.jar"/> |
---|
30 | <library name="xml-rpc-1.2.jar"/> |
---|
31 | </runtime> |
---|
32 | |
---|
33 | <requires> |
---|
34 | <import plugin="nutch-extensionpoints"/> |
---|
35 | <import plugin="lib-xml"/> |
---|
36 | </requires> |
---|
37 | |
---|
38 | <extension id="org.apache.nutch.parse.rss" |
---|
39 | name="RssParse" |
---|
40 | point="org.apache.nutch.parse.Parser"> |
---|
41 | |
---|
42 | <implementation id="org.apache.nutch.parse.rss.RSSParser" |
---|
43 | class="org.apache.nutch.parse.rss.RSSParser"> |
---|
44 | <parameter name="contentType" value="application/rss+xml"/> |
---|
45 | <parameter name="pathSuffix" value="rss"/> |
---|
46 | </implementation> |
---|
47 | </extension> |
---|
48 | |
---|
49 | </plugin> |
---|