mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
parent
589f4dafb9
commit
9fc82574f0
@ -57,6 +57,7 @@ public class DocumentGeneratorExtractor {
|
|||||||
case "one.com":
|
case "one.com":
|
||||||
case "wix.com":
|
case "wix.com":
|
||||||
case "wpbakery":
|
case "wpbakery":
|
||||||
|
case "FluxGarden":
|
||||||
return DocumentGenerator.of(parts[0]);
|
return DocumentGenerator.of(parts[0]);
|
||||||
case "adobe":
|
case "adobe":
|
||||||
case "microsoft":
|
case "microsoft":
|
||||||
@ -183,7 +184,7 @@ public class DocumentGeneratorExtractor {
|
|||||||
return DocumentGenerator.of("apache");
|
return DocumentGenerator.of("apache");
|
||||||
}
|
}
|
||||||
if (header.contains("server: cowboy")) {
|
if (header.contains("server: cowboy")) {
|
||||||
return DocumentGenerator.of("cowboy"); // erlang, really?!
|
return DocumentGenerator.of("cowboy"); // erlang, apparently
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -281,7 +282,7 @@ public class DocumentGeneratorExtractor {
|
|||||||
-> GeneratorType.FORUM;
|
-> GeneratorType.FORUM;
|
||||||
case "mediawiki", "dokuwiki", "wikidot", "sharepoint"
|
case "mediawiki", "dokuwiki", "wikidot", "sharepoint"
|
||||||
-> GeneratorType.WIKI;
|
-> GeneratorType.WIKI;
|
||||||
case "pandoc", "mkdocs", "doxygen", "javadoc", "asciidoc", "jsdoc"
|
case "pandoc", "mkdocs", "doxygen", "javadoc", "asciidoc", "jsdoc", "FluxGarden"
|
||||||
-> GeneratorType.DOCS;
|
-> GeneratorType.DOCS;
|
||||||
case "woocommerce", "shopfactory", "prestashop", "magento", "shopify", "sitedirect", "seomatic", "osclass"
|
case "woocommerce", "shopfactory", "prestashop", "magento", "shopify", "sitedirect", "seomatic", "osclass"
|
||||||
-> GeneratorType.ECOMMERCE_AND_SPAM;
|
-> GeneratorType.ECOMMERCE_AND_SPAM;
|
||||||
|
Loading…
Reference in New Issue
Block a user