[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

why this website address doesn't change

Li Chen

9/13/2008 6:57:00 PM

Hi all,

I browse a
website(http://dictionary.reference.com/wordoftheda...)
and jump from one link to another link. I notice that the address is
still the same even I jump to a new page. Which more is that I can not
see the content of the page using IE source view. In this case where
should I start if I want to parse the page and extract some info of
interest?

Thanks,

Li
--
Posted via http://www.ruby-....

4 Answers

Hassan Schroeder

9/13/2008 7:39:00 PM

0

On Sat, Sep 13, 2008 at 11:57 AM, Li Chen <chen_li3@yahoo.com> wrote:

> I browse a
> website(http://dictionary.reference.com/wordoftheda...)
> and jump from one link to another link. I notice that the address is
> still the same even I jump to a new page.

The page is constructed using frames.

If you're not familiar with that, start here:

<http://www.w3.org/TR/html401/present/frames.html#edef-FR...

HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

Li Chen

9/13/2008 9:54:00 PM

0

Hassan Schroeder wrote:
> The page is constructed using frames.
>
> If you're not familiar with that, start here:
>
> <http://www.w3.org/TR/html401/present/frames.html#edef-FR...
>
> HTH,


But why can't I see frameset and frame tags in the source view?

Li
--
Posted via http://www.ruby-....

Hassan Schroeder

9/13/2008 10:17:00 PM

0

On Sat, Sep 13, 2008 at 2:54 PM, Li Chen <chen_li3@yahoo.com> wrote:

> But why can't I see frameset and frame tags in the source view?

Actually, I take it back -- it's using an iframe and a lot of JavaScript.

But you should see all that using `view source` of any browser.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

Li Chen

9/13/2008 11:41:00 PM

0

Hassan Schroeder wrote:
> On Sat, Sep 13, 2008 at 2:54 PM, Li Chen <chen_li3@yahoo.com> wrote:
>
>> But why can't I see frameset and frame tags in the source view?
>
> Actually, I take it back -- it's using an iframe and a lot of
> JavaScript.
>
> But you should see all that using `view source` of any browser.


Part of the source view looks like the following

<iframe id="classic_ifrm" name="classic_ifrm"
src="http://dictionary2.classic.reference.com/wordoftheday/arch...
style="height:0px;"
scrolling="no" frameBorder="0" width="103%"
onload="iframeOnLoad();" ></iframe>

The link in "src" is actually the one I am interested in.
If I paste the value for src attribute into the IE browser I can go to a
new page which is familiar/(regular one) to me. And I have no problem to
extract the information I want.

Thank you very much,

Li

--
Posted via http://www.ruby-....