[docs] docs - jon modified icdatabase.sdf
docs@interchange.redhat.com
docs@interchange.redhat.com
Tue Jul 16 08:42:01 2002
User: jon
Date: 2002-07-16 12:41:44 GMT
Modified: . icdatabase.sdf
Log:
Document [link-template].
Revision Changes Path
1.48 +15 -2 docs/icdatabase.sdf
rev 1.48, prev_rev 1.47
Index: icdatabase.sdf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/docs/icdatabase.sdf,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -u -r1.47 -r1.48
--- icdatabase.sdf 15 Jul 2002 13:52:15 -0000 1.47
+++ icdatabase.sdf 16 Jul 2002 12:41:44 -0000 1.48
@@ -1,10 +1,10 @@
!init OPT_LOOK=3D"akopia"; OPT_STYLE=3D"manual"
-# $Id: icdatabase.sdf,v 1.47 2002/07/15 13:52:15 mheins Exp $
+# $Id: icdatabase.sdf,v 1.48 2002/07/16 12:41:44 jon Exp $
=20
!define DOC_NAME "Interchange Databases"
!define DOC_TYPE ""
!define DOC_CODE "icdatabase"
-!define DOC_VERSION substr('$Revision: 1.47 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.48 $',11, -2)
!define DOC_STATUS "Draft"
!define DOC_PROJECT "Interchange"
!define DOC_URL "http://interchange.redhat.com/doc/icdatabase.html"
@@ -1841,6 +1841,19 @@
$PAGE$ Page number
$MINPAGE$ Minimum match on page
$MAXPAGE$ Maximum match on page
+!endblock
+
+.You can customize the HTML hyperlink with [link-template] [/link-template=
]. This is useful for adding a JavaScript onclick attribute, or setting the=
link target to a different window, etc.
+
+!block example; listitem=3D2
+ [link-template]<a href=3D"$URL$" target=3D"_top">$ANCHOR$</a>[/link-te=
mplate]
+!endblock
+
+.There are two tokens you can use as many times as needed in [link-templat=
e], which will be replaced as follows:
+
+!block example; listitem=3D2
+ $URL$ The URL for the 'more' page in question
+ $ANCHOR$ The page number or the word "Next" or "Previous" for the li=
nk in question.
!endblock
=20
.If have many pages of matches and don't wish to have all displayed at onc=
e, set C<[decade-next][/decade-next]> and C<[decade-prev][/decade-prev]>. I=
f set them empty, a search with 31 pages will display pages 21-30 like: