Normalize URLs. See the tests.
(ns my.namespace
(:use [url-normalizer.core))
(canonicalize-url "http://www.example.com")
leiningen
[url-normalizer "0.0.5"]
maven
<dependency>
<groupId>url-normalizer</groupId>
<artifactId>url-normalizer</artifactId>
<version>0.0.4</version>
</dependency>
- Jay Donnell
- Nate Murray nate@xcombinator.com
Tests taken from Sam Ruby's version of urlnorm.py
- Sam Ruby's
urlnorm.py
- Wikipedia Page on URL Normalization
- Sang Ho Lee, Sung Jin Kim, and Seok Hoo Hong (2005). "On URL normalization". Proceedings of the International Conference on Computational Science and its Applications (ICCSA 2005). pp. 1076–1085.
Copyright (C) 2010
Distributed under the Eclipse Public License, the same as Clojure.