Bill Moseley wrote:
At 11:22 PM 04/14/02 +0800, Stas Bekman wrote:

It was like this before, no?

     <h1><a name="Description">Description</a></h1>

Remember, I was first grabbing the text to use for the sub-title from the
name attribute and s/_/ /g; Then I moved to using the real text of the link
after we discussed it.  I think.

ok

This is an experimental new feature. It's not final. Give it a try you may find it useful. And it's not over-linking, because it's doesn't change anything at all on the visual front. Those who discover this feature, may find it very useful. I'm already starting to like it.


Ok, but when that link changes then the indexing parse code breaks.

Is it safe to find the sections and titles like this now?

to get the title look for <h1> then the first <a name> is the link to this
section and the second <a> content is the text to use for the sub-title
description?

All you need to is to find <a> within <hX> and having a 'name' attr and get its value.
Yes, I think this should be pretty safe. Since it's autogenerated and used in the TOC.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to