perl-docs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: sub-sections for searching
Date Thu, 31 Jan 2002 02:11:46 GMT
Bill Moseley wrote:

> At 09:47 AM 01/31/02 +0800, Stas Bekman wrote:
> 
> Good morning!


morning indeed :)


>>sure we can. Why do you need to add the <head> section though?
>>
> 
> Because I wanted to maintain the complete <head> section for each document.
>  That way I can pass the <title> to swish, plus swish has the <meta> tags,
> just in case we ever wanted them.  Really, just to do it "Right".


cool!


>>I have suggested before to add <!-- sections --> instead. That's the 
>>safes method, no?
>>
> 
> As you may have seen by now, with wrapping in <div> I can use
> HTML::Element's look_down() to fetch these sections of the tree for me.
> Makes it really easy.

Yup, that's cool! But may be performance wise it'd be much faster to 
split on tags, no? We (can) have a well defined delimiters. But I guess 
since it's spidering, not a real time search it doesn't matter at all. 
So let's keep it that way.


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Mime
View raw message