Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

* added CrawlProfileEditor_p.xml for monitoring in yacybar

f1orib9602e891ac4
diff --git a/htroot/CrawlProfileEditor_p.java b/htroot/CrawlProfileEditor_p.java
index b91adffd4..bd295a48f 100644
--- a/htroot/CrawlProfileEditor_p.java
+++ b/htroot/CrawlProfileEditor_p.java
@@ -210,7 +210,7 @@ public class CrawlProfileEditor_p {
prop.put("crawlProfiles_" + count + "_dark", dark ? "1" : "0");
prop.put("crawlProfiles_" + count + "_status", active ? "1" : "0");
prop.put("crawlProfiles_" + count + "_name", profile.name());
- prop.put("crawlProfiles_" + count + "_startURL", profile.startURL());
+ prop.putHTML("crawlProfiles_" + count + "_startURL", profile.startURL(), true);
prop.put("crawlProfiles_" + count + "_handle", profile.handle());
prop.put("crawlProfiles_" + count + "_depth", profile.generalDepth());
prop.put("crawlProfiles_" + count + "_filter", profile.generalFilter());
diff --git a/htroot/CrawlProfileEditor_p.xml b/htroot/CrawlProfileEditor_p.xml
new file mode 100644
index 000000000..9194dc61a
--- /dev/null
+++ b/htroot/CrawlProfileEditor_p.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<crawlProfiles>
+#{crawlProfiles}#
+ <crawlProfile>
+ <name>#[name]#</name>
+ <status>#(status)#terminated::active#(/status)#</status>
+ <starturl>#[startURL]#</starturl>
+ <depth>#[depth]#</depth>
+ <filter>#[filter]#</filter>
+ <crawlingIfOlder>#[crawlingIfOlder]#</crawlingIfOlder>
+ <crawlingDomFilterDepth>#[crawlingDomFilterDepth]#</crawlingDomFilterDepth>
+ <crawlingDomFilterContent>
+ #{crawlingDomFilterContent}#
+ <item>#[item]#</item>
+ #{/crawlingDomFilterContent}#
+ </crawlingDomFilterContent>
+ <crawlingDomMaxPages>#[crawlingDomMaxPages]#</crawlingDomMaxPages>
+ <withQuery>#(withQuery)#no::yes#(/withQuery)#</withQuery>
+ <storeCache>#(storeCache)#no::yes#(/storeCache)#</storeCache>
+ <indexText>#(indexText)#no::yes#(/indexText)#</indexText>
+ <indexMedia>#(indexMedia)#no::yes#(/indexMedia)#</indexMedia>
+ <remoteIndexing>#(remoteIndexing)#no::yes#(/remoteIndexing)#</remoteIndexing>
+ </crawlProfile>
+#{/crawlProfiles}#
+</crawlProfiles>