Class: URIHelper
Defined in: | src/kermit/util/tools.coffee |
Class Method Summary
- . (void) replaceHtmlEntities(url)
- . (void) clean(base, url) Process a set of URLs to produce a new set of cleaned, normalized and absolutized URLs.
- . (void) cleanAll(base, urls)
- . (void) normalize(url)
- . (void) toLocalPath(basedir = "", url) TODO: Use hash for queries that exceed max length of file names in ext4
Class Method Details
.
(void)
replaceHtmlEntities(url)
.
(void)
clean(base, url)
Process a set of URLs to produce a new set of cleaned, normalized and absolutized URLs. Removes mailto/javascript, self-references and in-page anchors
.
(void)
cleanAll(base, urls)
.
(void)
normalize(url)
.
(void)
toLocalPath(basedir = "", url)
TODO: Use hash for queries that exceed max length of file names in ext4