[twill] checking for bad links.

jeremiah jeremiah.jester at panasonic.aero
Fri Sep 26 12:28:56 PDT 2008

note: "go /site" should actually be full url.

On Fri, 2008-09-26 at 12:27 -0700, jeremiah wrote:
> Hellow,
> Just signed up for the list. Newbie at twill. Just want to make sure I'm
> doing things right here.
> I basically want to automate a script that will traverse my
> site/directory and redirect output for bad links on all pages to an
> error log.
> My question: Is it possible to do this with twill? Or do I need to
> specify each page individually?
> Here's what my twill script looks like as of current.
> #script
> redirect_output output.log
> redirect_error error.log
> extend_with check_links
> config check_links.only_collect_bad_links +
> go /site
> code 200
> check_links
> report_bad_links
> Any suggetsions?
> Thanks!
> JJ

Disclaimer: The information contained in this transmission, including any 
attachments, may contain confidential information of Panasonic Avionics
Corporation.  This transmission is intended only for the use of the 
addressee(s) listed above.  Unauthorized review, dissemination or other use 
of the information contained in this transmission is strictly prohibited. 
If you have received this transmission in error or have reason to believe 
you are not authorized to receive it, please notify the sender by return 
email and promptly delete the transmission.

More information about the twill mailing list