Tuesday, August 18, 2009 at 7:53 PM.
howtoSuite.data.examples.headerImageCallbacks.republican
on republican (adrstring) { local (pta = html.getpagetableaddress ()); <<scratchpad.repubparams = pta^ if pta^.howtopath beginswith "/republican" { adrstring^ = "<img src=\"http://images.scripting.com/archiveScriptingCom/2008/08/03/republicanHeader.gif\" width=\"682\" height=\"69\" border=\"0\" align=\"right\" hspace=\"15\" vspace=\"5\" alt=\"A picture named republicanHeader.gif\">"; return (true)}; return (false)} //don't hijack the header
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.