Dependant files query

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Is there a program, application, or utility, that I can point at an HTML
file and will produce a list of dependant files used by both the HTML and
CSS files?

Brian Tozer

Re: Dependant files query

In alt.html  KiwiBrian said:

Quoted text here. Click to load it

the xenu link checker comes to mind. as part of its checking process it
spews out lists of dependent files.

Quoted text here. Click to load it

dunno, but probably not. theres not much a css file can link to so its
an easy manual check.


   v      o      i      c      e      s

Re: Dependant files query

KiwiBrian wrote:

Quoted text here. Click to load it

Not very reliably, no.

Wget for example will let you download an HTML file and it's
"prerequisites" (linked images, etc), but you'd often need a very
intelligent piece for software to be able to calculate everything that a
page requires!

For example:

<script type="text/javascript">
for (var i=0; i<10; i++) {
  document.write("<img src=\"img" + i + ".jpeg\" alt=\"Image " + i + "\"><br>");

This page requires files img0.jpeg to img9.jpeg to load, but your program
would have to understand and run the Javascript to know that!

Toby A Inkster BSc (Hons) ARCS
Contact Me  ~
Now Playing ~ ./rem/automatic_for_the_people/09_star_me_kitten.ogg

Site Timeline