[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: website search box
From: |
Reinhold Kainhofer |
Subject: |
Re: website search box |
Date: |
Thu, 17 Dec 2009 22:12:37 +0100 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31-15-generic; KDE/4.3.2; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 17. Dezember 2009 21:52:16 schrieb Graham Percival:
> On Thu, Dec 17, 2009 at 7:16 PM, Patrick McCarty <address@hidden> wrote:
> > Looking at the HTML for every page, the upper-case node name is the
> > "first child", but the lower-case node name is the "second child";
> > that's why this rule is breaking.
>
> ah.
>
> > BTW, it would be nice if texi2html did not append #blah to the
> > hyperlinks when it's not necessary.
What do you define as "not necessary"? That's the crucial point here: How do
you determine whether an anchor should be used or not...
> > Do you know if this can be
> > controlled in the init file?
>
> Yes, it absolutely can be controlled.
Fully agree.
> No, I don't know how to do it. If you're not scared of perl -- and I
> mean this honestly, without any insult implied; perl looks scary
> (which is extremely stupid for a scripting language) -- then I'd
> estimate it would be 1-2 hours to fix.
>
> 1. Find the spot in the texi2html source code (not our init file)
> that deals with anchors.
> 2. Copy that function into our init file.
> 3, Modify that function.
>
> Estimates: 30-90 minutes are spent on #1, 30-90 seconds are spent on
> #2, 15 minutes on #3, and whatever time is remaining is spent on
> testing.
My estimates are rather:
10 minutes are spent on #1, 3 minutes on #2 (after all, you need to register
that hook in our init file, too ;-) ... ), 10 minutes for #3 and ~ 15 minutes
for the missing #4 "Testing".
Of course, add a loop with ~5 iterations for #3 and #4.
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFLKp7FTqjEwhXvPN0RAhETAJ0Yy4xUjBmpBo/ybhnMnWs2sjlGWQCghXxt
mUrCeFBjLYL7ET1roShx8BY=
=dYw3
-----END PGP SIGNATURE-----
- website search box, Graham Percival, 2009/12/16
- Re: website search box, Patrick McCarty, 2009/12/16
- Re: website search box, Graham Percival, 2009/12/17
- Re: website search box, Patrick McCarty, 2009/12/17
- Re: website search box, Graham Percival, 2009/12/17
- Re: website search box,
Reinhold Kainhofer <=
- Re: website search box, Patrick McCarty, 2009/12/17
- Re: website search box, Graham Percival, 2009/12/17
- Message not available
- Re: website search box, Graham Percival, 2009/12/17
- Re: website search box, Patrick McCarty, 2009/12/17
Re: website search box, John Mandereau, 2009/12/17