Page 1 of 1

Product Broken Links

Posted: Tue Jul 31, 2007 4:21 am
by dude81
Hi
What do we do to findout a broken links in a product especially where anchor tags references to images(names come from db) and files, xmlHttpRequestobj calls. Also the major problem I see is we've used templates like smarty engine to encode directory paths and Zend Framework. I've done a search in the forum , I got two links but both of them dont support my need.
http://forums.devnetwork.net/viewtopic.php?t=44055
I would like to see one script generating all the broken link report
Anyhelp on this is appreciated.

Thank You
dude81

Posted: Tue Jul 31, 2007 4:34 am
by onion2k
I wouldn't have thought this would be necessary if you have some sort of defined workflow in your admin system, with some quality assurance procedures (eg testing). If your image names are coming from a database then someone or something must be putting them in there. When they're entered they should be checked. After that there's no reason why they'd just break without someone changing something. Same goes for files.

As for xmlHttpRequest object calls ... that must be part of someone's code. If you're trying to automate testing of that then you must be rolling out services without testing them at all. Major alarm bells should be going off in your organisation if you're putting code live without any developer/tester interaction at all. You might be opening up massive security issues.

Posted: Tue Jul 31, 2007 4:45 am
by dude81
I would fully agree with you onion2k that testing should be done well before the release and we're doing that.

The broken link reports is something that we needed additionally(not to take a chance on anything), for example a code that works on windows perfectly doesn't work same on Linux box, like naming Conventions on linux could be a block for frameworks.

I needed a PHP script which would do this for me whenever I deploy the product on different environments and generate a report