Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Dependant files query

Reply
Thread Tools

Dependant files query

 
 
KiwiBrian
Guest
Posts: n/a
 
      10-15-2004
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?

TIA
Brian Tozer


 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      10-15-2004
In alt.html KiwiBrian said:

> 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


the xenu link checker comes to mind. as part of its checking process it
spews out lists of dependent files.
http://home.snafu.de/tilman/xenulink.html

> and CSS files?


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
 
Reply With Quote
 
 
 
 
Toby Inkster
Guest
Posts: n/a
 
      10-16-2004
KiwiBrian wrote:

> 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?


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:

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

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 ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./rem/automatic_for_the_people/09_star_me_kitten.ogg

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating runnable .jar with dependant libraries? Bas Java 2 05-04-2006 07:23 PM
testing -- what to do for testing code with behaviour dependant uponwhich files exist? Brian van den Broek Python 3 04-03-2005 12:28 AM
User dependant css Eje ASP General 4 10-06-2004 10:30 AM
Problems using freeze with platform dependant compiles Jeff Smith Python 1 07-29-2004 02:26 PM
image dependant on resolution Michael Tonelli HTML 11 07-23-2004 05:01 PM



Advertisments