Click to See Complete Forum and Search --> : getting external html


trakklal
03-12-2003, 07:02 AM
hi,

is there a possibility to read webpages like ssi languages do?
i would like to "grab" a news site and make it be parsed by jscript because then the php does not generate the traffic.
The problem is that i get "access denied" when i try to use the innerHTML Elements value of an iframe. Do you know any possibilities to download entire web pages from within the client with only jscript or vbscript? I think i saw something similar at somewhere at msdn where the ms-people used a <div> to have some html in it. maybe with that i could get its innerHTML if it is not again limited by the same domain.

thanks for any help or suggestions:)

stay Krass with Gras!:p

pyro
03-12-2003, 07:31 AM
It is going to require some server side language to get the file in the first place. For security reasons, javascript can not read other people's files.

trakklal
03-12-2003, 07:35 AM
hmm i know that, but i was just wondering if there really is no way. The thing is that i dont want to use server side includes(ssi) like php, asp or jsp or whatever because i want it to run local. Is it maybe possible with an activeX container? i will try and if i get any results i will post them here... :D

in addition: security is not relevant at all since it runs local.
but also i dont want give it "BrowserUniversalRead/Write"

Vladdy
03-12-2003, 07:41 AM
Originally posted by trakklal
...i want it to run local. ...
So what's the big deal with setting up a local server :confused: :confused:

trakklal
03-12-2003, 07:44 AM
there is no big deal setting up a server but i just wanted this to have run by js only.. now thinking of it... i will use a server and php so i can do the chrome with js and php does the hard work:) ... i will do it with php now.. if i find a possibilty later i still can make it with js...