|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Re: Using HTML To Download File"Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:... Typo> "Richard In Va." <Reply-n***@aol.com> wrote in message > news:OFJGHa8pJHA.4564@TK2MSFTNGP02.phx.gbl... > You can also use a script which can be placed in the <body> > <script type="text/javascript"> > location.hef="http://ratec.actbus.net/index.html" > </script> Change to <script type="text/javascript"> location.href="http://ratec.actbus.net/index.html" </script> Hello Trevor... Thanks for chiming in!
Sorry about that, let me explain. I have a webpage (html) on my desktop that I want to be a personal "home page" if you will. When I open the page, I want it to (using html or something simple) to have the page auto fetch a document from the internet. The online web document is an xml file that updates every 30 minutes or so. I only need it to fetch when I open the local html file, or do a page refresh. I understand that IE7 does not like to download files "across servers" and is considered a security issue. Even though it's happy to browse to and display it. The XML file provides current and forecast weather conditions. I hope to reference the file to include the forecast on my personal "home page". I've been somewhat successful at displaying the information based on some good help from an earlier post. But I'm still having to browse to the xml file, "save as" and then refresh my page. Yesterday, I tried wget to fetch the file but only by using a XP command window. Haven't got around to looking for a way to get the html page to execute a wget command. That will likely present a new challenge and besides, wget is not really producing the results I'm looking for even using the command window. But that us likely a user problem... me...! Right now I'm only looking for a simple way to have my home page fetch the file when I open/refresh it. Thanks for your interest Trevor!... where you ever able to get xxcopy to work for backing up your system? Thanks! Richard in VA. +++++++++++ Show quoteHide quote "Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:OQ12WeFqJHA.824@TK2MSFTNGP05.phx.gbl... > "Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:... >> "Richard In Va." <Reply-n***@aol.com> wrote in message >> news:OFJGHa8pJHA.4564@TK2MSFTNGP02.phx.gbl... > > >> You can also use a script which can be placed in the <body> >> <script type="text/javascript"> >> location.hef="http://ratec.actbus.net/index.html" >> </script> > > Typo > Change to > <script type="text/javascript"> > location.href="http://ratec.actbus.net/index.html" > </script> > > -- > Trevor Lawrence > Canberra > Web Site http://trevorl.mvps.org > Try looking around here:
http://www.w3schools.com/XML/xml_examples.asp -- Show quoteHide quoteSteve Easton Microsoft MVP FrontPage FP Cleaner http://www.95isalive.com/fixes/fpclean.htm Hit Me FP http://www.95isalive.com/fixes/HitMeFP.htm "Richard In Va." <Reply-n***@aol.com> wrote in message news:O3U$vlIqJHA.4840@TK2MSFTNGP06.phx.gbl... > Hello Trevor... Thanks for chiming in! > > Sorry about that, let me explain. I have a webpage (html) on my desktop that I want to be a personal "home > page" if you will. When I open the page, I want it to (using html or something simple) to have the page > auto fetch a document from the internet. The online web document is an xml file that updates every 30 > minutes or so. I only need it to fetch when I open the local html file, or do a page refresh. > > I understand that IE7 does not like to download files "across servers" and is considered a security issue. > Even though it's happy to browse to and display it. > > The XML file provides current and forecast weather conditions. I hope to reference the file to include the > forecast on my personal "home page". > > I've been somewhat successful at displaying the information based on some good help from an earlier post. > But I'm still having to browse to the xml file, "save as" and then refresh my page. > > Yesterday, I tried wget to fetch the file but only by using a XP command window. Haven't got around to > looking for a way to get the html page to execute a wget command. That will likely present a new challenge > and besides, wget is not really producing the results I'm looking for even using the command window. But > that us likely a user problem... me...! > > Right now I'm only looking for a simple way to have my home page fetch the file when I open/refresh it. > > Thanks for your interest Trevor!... where you ever able to get xxcopy to work for backing up your system? > > Thanks! > > Richard in VA. > +++++++++++ > > > > > > > "Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:OQ12WeFqJHA.824@TK2MSFTNGP05.phx.gbl... >> "Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:... >>> "Richard In Va." <Reply-n***@aol.com> wrote in message news:OFJGHa8pJHA.4564@TK2MSFTNGP02.phx.gbl... >> >> >>> You can also use a script which can be placed in the <body> >>> <script type="text/javascript"> >>> location.hef="http://ratec.actbus.net/index.html" >>> </script> >> >> Typo >> Change to >> <script type="text/javascript"> >> location.href="http://ratec.actbus.net/index.html" >> </script> >> >> -- >> Trevor Lawrence >> Canberra >> Web Site http://trevorl.mvps.org >> > > Thanks Steve,
Looks like w3schools might have more examples than they used to. I'll dig into this stuff soon. But so far, it still looks like the xml file needs to be local to the server containing the html file. Other words, the html file may not load a file from a different server or domain. Remember, the html file is on my personal desktop and the xml file is out on the web. I want the html to load, parse and display content from the xml file. Load (download) can occur at page open or refresh. Trevor - Xxcopy works fine for me, it copies (mirrors) one drive partition to another every day at 10:00am as a backup solution. Both partitions are on different physical drives and executes as a XP scheduled task. Thanks Trevor... your memory serves you well! Want to have real fun, try xxclone. Thanks again! Richard in VA. +++++++++++ Show quoteHide quote "Steve Easton" <ad***@95isalive.com> wrote in message news:ufKecvmqJHA.2368@TK2MSFTNGP06.phx.gbl... > Try looking around here: > http://www.w3schools.com/XML/xml_examples.asp > > > -- > > Steve Easton > Microsoft MVP FrontPage > FP Cleaner > http://www.95isalive.com/fixes/fpclean.htm > Hit Me FP > http://www.95isalive.com/fixes/HitMeFP.htm > > "Richard In Va." <Reply-n***@aol.com> wrote in message > news:O3U$vlIqJHA.4840@TK2MSFTNGP06.phx.gbl... >> Hello Trevor... Thanks for chiming in! >> >> Sorry about that, let me explain. I have a webpage (html) on my desktop >> that I want to be a personal "home page" if you will. When I open the >> page, I want it to (using html or something simple) to have the page auto >> fetch a document from the internet. The online web document is an xml >> file that updates every 30 minutes or so. I only need it to fetch when I >> open the local html file, or do a page refresh. >> >> I understand that IE7 does not like to download files "across servers" >> and is considered a security issue. Even though it's happy to browse to >> and display it. >> >> The XML file provides current and forecast weather conditions. I hope to >> reference the file to include the forecast on my personal "home page". >> >> I've been somewhat successful at displaying the information based on some >> good help from an earlier post. But I'm still having to browse to the xml >> file, "save as" and then refresh my page. >> >> Yesterday, I tried wget to fetch the file but only by using a XP command >> window. Haven't got around to looking for a way to get the html page to >> execute a wget command. That will likely present a new challenge and >> besides, wget is not really producing the results I'm looking for even >> using the command window. But that us likely a user problem... me...! >> >> Right now I'm only looking for a simple way to have my home page fetch >> the file when I open/refresh it. >> >> Thanks for your interest Trevor!... where you ever able to get xxcopy to >> work for backing up your system? >> >> Thanks! >> >> Richard in VA. >> +++++++++++ >> >> >> >> >> >> >> "Trevor Lawrence" <Trevor L.@Canberra> wrote in message >> news:OQ12WeFqJHA.824@TK2MSFTNGP05.phx.gbl... >>> "Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:... >>>> "Richard In Va." <Reply-n***@aol.com> wrote in message >>>> news:OFJGHa8pJHA.4564@TK2MSFTNGP02.phx.gbl... >>> >>> >>>> You can also use a script which can be placed in the <body> >>>> <script type="text/javascript"> >>>> location.hef="http://ratec.actbus.net/index.html" >>>> </script> >>> >>> Typo >>> Change to >>> <script type="text/javascript"> >>> location.href="http://ratec.actbus.net/index.html" >>> </script> >>> >>> -- >>> Trevor Lawrence >>> Canberra >>> Web Site http://trevorl.mvps.org >>> >> >> > > Try creating a page for your PC with an Iframe in it
- the Iframe content can be from a remote server -- Show quoteHide quote_____________________________________________ SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] "Warning - Using the F1 Key will not break anything!" (-; _____________________________________________ "Richard In Va." <Reply-n***@aol.com> wrote in message news:uXRnuh8qJHA.4980@TK2MSFTNGP05.phx.gbl... | Thanks Steve, | | Looks like w3schools might have more examples than they used to. I'll dig | into this stuff soon. | | But so far, it still looks like the xml file needs to be local to the server | containing the html file. Other words, the html file may not load a file | from a different server or domain. Remember, the html file is on my | personal desktop and the xml file is out on the web. I want the html to | load, parse and display content from the xml file. Load (download) can | occur at page open or refresh. | | Trevor - Xxcopy works fine for me, it copies (mirrors) one drive partition | to another every day at 10:00am as a backup solution. Both partitions are | on different physical drives and executes as a XP scheduled task. Thanks | Trevor... your memory serves you well! Want to have real fun, try xxclone. | | Thanks again! | | Richard in VA. | +++++++++++ | | "Steve Easton" <ad***@95isalive.com> wrote in message | news:ufKecvmqJHA.2368@TK2MSFTNGP06.phx.gbl... | > Try looking around here: | > http://www.w3schools.com/XML/xml_examples.asp | > | > | > -- | > | > Steve Easton | > Microsoft MVP FrontPage | > FP Cleaner | > http://www.95isalive.com/fixes/fpclean.htm | > Hit Me FP | > http://www.95isalive.com/fixes/HitMeFP.htm | > | > "Richard In Va." <Reply-n***@aol.com> wrote in message | > news:O3U$vlIqJHA.4840@TK2MSFTNGP06.phx.gbl... | >> Hello Trevor... Thanks for chiming in! | >> | >> Sorry about that, let me explain. I have a webpage (html) on my desktop | >> that I want to be a personal "home page" if you will. When I open the | >> page, I want it to (using html or something simple) to have the page auto | >> fetch a document from the internet. The online web document is an xml | >> file that updates every 30 minutes or so. I only need it to fetch when I | >> open the local html file, or do a page refresh. | >> | >> I understand that IE7 does not like to download files "across servers" | >> and is considered a security issue. Even though it's happy to browse to | >> and display it. | >> | >> The XML file provides current and forecast weather conditions. I hope to | >> reference the file to include the forecast on my personal "home page". | >> | >> I've been somewhat successful at displaying the information based on some | >> good help from an earlier post. But I'm still having to browse to the xml | >> file, "save as" and then refresh my page. | >> | >> Yesterday, I tried wget to fetch the file but only by using a XP command | >> window. Haven't got around to looking for a way to get the html page to | >> execute a wget command. That will likely present a new challenge and | >> besides, wget is not really producing the results I'm looking for even | >> using the command window. But that us likely a user problem... me...! | >> | >> Right now I'm only looking for a simple way to have my home page fetch | >> the file when I open/refresh it. | >> | >> Thanks for your interest Trevor!... where you ever able to get xxcopy to | >> work for backing up your system? | >> | >> Thanks! | >> | >> Richard in VA. | >> +++++++++++ | >> | >> | >> | >> | >> | >> | >> "Trevor Lawrence" <Trevor L.@Canberra> wrote in message | >> news:OQ12WeFqJHA.824@TK2MSFTNGP05.phx.gbl... | >>> "Trevor Lawrence" <Trevor L.@Canberra> wrote in message news:... | >>>> "Richard In Va." <Reply-n***@aol.com> wrote in message | >>>> news:OFJGHa8pJHA.4564@TK2MSFTNGP02.phx.gbl... | >>> | >>> | >>>> You can also use a script which can be placed in the <body> | >>>> <script type="text/javascript"> | >>>> location.hef="http://ratec.actbus.net/index.html" | >>>> </script> | >>> | >>> Typo | >>> Change to | >>> <script type="text/javascript"> | >>> location.href="http://ratec.actbus.net/index.html" | >>> </script> | >>> | >>> -- | >>> Trevor Lawrence | >>> Canberra | >>> Web Site http://trevorl.mvps.org | >>> | >> | >> | > | > | | "Richard In Va." <Reply-n***@aol.com> wrote in message Richard,news:O3U$vlIqJHA.4840@TK2MSFTNGP06.phx.gbl... > Hello Trevor... Thanks for chiming in! > > [snip] > > Thanks for your interest Trevor!... where you ever able to get xxcopy to > work for backing up your system? > I may be a little out of my depth with XML - not something I have used much - so you may find it better to follow up on Steve's reply Re back up, I tried to get xxcopy to work for me, but eventually I moved to using SyncToy (from XP PowerToys)
Other interesting topics
|
|||||||||||||||||||||||