diff --git a/htroot/QuickCrawlLink_p.java b/htroot/QuickCrawlLink_p.java index 1d4ff307a..8926c016c 100644 --- a/htroot/QuickCrawlLink_p.java +++ b/htroot/QuickCrawlLink_p.java @@ -135,6 +135,7 @@ public class QuickCrawlLink_p { crawlingStartURL = new URL(crawlingStart); } catch (MalformedURLException e) { prop.put("mode_status", 1); + prop.put("mode_code", "1"); return prop; } @@ -165,6 +166,7 @@ public class QuickCrawlLink_p { } catch (Exception e) { // mist prop.put("mode_status", 2);//Error with url + prop.put("mode_code","2"); prop.put("mode_status_error", e.getMessage()); return prop; } @@ -183,8 +185,10 @@ public class QuickCrawlLink_p { // validate rejection reason if (reasonString == null) { prop.put("mode_status", 0);//start msg + prop.put("mode_code","0"); } else { prop.put("mode_status", 3);//start msg + prop.put("mode_code","3"); prop.put("mode_status_error", reasonString); } diff --git a/htroot/QuickCrawlLink_p.xml b/htroot/QuickCrawlLink_p.xml new file mode 100644 index 000000000..d12ef6f82 --- /dev/null +++ b/htroot/QuickCrawlLink_p.xml @@ -0,0 +1,13 @@ + + +#(mode)#:: + #[title]# + #[url]# + #(status)#URL successfully added to Crawler Queue + ::Malformed URL + ::Unable to create new crawling profile for URL: #[error]# + ::Unable to add URL to crawler queue: #[error]# + #(/status)# + +#(/mode)# + \ No newline at end of file