twitter




Wednesday, March 17, 2010

How do I make a script to periodically get a page in my site and check its links for accessibility?

i already have bought a web hosting account.


i want my "new" server to check my all other sites (page by page) automatically (and periodically) for accessibility.


my site (and it's SiteMap) changes about 10 times a day.


so i want my server to get links from sitemap and check those links for accessibility. (i don't need serious Log)


please help me to set up this. (using script or other way)


i know C, HTML, and VB programing. But new to java. and knows nothing about Php.


Please give me steps to do this Or/And Links to detailed pages.
How do I make a script to periodically get a page in my site and check its links for accessibility?
My personal favorite to implementing this would be Python. It is very similar to C, but has powerful libraries that would allow you to do this in a few lines. Specifically, the httplib library allows you to fetch entire pages in one line of code.





Get "Learning Python". If you're good with C it will take you a few hours to learn Python.





A potentially smarter way to do this would be to use software that already exists, for example Xenu link sleuth (see link).
How do I make a script to periodically get a page in my site and check its links for accessibility?
Of which sort of accessibility do you speak? Website Accessibility Initiative? This cannot be done on an automatic basis. It must be done by a real person, or a mix of real people, with various disabilities, and with corresponding feedback to the website developer...


No comments:

Post a Comment