quick and dirty mockup from the code that's currently generated by hijack:
substitutions

%<field>%

conditionals:
@iffield:<field>:<code>@
@ifplaylist:<code>@
@notplaylist:<code>@

iteration:
@iterate:<code>@

---Begin---
<HTML><HEAD><TITLE>%title%@iffield:artist:- %artist%@</TITLE></HEAD>
<BODY>
<H2>%title%@iffield:artist:- %artist%@</H2><TABLE BORDER=2><THEAD>
<HTML><BODY><TABLE BORDER=2><THEAD>
<TR><TD> <TD> <b>Title</b> <TD> <b>Length</b> <TD> <b>Type</b> <TD> <b>Artist</b> <TD> <b>Source</b> <TBODY>
@iterate:<TR><TD> <A HREF="%fid%?.m3u"><em>Play</em></A> <TD> <A HREF="%fid%?.html">%title%</A> <TD> %length%
<TD> @ifplaylist:playlist@@notplaylist:tune@ <TD> %artist% <TD> %source%@
</TABLE></BODY></HTML>
---End---


Edit: chopped a line in half to reduce the width of the post..


Edited by Yang (02/02/2002 15:45)