[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] FYI: DocBook element lookup form
Hi, It doesn't seem to be able to find ulink. Are there other elements it can't find? Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "techtonik" <techtonik@tut.by> To: "Michael Smith" <smith@xml-doc.org> Cc: <docbook-apps@lists.oasis-open.org> Sent: Friday, September 16, 2005 1:39 PM Subject: Re: [docbook-apps] FYI: DocBook element lookup form > ||*()*|| [\..konnichi wa, ogenki desu ka, Michael../] > > Monday, May 16, 2005, 4:17:10 PM, you wrote: > > MS> For what it's worth, I've set up a simple element lookup form at: > MS> http://docbook.sourceforge.net/element/ > > Slightly enhanced with Ajax technology to fetch data without page > reloads and avoid 404 mistakes (tested on firefox) > http://farplugins.sourceforge.net/test/docbook/ > > File list: > http://farplugins.sourceforge.net/test/docbook/readme > http://farplugins.sourceforge.net/test/docbook/buildlist.phps > http://farplugins.sourceforge.net/test/docbook/index.phps > http://farplugins.sourceforge.net/test/docbook/elements.txt > > > MS> If you type (or paste in) in an element name, it will take you the page > MS> for that element in the online version of DocBook: The Definitive Guide. > > MS> I set it up because a couple of translators working on > MS> localizations had asked me if there was a quick way to look up > MS> reference info on individual elements. > > MS> Here's the source for it: > > MS> <?php > MS> if (isset($_GET['name'])) { > MS> // if 'goto' value specified in query string, redirect to > MS> // specified URL > MS> header("Location:" . "http://docbook.org/tdg/en/html/" . $_GET['name'] . ".html"); > MS> exit; > MS> } > MS> ?> > MS> <html xmlns="http://www.w3.org/1999/xhtml"> > MS> <head> > MS> <title>DocBook Element Lookup Form</title> > MS> </head> > MS> <body> > MS> <h1 style="font-size: 120%; color: #096">DocBook Element Lookup</h1> > MS> <?php > MS> print "<form action='" . $_SERVER['PHP_SELF'] ."' method='get'>\n" > MS> ?> > MS> <p> > MS> <input name="name" type="text"/>  <input type="submit"/> > MS> </p> > MS> <?php > MS> print "</form>\n" > MS> ?> > MS> </body> > MS> </html> > > > > > > WBR.techtonik > -- > (B)uilding, (A)ntenna, (S)pan and (E)arth > * terminal velocity - 54m/s, 305m * > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]