|
Authored by: Anonymous on Thursday, April 26 2012 @ 12:45 PM EDT |
As The Cornishman said, the HTML coding is not difficult.
The nuisance part is applying it when needed, without typos. To that end, it
might be worth using a script to generate the two pieces of text to be inserted
for update N so that you can copy and paste them in. The script below generates
all the text that The Cornishman suggested, but for a single update, and inserts
the update name [usually a number] in all of the places that it is needed in the
html text.
(Untested code written directly into this message follows, but it should be
reasonably correct - put it in an executable file. If you named the file udn
[short name is easily typed, stands for UpDate N], you can then execute:
"udn 3" and it will display the chunks of text, one to be inserted
into the link area, the other to be inserted at the start of the actual update
for update number 3.)
(start of file udn)
#!/bin/perl
my $ud = shift;
print <<"END";
Link code - include all three lines if this is the first update. For later
updates, insert the middle line into the previously copied list in desired
order.
<ul>
<li><a href="#Update $ud">Update $ud</a></li>
</ul>
Text for start of update.
<p><a name="Update $ud"><b>Update
$ud:</b></a>
END
(end of file udn)
John Macdonald
PS - by adding some more text into this script, you could also provide a link to
the end of the article (something you currently do sometimes). You could also
put a link label on the table of links and provide a second line that could (if
you wish) insert at the point of the update that would take the viewer back to
the top (or wherever the list of updates was put into the article). Feel free
to email me if you want this fleshed out with that sort of additional kind of
capability - john [dot] malcolm [dot] macdonald [at] gmail [dot] com[ Reply to This | Parent | # ]
|
|
|
|
|