increased number of links limitation from 1000 to 10000 for rss feeds

and html documents
pull/1/head
orbiter 12 years ago
parent 243b66ae6d
commit 17ae51e741

@ -156,7 +156,7 @@ target_path_folders_sxt
## the values from key-value pairs in the search part of the url (target)
#target_parameter_value_sxt
## "depth of web page according to number of clicks from the 'main' page, which is the page that appears if only the host is entered as url (target)
## depth of web page according to number of clicks from the 'main' page, which is the page that appears if only the host is entered as url (target)
#target_clickdepth_i
## host of the url (target)

@ -31,7 +31,7 @@ import java.util.Set;
public class RSSFeed implements Iterable<RSSMessage> {
public static final int DEFAULT_MAXSIZE = 1000;
public static final int DEFAULT_MAXSIZE = 10000;
// class variables
private RSSMessage channel;

@ -51,7 +51,7 @@ import com.ibm.icu.text.CharsetDetector;
public class htmlParser extends AbstractParser implements Parser {
private static final Pattern patternUnderline = Pattern.compile("_");
private static final int maxLinks = 1000;
private static final int maxLinks = 10000;
public htmlParser() {
super("Streaming HTML Parser");

Loading…
Cancel
Save