| filsa.net: Frontier / Scripts / Linking Macros / Glossary Patcher |
|
|
UPDATED: Ready for Frontier 5!Glossary PatcherA utility: makes glossPatch items into relative referenced <a href> tags
As Frontier ships, glossary substitute happens in your finalfilter, via a call to html.data.standardmacros.glossaryPatcher(). But it is only set to operate to operate on html.data.page.renderedtext, which doesn't exist at the point of rendering that I want to work on things. So.... glossPatcher does the job It takes a string, that contains one or more [[#glossPatch style references, converts them into the relative referenced <a> tags. Easy. Simple. This script does the dirty work for it's more glamourous older sister, glossTarget (). That's another way of saying you need this script for glossTarget () to work. More docs in the source below. Updated for Frontier 5 Needed to change one little thing because glossPatch items now include a file extension. Thanks to Vincent Knobil (knobil@ava.lelab.fr) for the bug report! Fri, Feb 13, 1998 at 11:08:42 PM by PS
|
||
View the Source: user.html.macros.glossPatcher |
|||
|
© copyright 1997-98 by Philip Suh. Comments are appreciated. This page last updated on 2/13/98; 11:08:43 PM. <http://www.filsa.net/frontier/scripts/LinkingMacros/glossPatcher.html> |
| filsa.net: Frontier / Scripts / Linking Macros / Glossary Patcher |