in reply to Re: Unique spidering need
in thread Unique spidering need

Thanks for pointing out my unspoken assumptions. But I think this is a bit picky. I just want to know what the user sees.

So the best you can hope for is to know what the X/Y coordinates are on a particular system with a particular window size.

Mmmph. Pretty much I haven't noticed gross differences 'twixt IE and Moz in terms of where things go.

What the effects can be of the application of individual CSS-files or font-sizes or ..., makes your task more of a guessing game.

So the best you can hope for is to know what the X/Y coordinates are on a particular system with a particular window size

That's why I wanted a real layout engine to work with ...

Still looking at Gtk::HTML.

Replies are listed 'Best First'.
•Re: Re: Re: Unique spidering need
by merlyn (Sage) on Jan 23, 2004 at 13:28 UTC
    I just want to know what the user sees.
    What browser? What platform? What version?

    The user might not "see" anything at all on a talking browser for the blind.

    The user might be viewing the web page on their advanced cell phone, which collapses things it recognizes as navbars into simple menus.

    Your question makes no sense in the context of the world wide web.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

      Ack, I give up!

      I meant in a IE or Mozilla Browser or maybe one of those oddball ones like Opera, all of which I assume (perhaps naively) will render elements pretty much in the same place.

      So really I mean the web, limited to those people using eyeballs on a screen and a graphical user agent.

      You guys have a way of making me feel ... well provincial.

      I guess getting my ass kicked might make me a little more broadminded.

Re: Re: Re: Unique spidering need
by herveus (Prior) on Jan 23, 2004 at 13:19 UTC
    Howdy!

    I just want to know what the user sees.

    What assumptions are you able to reliably make about the browser settings of the user in question? If you are looking at a corporate intranet with every last detail locked down hard, you can probably make fairly detailed assumptions (although the size of the browser window is still hard to control).

    If all you need to know is "does this element render in the top/left 800x600 pixels?" you should be able to do a dummy rendering in a larger virtual window and see where stuff falls. Beyond that, you are trying to nail jello to a wall.

    yours,
    Michael