Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.



Reply
 
LinkBack Thread Tools
  #1  
Old 07-26-2007, 08:10 AM
graham
Newsgroup Contributor
 
Posts: n/a
IE7 view source

Where is the html file stored that is accessed via the view source option in
IE7. Is this file accessable from outside IE7 if so how.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 07-26-2007, 08:10 AM
  #2  
Old 07-26-2007, 08:40 AM
Leonard Grey
Newsgroup Contributor
 
Posts: n/a
Re: IE7 view source

Hi Graham:

It's loaded in RAM. If all you want to do is to save the contents of the
View Source window, just copy and paste it into a text file.

You can save a web page to your hard disk with the 'Save As' command but
you may not get all parts of it and frequently you'll get virtually nothing.

If you let us know what you want to do with the web page in question, we
can help you save it outside your browser. For example, do you want to
extract text and/or graphics, take a 'snapshot' for future reference,
use it as a template for your own web page, etc.

---
Leonard Grey
Errare humanum est

graham wrote:
> Where is the html file stored that is accessed via the view source option in
> IE7. Is this file accessable from outside IE7 if so how.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3  
Old 07-26-2007, 08:50 AM
graham
Newsgroup Contributor
 
Posts: n/a
Re: IE7 view source

"Leonard Grey" <Leonard@Grey.invalid> wrote in message
news:OL7TpH6zHHA.3564@TK2MSFTNGP04.phx.gbl...

[Snip]

> If you let us know what you want to do with the web page in question, we
> can help you save it outside your browser. For example, do you want to
> extract text and/or graphics, take a 'snapshot' for future reference, use
> it as a template for your own web page, etc.


Hi Leonard,

Thanks for the response. I want to extract data from web pages. Within my
application I can create an instance of the activex version of the browser
and display the page within the app. I would like to be able under program
control to parse the html file and extract the data appearing on the page.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4  
Old 07-26-2007, 09:20 AM
Leonard Grey
Newsgroup Contributor
 
Posts: n/a
Re: IE7 view source

View Source is not a file - it's held in RAM.

Open the web page in question in the web authoring software of your
choice, like Front Page (which is being replaced), Dreamweaver, etc.

---
Leonard Grey
Errare humanum est

graham wrote:
> "Leonard Grey" <Leonard@Grey.invalid> wrote in message
> news:OL7TpH6zHHA.3564@TK2MSFTNGP04.phx.gbl...
>
> [Snip]
>
>> If you let us know what you want to do with the web page in question, we
>> can help you save it outside your browser. For example, do you want to
>> extract text and/or graphics, take a 'snapshot' for future reference, use
>> it as a template for your own web page, etc.

>
> Hi Leonard,
>
> Thanks for the response. I want to extract data from web pages. Within my
> application I can create an instance of the activex version of the browser
> and display the page within the app. I would like to be able under program
> control to parse the html file and extract the data appearing on the page.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5  
Old 07-26-2007, 10:10 AM
graham
Newsgroup Contributor
 
Posts: n/a
Re: IE7 view source


"Leonard Grey" <Leonard@Grey.invalid> wrote in message
news:OWyDzc6zHHA.1100@TK2MSFTNGP06.phx.gbl...
> View Source is not a file - it's held in RAM.
>
> Open the web page in question in the web authoring software of your
> choice, like Front Page (which is being replaced), Dreamweaver, etc.


Thanks again Leonard but if the html is, as you say held in RAM, then I take
it it is not easily accessable and therefore I will download it twice - once
via the browser component so it can be viewed on the screen and once via an
HTTP Get straight into my app and parse it from there.

Graham.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6  
Old 07-26-2007, 12:30 PM
Gregg Cattanach
Newsgroup Contributor
 
Posts: n/a
Re: IE7 view source

Leonard Grey wrote:
> View Source is not a file - it's held in RAM.
>
>
> ---



This isn't exactly true. When you View Source, it creates a file in your
temporary internet files with a path like:

C:\Document and Settings\Username\Local Settings\Temporary Internet
Files\Content.IE5\7X108MF5\rankings[1]

That location isn't very useful, of course, but as soon as the source is
open in Notepad you just have to do File/Save As and you can save the file
somewhere that you'd like to work with it.

This file IS the html of the webpage in question.

--
Gregg C.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7  
Old 07-26-2007, 03:20 PM
graham
Newsgroup Contributor
 
Posts: n/a
Re: IE7 view source


"Leonard Grey" <Leonard@Grey.invalid> wrote in message
news:OWyDzc6zHHA.1100@TK2MSFTNGP06.phx.gbl...
> View Source is not a file - it's held in RAM.
>
> Open the web page in question in the web authoring software of your
> choice, like Front Page (which is being replaced), Dreamweaver, etc.


Thanks again Leonard. If as you say it is held in RAM then I am guessing it
is not easily accessable. In which case I will download the page twice, once
via the browser component so that is can be viewed on the screen and a
second time via and HTTP Get straight into my app and parse it from there.

Graham.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
View html source in Outlook 2007? Kulvinder Singh Matharu Microsoft Office 3 07-03-2009 10:21 AM
File extension stripped when using View Source Jon Davis Internet Explorer 2 06-20-2007 08:41 AM
IE7 on Vista: File extension stripped when using View Source Jon Davis Windows Vista 0 06-20-2007 08:40 AM
'View Source' opens Explorer ProfessorPiggy Internet Explorer 1 05-07-2007 02:30 AM
IE7 blank page but view source shows code Cossi Internet Explorer 4 05-06-2007 09:45 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 02:17 AM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0