Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

The fuzzytraverser allow traverse via url issued with some corrupion

Project Description
Short package description
=========================

Package developed to provide possibility display web pages correctly when
URL issued with a few misstakes (changing and missing letters, etc).

Package consist from three paths:

FuzzyTraverser
To turn on fuzzy traverser, interface IFuzzyTraverser must be
appointed to container, traversed by this way. For example,
see some ZCML-directive::

<class class="zope.app.folder.folder.Folder">
<implements
interface="ng.fuzzytraverser.interfaces.IFuzzyTraverser"
/>
</class>

All content names of this container may be miss entered into url-bar
of your browser. Error sensibility of fuzzy traverser can be
customize by means of special utility or annotations of traversed
containers;

FuzzyTraverserProperties
The IFuzzyTraverserProperties utility can be added into local
site-manager and get enable possibility set fuzzy traverse
parameters. The utility must be registered with interface printed
bellow::

ng.fuzzytraverser.fuzzytraverserproperties.interfaces.IFuzzyTraverserProperties

Custom parameters followed:

On
Fuzzy traverser turn on (it worked as ordinal traverser otherwize);

Rate
Detectiob threshold - this is maximal corruption grade on
which name can be determined yet. Entering values above 0.5
is not recomended;

Use
The parameter reserved on future.

FuzzyTraverserAnnotation
To turn on customize traverser in defferent areas of site tree, you
can customize via annotations of traversed containers. Interface
IFuzzyTraverserAnnotable must be appointed on container to get such
posibiblity. For example::

<class class="zope.app.folder.folder.Folder">
<implements
interface="ng.fuzzytraverser.fuzzytraverserannotation.\
interfaces.IFuzzyTraverserAnnotable"
/>
</class>

After what each object provided such interface
(zope.app.folder.folder.Folder in our sample) be have page titled
FuzzyTraverser. Parameters to custom on this page are followed:

On
Fuzzy traverser turn on (it worked as ordinal traverser
otherwize);

Rate
Detectiob threshold - this is maximal corruption grade on
which name can be determined yet. Entering values above 0.5
is not recomended;

Use
This annotation parameters will be used to get solution.

Short recomends for use
-----------------------

Product highly resourse hungry and it turn on for containers large then 100
items is not recommends.



* Sun Jan 13 2008 Andrey Orlov <dbdt@dreambot.ru> 1.0.1
- License declaration changed
- Trace statements excluded

* Thu Nov 15 2007 Andrey Orlov <dbdt@dreambot.ru> 1.0.0
- first official release
Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ng.fuzzytraverser-1.0.1.tar.gz (8.5 kB) Copy SHA256 Checksum SHA256 Source Jan 13, 2008

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting