We keep the data for the resource page [1] in xdocs [2]. The html page is generated via Anakia stylesheet [3].
Ted provided an example [4]: at the buttom is a box "Available from" where are some links to several book resellers. The idea is - store the ISBN in an extra tag in the xdoc <th>ISBN:</th> <th id="isbn"> ... </th> - use the VM makro to generate the link passage Jan Example: resources.xml ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-< ---- ... <subsection name="Ant: The Definitive Guide, 2nd edition"> <p>Published April 2005, and covers Ant release 1.6.1.</p> <p>This is a complete rewrite of the first edition; this book is now 290 pages and so covers Ant in more depth than its predecessor.</p> <p>It also mixes reference information (tables) with text explanation on how to use the tasks. Contents includes JUnit, CVS, execution, basic deployment, Web application development and XDoclet. There is also coverage of XDoclet, and a chapter on how to extend Ant in Java.</p> <table class="externals"> <tr> <th>Author:</th> <td>Steve Holzner</td> </tr> <tr> <th>URL:</th> <td> <a href="http://www.oreilly.com/catalog/anttdg2/">http://www.oreilly.com/catalo g/anttdg2/</a> </td> </tr> <tr> <th>ISBN:</th> <th>0596006098</th> </tr> </table> </subsection> ... ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-< ---- templates: TBD resources.html ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-< ---- ... <tr> <th colspan="1" rowspan="1" valign="top" align="left">ISBN:</th> <td colspan="1" rowspan="1" valign="top" align="left">0596006098</td> </tr> <tr> <th colspan="1" rowspan="1" valign="top" align="left">Available from:</th> <td colspan="1" rowspan="1" valign="top" align="left"><ul> <li><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0596006098/apachesoftwar -20/">Amazon.com</a></li> <li><a href="http://service.bfast.com/bfast/click?bfmid=2181&bfmtype=book&s ourceid=41462544&bfpid=0596006098">Barnes & Noble</a></li> <li><a href="http://www.booksense.com/product/info.jsp?affiliateId=Apache&isbn= 0596006098">Book Sense</a></li> <li><a href="http://www.powells.com/cgi-bin/biblio?inkey=61-0596006098-0&partne r_id=29693">Powells.com</a></li> </ul></td> </tr> ... ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-< ---- [1] http://ant.apache.org/resources.html#books [2] http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/xdocs/resources.xml?content -type=text%2Fplain [3] http://cvs.apache.org/viewcvs.cgi/ant/xdocs/stylesheets/templates.vm?view=ma rkup [4] http://opensource.atlassian.com/confluence/oss/pages/viewpage.action?pageId= 231 > -----Ursprüngliche Nachricht----- > Von: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 24. Mai 2005 09:24 > An: dev@ant.apache.org > Betreff: Re: Online Bookstore > > On Tue, 24 May 2005, Jan Materne <[EMAIL PROTECTED]> wrote: > > > Especially for Ant we have a page [1] with books about Ant. That > > page is generated via Anakia and it should be possible just to > > change the template (maybe minor changes on the xdoc) to get links > > to resellers and info site. > > > > What´s your opinion? > > I'm not sure I understand what you want to do. What kind of links > (where-to) do you want to add to which part of which page? > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >