(fingerprint) Add FluxGarden as a wiki generator

#130
This commit is contained in:
Viktor Lofgren 2024-12-10 13:51:42 +01:00
parent 589f4dafb9
commit 9fc82574f0

View File

@ -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;