searching html documents

Discussion in 'Javascript' started by David Rwj Cherry CS2000, Nov 27, 2003.

  1. hi,
    i was wondering if you could cast some light on a confusing subject. is
    there a way which you know of that can search through html documents and
    extract selected information, and display that in another (main) html
    document??

    any clarification on this would be greatly appreciated.

    thanks

    david
     
    David Rwj Cherry CS2000, Nov 27, 2003
    #1
    1. Advertisements

  2. David Rwj Cherry CS2000 <> writes:

    > i was wondering if you could cast some light on a confusing
    > subject. is there a way which you know of that can search through html
    > documents and extract selected information, and display that in
    > another (main) html document??


    Plenty.

    > any clarification on this would be greatly appreciated.


    Definitly! What is it you want to do?

    Where do the pages come from (if not from the same domain, it's
    impossible in a normal browser). What do you have: A loaded page
    in a window or just the URL?

    Suggestion:
    Use DOM to create an iframe. Load the page into the iframe.
    Use DOM to traverse the document tree of the loaded page.

    /L
    --
    Lasse Reichstein Nielsen -
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
    'Faith without judgement merely degrades the spirit divine.'
     
    Lasse Reichstein Nielsen, Nov 27, 2003
    #2
    1. Advertisements

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. Darrel
    Replies:
    1
    Views:
    435
    Steve C. Orr [MVP, MCSD]
    Feb 18, 2005
  2. Frank LaRosa

    Parsing imperfect HTML documents

    Frank LaRosa, Jul 23, 2003, in forum: Java
    Replies:
    3
    Views:
    548
    Drew Volpe
    Jul 23, 2003
  3. kpierce

    Multiple HTML documents

    kpierce, Oct 10, 2003, in forum: Java
    Replies:
    1
    Views:
    437
    Chris Smith
    Oct 10, 2003
  4. Christopher R. Peterson

    Nested HTML Documents

    Christopher R. Peterson, Jun 22, 2003, in forum: HTML
    Replies:
    2
    Views:
    5,916
    Jukka K. Korpela
    Jun 23, 2003
  5. sal achhala

    Searching random XML documents

    sal achhala, Feb 25, 2004, in forum: XML
    Replies:
    3
    Views:
    515
    Martin SChukrazy
    Feb 27, 2004
  6. Replies:
    1
    Views:
    684
    Juan T. Llibre
    Oct 18, 2006
  7. AAaron123
    Replies:
    1
    Views:
    1,313
    Alexey Smirnov
    Nov 17, 2009
  8. stumblng.tumblr
    Replies:
    1
    Views:
    433
    stumblng.tumblr
    Feb 4, 2008
Loading...