Re: A module for adding link suggestions to 404 pages

2010-01-02 Thread aditya
Thanks for the link to the spelling correction chapter. It will be nice to have a solid walkthrough of basic correction theory. As for making it exclusively for Django, I had the same issue you brought up...flat pages and templates. For example, I have url patterns like: /project/* on my site, and

Re: A module for adding link suggestions to 404 pages

2010-01-02 Thread Raja
If its just for Django, then it could be simpler as the only possible URLs (with exception to flatpages) will be from urls.py. (Equivalent of the urls list object from your codebase). On googling for a similar app earlier, I found this chapter online about Spelling correction. http://nlp.stanford.e

A module for adding link suggestions to 404 pages

2010-01-01 Thread aditya
While redoing my website, I came up with a simple module that adds a url suggestion if a user encounters a 404 page. For example, following this link: http://www.wefoundland.com/rresume will lead you to a 404 page that points you to the right place. I'm currently starting to rewrite this module so