forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject pdf-tab.xmap as standard feature
Date Tue, 20 Jul 2004 12:38:23 GMT
Hello devs,

I just further enhanced the functionality of the pdf-tab.xmap example in 
the howto:
 <map:transform type="xpath">
   <map:parameter name="include" value="//*[@wholesite='true']"/>
   <map:parameter name="exclude" value="//*[@wholesite='false']"/>
 </map:transform>

Thats makes it possible to exclude sites of the aggregation. e.g.
<samples label="Samples" href="samples/" tab="samples" wholesite="true">
 <sample2 label="Static content" href="sample2.html"      
description="More Samples" wholesite='false'/>
 <sample-wiki label="Wiki page" href="wiki-sample.html"      
description="wiki-sample" />
 <sample-ihtml label="ihtml page" href="ihtml-sample.html"      
description="Test iHTML page" />
</samples>

The only thing what I do not like is the "funny text":
Line 8 defines the title of the pdf file by taking the content of the 
project-name variable in skinconf.xml and adding some funny text:
<map:parameter name="title" value="{conf:project-name}: Still My Foo Site"/>

We could introduce e.g.
<pdf-tab-title>Whole documentation</pdf-tab-title>
into the skinconf.xml and change the line 8 to:
<map:parameter name="title" value="{conf:project-name}: 
{conf:pdf-tab-title}"/>
then I reckon we can include it as standard feature.

One more thing that I noticed by introducing this functionality to the 
lenya website is that if the project not have an index.xml for each 
subdir that will cause a fatal error for the intend to aggregate the 
whole site or parts of the documentation. Which is the case for the 
lenya-doc folder! Have to fix that!

king regards
thorsten

-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.
Avda. de la Arboleda s/n
41940 - Tomares,  (Sevilla)
Tlfn: (+34) 955 062 627
e-mail: thorsten.scherler.ext@juntadeandalucia.es

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de "Sociedad
Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U.". Si no
es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia
digital o física, comunicando a Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U. vía e-mail o fax la recepción del presente
mensaje. Toda declaración de voluntad contenida deberá ser tenida por no
producida. Gracias.
____________________________________________________________________________
___________________

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of "Sociedad Andaluza para
el Desarrollo de la Sociedad de la Información, S.A.U.". If you are not the
formal receiver of this message please destroy it without making any digital
or physical copy and inform "Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U." , by e-mail or fax, of the reception of
the present message. Any whatsoever involuntary declaration contained
herewith must be taken as having no legal effect. Thank you.


Mime
View raw message