diff --git a/htroot/AugmentedParsing_p.html b/htroot/AugmentedParsing_p.html index e54bafccb..28cb5103d 100644 --- a/htroot/AugmentedParsing_p.html +++ b/htroot/AugmentedParsing_p.html @@ -24,15 +24,6 @@ Globally enables or disables the augmented parser. This setting requires a restart.

- -
-
- Enabled
-

- Globally enables or disables the RDFa parser. This setting requires a restart. -

-
- diff --git a/htroot/AugmentedParsing_p.java b/htroot/AugmentedParsing_p.java index af628930b..481aead4e 100644 --- a/htroot/AugmentedParsing_p.java +++ b/htroot/AugmentedParsing_p.java @@ -16,21 +16,13 @@ public final class AugmentedParsing_p { env.setConfig("parserAugmentation", "on".equals(post.get("augmentedparserenabled")) ? true : false); - env.setConfig("parserAugmentation.RDFa", - "on".equals(post.get("augmentedparserRDFenabled")) ? true : false); - - } - } prop.put("augmentedparserenabled_checked", env.getConfigBool("parserAugmentation", false) ? "1" : "0"); - prop.put("augmentedparserRDFenabled_checked", - env.getConfigBool("parserAugmentation.RDFa", false) ? "1" : "0"); - // return rewrite properties return prop; } diff --git a/source/net/yacy/document/TextParser.java b/source/net/yacy/document/TextParser.java index 191793ca0..468d96b39 100644 --- a/source/net/yacy/document/TextParser.java +++ b/source/net/yacy/document/TextParser.java @@ -67,7 +67,6 @@ import net.yacy.document.parser.zipParser; import net.yacy.document.parser.augment.AugmentParser; import net.yacy.document.parser.images.genericImageParser; import net.yacy.document.parser.images.metadataImageParser; -import net.yacy.document.parser.rdfa.impl.RDFaParser; import net.yacy.kelondro.util.FileUtils; import net.yacy.kelondro.util.MemoryControl; import net.yacy.search.Switchboard; @@ -93,7 +92,7 @@ public final class TextParser { // AugmentParser calls internally RDFaParser (therefore add before RDFa) if (Switchboard.getSwitchboard().getConfigBool("parserAugmentation", true)) initParser(new AugmentParser()); // RDFaParser calls internally htmlParser (therefore add before html) - if (Switchboard.getSwitchboard().getConfigBool("parserAugmentation.RDFa", true)) initParser(new RDFaParser()); + // if (Switchboard.getSwitchboard().getConfigBool("parserAugmentation.RDFa", true)) initParser(new RDFaParser()); // experimental implementation, not working yet (2015-06-04) initParser(new htmlParser()); // called within rdfa parser initParser(new genericImageParser()); initParser(new metadataImageParser());