Dependant files query

Discussion in 'HTML' started by KiwiBrian, Oct 15, 2004.

  1. KiwiBrian

    KiwiBrian Guest

    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
     
    KiwiBrian, Oct 15, 2004
    #1
    1. Advertising

  2. KiwiBrian

    brucie Guest

    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
     
    brucie, Oct 15, 2004
    #2
    1. Advertising

  3. KiwiBrian

    Toby Inkster Guest

    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
     
    Toby Inkster, Oct 16, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Tonelli

    image dependant on resolution

    Michael Tonelli, Jul 21, 2004, in forum: HTML
    Replies:
    11
    Views:
    694
    Andy Dingley
    Jul 23, 2004
  2. Bas
    Replies:
    2
    Views:
    5,938
    Roedy Green
    May 4, 2006
  3. Jeff Smith
    Replies:
    1
    Views:
    313
    Jeff Smith
    Jul 29, 2004
  4. Brian van den Broek
    Replies:
    3
    Views:
    862
    Jeremy Bowers
    Apr 3, 2005
  5. Eje

    User dependant css

    Eje, Oct 5, 2004, in forum: ASP General
    Replies:
    4
    Views:
    145
    Guest
    Oct 6, 2004
Loading...

Share This Page