Like Slashdot, I like to use a conversational style
when linking to off-site pages. But it really bothered
me that the "Related Links" names couldn't be
customized. In other words, if I had a link named
"click here", it would also show up under Related Links
as "click here". Bleah.
So I made some changes to admin.pl. Now when it slurps
the A links out of a story, it will also look for the
standard TITLE attribute within the A tag. If it finds
one, it will use that. Otherwise, it will just use the
content between the A tags.
Example from real life:
Someone took a <a
title="Ultimate Technology Model 40 POS System"> common
modern-day cash register</a> and <a
href="http://27.org/linuxregister/" title="Linux on a
Cash Register">ported Linux to it</a>.
Before, the Related Links would show up as "common
modern-day cash register" and "ported Linux to it".
With the patch, they show up as "Ultimate Technology
Model 40 POS System" and "Linux on a Cash Register".
(I've entered this description with the assumption that
HTML markup will *not* be rendered as anything except
raw text. Apologies if I have goofed up.)
--Larry (a.k.a. discHead a.k.a. L2G)