List Info

Thread: html parsing filter




html parsing filter
user name
2006-03-29 05:16:49
Ok, I'll look into those modules mentioned, thanks!

And as far as caching those images/links goes, I need them
to be 
pre-loaded for the user that is viewing the html page, not
the other 
users after him. Sort of like pre-fetching the links in
advance, in case 
the user decides to visit any of them (in this case those
links being 
only images). Any suggestions on that?


--- Original Message ---

n Monday 27 March 2006 00:01, Miso G. wrote:
 > > Has anyone created a filter that parses html for
let's say links to
 > > images only already? Or are there any examples on
the web of similar
 > > filters (if so, where?).

mod_accessibility, mod_proxy_html, mod_publisher all filter
HTML and
generate SAX events for elements (such as links).

 > > What I am trying to achieve is create a
filter/module that will gather
 > > all the links to images from html pages before
they are served to the
 > > client and send them off to memory cache, sort of
pre-load them, in 
case
 > > the client decides to follow one of those links.

That doesn't make sense to me.  mod_cache would accomplish
the same
thing (for all but the first user, at least) far more simply
and robustly.

-- Nick Kew
html parsing filter
user name
2006-03-30 19:46:49
Am Mittwoch, den 29.03.2006, 00:16 -0500 schrieb Miso G.:
> And as far as caching those images/links goes, I need
them to be 
> pre-loaded for the user that is viewing the html page,
not the other 
> users after him. Sort of like pre-fetching the links in
advance, in case 
> the user decides to visit any of them (in this case
those links being 
> only images). Any suggestions on that?

I doubt that there is a reasonable way to do this. You can
send the
images at the top of the page and then reposition them with
js or css,
but unless your pages are very big they will not arrive at
the client
much earlier.

I would suggest some timing tests with static pages (and
different
browsers).

Sincerely,
Joachim


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )