|
Project Information
Links
|
A fairly flexible app that will analyze and report on links in any model that you register with it. Links can be bare (urls or image and file fields) or embedded in HTML (linkcheck handles the parsing). It's fairly easy to override methods of the Linkcheck object should you need to do anything more complicated (like generate URLs from slug fields etc). You should run it's management command via cron to check external links. Internal links should be automatically handled by signals. Source available here: http://github.com/andybak/django-linkcheck Basic usage1. Check out the code from Github and install it to somewhere on your Python path 2. Add something along the lines of linklists.py to every app that: a) either produces content that could contain links or images b) can be the target of a link (and if so should provide a get_absolute_url method so we can grab it's url) 3. Syncdb 4. Add (r'^admin/linkcheck/', include('linkcheck.urls')) to your root url config 5. View /admin/linkcheck/ from your browser 6. Tell us about the bugs you've found or to complain how bad the documentation is! |