[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PATCH: people.pl



* Josip Rodin <joy@gkvk.hr> [2002-11-27 19:16]:
> On Wed, Nov 27, 2002 at 06:27:10PM +0100, Gerfried Fuchs wrote:
>>  The people.pl script currently generates lots of <a name="$lastname">
>> entries that are just duplicated.  The simple attached patch fixes this
>> and silences tons of lines in the tidy output.
> 
> It doesn't fix it, it works around it by omitting entries for people whose
> surname has already been mentioned.

 Well, it *does* fix it.  We chose to use the surnames as anchors and
there can't be multiple anchors with the same name.  It *is* a fix for
that.

 That choosing the surname as an anchor isn't the best thing to do is a
different story.  But changing that would change the behavior of the
page and you didn't like these things the last time I sugguested doing
that (remember the rdf discussion we had).  Changing the anchor names
would break third party links, too.  At least would make them go to the
top of the page instead to where they are intended to go to.

> The right fix would probably be to match more than just surname...

 That wouldn't be a fix but a change in the content of the page which
wasn't my intent.

> but then, in the case of Brian Nelsons, even that isn't sufficient any
> more.

 You see, even here we would need the suggested patch that I provided.
What about using the email-address as an anchor?  That should be unique
enough.  People that using different mailaddresses for different
packages are rare, I guess.  And should be larted anyway ,-)

 Have fun,
Alfie
-- 
To err is human -- but it feels divine.
                -- Mae West

Attachment: pgp9kYMe6yNMB.pgp
Description: PGP signature


Reply to: