[interchange-docs] xmldocs - docelic modified 5 files

docs at icdevgroup.org docs at icdevgroup.org
Wed Nov 14 13:50:31 EST 2007


User:      docelic
Date:      2007-11-14 18:50:30 GMT
Modified:  .        TODO
Modified:  docbook  docbookxi.dtd html-common.xsl xmldocs.css
Modified:  guides   index.xml
Log:
* For HTML output:

 - on top of index.html page, provide search box (the same
 as on www.icdevgroup.org), and a link back to www.icdevgroup.org

 - on bottom of index.html page, provide quick links to
 docs, website, ic cvs and commits, docs cvs + commits

Revision  Changes    Path
1.111     +2 -0      xmldocs/TODO


rev 1.111, prev_rev 1.110
Index: TODO
===================================================================
RCS file: /var/cvs/xmldocs/TODO,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- TODO	13 Nov 2007 02:44:18 -0000	1.110
+++ TODO	14 Nov 2007 18:50:30 -0000	1.111
@@ -9,6 +9,8 @@
 - some small error in glossary/pragma at the bottom, [tag pragma]0[/tag]
 - see if the files we parse in bin/stattree in block (like parseVendConfig, parseVendInterpolate) allow some stuff to go unaccounted for mkreport
 - with tags from Interpolate.pm, context for systemtag is not always 'whole file', but can be x-y as well
+- dal autogen preskoci kontekst koji je prazan? i zasto uopce unkondicionalno
+  ekspandira @$ctx ako moze da nema konteksta?
 
 
 - order counter, Session->{mv_order_number}, cronjob -0001, or file da-te.counter, or session_id.time



1.25      +29 -1     xmldocs/docbook/docbookxi.dtd


rev 1.25, prev_rev 1.24
Index: docbookxi.dtd
===================================================================
RCS file: /var/cvs/xmldocs/docbook/docbookxi.dtd,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- docbookxi.dtd	9 Jul 2007 11:11:45 -0000	1.24
+++ docbookxi.dtd	14 Nov 2007 18:50:30 -0000	1.25
@@ -32,7 +32,8 @@
 
 
 <!ENTITY % local.para.char.mix "|xi:include">
-<!ENTITY % local.tech.char.class "|tag|pragma|filter|mv|am|widget|check|xi:include">
+<!ENTITY % local.tech.char.class "|tag|pragma|filter|mv|am|widget|check">
+<!ENTITY % local.tech.char.class "|searchbox|linkftr|xi:include">
 
 <!-- Load DocBook -->
 <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
@@ -121,4 +122,31 @@
 <!ELEMENT widget %ho; (%para.char.mix;|%para.mix;)*>
 <!--end of widget.element-->]]>
 <!--end of widget.module-->]]>
+
+
+<!-- searchbox element -->
+<!-- In 'online html' mode, this will display the search box and
+     some extra stuff on top of index.html -->
+<!ENTITY % searchbox.module "INCLUDE">
+<![%searchbox.module;[
+<!ENTITY % local.searchbox.attrib "">
+
+<!ENTITY % searchbox.element "INCLUDE">
+<![%searchbox.element;[
+<!ELEMENT searchbox %ho; (%para.char.mix;|%para.mix;)*>
+<!--end of searchbox.element-->]]>
+<!--end of searchbox.module-->]]>
+
+<!-- linkftr element -->
+<!-- In 'online html' mode, this will display some links
+     at the bottom of index.html -->
+<!ENTITY % linkftr.module "INCLUDE">
+<![%linkftr.module;[
+<!ENTITY % local.linkftr.attrib "">
+
+<!ENTITY % linkftr.element "INCLUDE">
+<![%linkftr.element;[
+<!ELEMENT linkftr %ho; (%para.char.mix;|%para.mix;)*>
+<!--end of linkftr.element-->]]>
+<!--end of linkftr.module-->]]>
 



1.7       +92 -1     xmldocs/docbook/html-common.xsl


rev 1.7, prev_rev 1.6
Index: html-common.xsl
===================================================================
RCS file: /var/cvs/xmldocs/docbook/html-common.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- html-common.xsl	18 Oct 2004 09:33:51 -0000	1.6
+++ html-common.xsl	14 Nov 2007 18:50:30 -0000	1.7
@@ -6,5 +6,96 @@
 
 	<xsl:param name="para.propagates.style">1</xsl:param>
 
-</xsl:stylesheet>
+	<xsl:template match="searchbox">
+		<xsl:element name="form">
+		<xsl:attribute name="action">
+			<xsl:value-of select="'http://www.icdevgroup.org/i/dev/Swish'"/>
+		</xsl:attribute>
+		<xsl:attribute name="method">
+			<xsl:value-of select="'get'"/>
+		</xsl:attribute>
+
+		Search documentation:
+
+			<xsl:element name="input">
+				<xsl:attribute name="type">
+					<xsl:value-of select="'text'"/>
+				</xsl:attribute>
+				<xsl:attribute name="size">
+					<xsl:value-of select="'30'"/>
+				</xsl:attribute>
+				<xsl:attribute name="name">
+					<xsl:value-of select="'mv_searchspec'"/>
+				</xsl:attribute>
+			</xsl:element>
+
+			<xsl:element name="input">
+				<xsl:attribute name="type">
+					<xsl:value-of select="'submit'"/>
+				</xsl:attribute>
+				<xsl:attribute name="value">
+					<xsl:value-of select="'Go'"/>
+				</xsl:attribute>
+			</xsl:element>
 
+		(<xsl:element name="input">
+				<xsl:attribute name="type">
+					<xsl:value-of select="'checkbox'"/>
+				</xsl:attribute>
+				<xsl:attribute name="name">
+					<xsl:value-of select="'search_mailinglists'"/>
+				</xsl:attribute>
+				<xsl:attribute name="value">
+					<xsl:value-of select="'[either][value search_mailinglists][or]1[/either]'"/>
+				</xsl:attribute>
+			</xsl:element>
+			Include mailing lists)
+		<xsl:text disable-output-escaping="yes">
+			&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;
+		</xsl:text>
+			<xsl:element name="a">
+				<xsl:attribute name="href">
+					<xsl:value-of select="'http://www.icdevgroup.org/'"/>
+				</xsl:attribute>
+				Back to ICDEVGROUP Website
+			</xsl:element>
+		</xsl:element>
+	</xsl:template>
+
+	<xsl:template match="linkftr">
+			Quick Links: 
+			<xsl:element name="a">
+				<xsl:attribute name="href">
+					<xsl:value-of select="'http://d.icdevgroup.org/'"/>
+				</xsl:attribute>
+				Interchange documentation
+			</xsl:element> |
+			<xsl:element name="a">
+				<xsl:attribute name="href">
+					<xsl:value-of select="'http://www.icdevgroup.org/'"/>
+				</xsl:attribute>
+				ICDEVGROUP website
+			</xsl:element> |
+			<xsl:element name="a">
+				<xsl:attribute name="href">
+					<xsl:value-of select="'http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/'"/>
+				</xsl:attribute>
+				Interchange CVS
+			</xsl:element>
+			(<xsl:element name="a">
+				<xsl:attribute name="href">
+					<xsl:value-of select="'http://www.icdevgroup.org/pipermail/interchange-cvs/'"/>
+				</xsl:attribute>Commits</xsl:element>) |
+			<xsl:element name="a">
+				<xsl:attribute name="href">
+					<xsl:value-of select="'http://www.icdevgroup.org/cgi-bin/cvsweb/xmldocs/'"/>
+				</xsl:attribute>
+				Documentation CVS
+			</xsl:element>
+			(<xsl:element name="a">
+				<xsl:attribute name="href">
+					<xsl:value-of select="'http://www.icdevgroup.org/pipermail/docs/'"/>
+				</xsl:attribute>Commits</xsl:element>)
+	</xsl:template>
+
+</xsl:stylesheet>



1.30      +9 -0      xmldocs/docbook/xmldocs.css


rev 1.30, prev_rev 1.29
Index: xmldocs.css
===================================================================
RCS file: /var/cvs/xmldocs/docbook/xmldocs.css,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- xmldocs.css	21 Aug 2007 12:10:33 -0000	1.29
+++ xmldocs.css	14 Nov 2007 18:50:30 -0000	1.30
@@ -389,6 +389,15 @@
 	font-weight: bold;
 }
 
+input, textarea, select {
+	/*border: 1px solid #004183;*/
+	border: 1px solid #000;
+	padding: 2px;
+	margin-left: 2px;
+	margin-right: 2px;
+}
+
+
 
 /* AUGMENTING DEFINITIONS FOR PRINTING AND PROJECTION */
 



1.22      +7 -0      xmldocs/guides/index.xml


rev 1.22, prev_rev 1.21
Index: index.xml
===================================================================
RCS file: /var/cvs/xmldocs/guides/index.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- index.xml	20 Aug 2007 18:54:55 -0000	1.21
+++ index.xml	14 Nov 2007 18:50:30 -0000	1.22
@@ -31,6 +31,9 @@
 </informaltable>
 -->
 
+<para>
+<searchbox/>
+</para>
 
 <informaltable
 	align='center' pgwide='1' orient='port' title='' label='' frame='vsides'
@@ -271,6 +274,10 @@
 
 <para role="copyright">
 	Copyright 2005-2007 <ulink url='http://www.icdevgroup.org/'>Interchange Development Group (http://www.icdevgroup.org/)</ulink>, Davor Ocelic, <ulink url='mailto:docelic+icdevgroup.org'>(docelic+icdevgroup.org)</ulink>
+</para>
+
+<para>
+<linkftr/>
 </para>
 
 </book>








More information about the docs mailing list