You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Piroumian Konstantin <KP...@protek.com> on 2002/07/30 08:55:00 UTC
RE: cvs commit: xml-forrest/src/resources/skins/bert/xslt/html si
te2xhtml.xsl
> From: Bert Van Kets [mailto:bert@vankets.com]
>
> I added a link to the favicon icon, so it would be copied.
> At the same time I removed the 1pix image that contained the
> link. This
> saves code and download time.
> A <a href> is enough to get the images copied. It doesn not
> have to enclose
> an object.
>
> You might wonder why this list of links is necessary.
> The images are used in CSS, but as CSS is not parsed those
> images would not
> be copied without the links. Same is true for the favicon.
> If there's no
> link to the image/icon, it's not copied.
IMHO, images should be copied by Ant and not by the Cocoon CLI. Of course,
where/if it's possible.
Konstantin
>
> HTH,
> Bert
>
>
> At 12:33 30/07/2002 +1000, you wrote:
> >I am not sure what was the purpose of this commit. It seems
> >to have removed certain <img> tags, so leaving only links to
> >images. Was that the intention? By the way, these changes have
> >all been added to the forrest-site skin.
> >--David
> >
> >bert@apache.org wrote:
> > > bert 2002/07/29 12:59:59
> > >
> > > Modified: src/resources/skins/bert/xslt/html site2xhtml.xsl
> > > Log:
> > > Adding link to favicon.ico
> > >
> > > Revision Changes Path
> > > 1.12 +1
> > -1
> xml-forrest/src/resources/skins/bert/xslt/html/site2xhtml.xsl
> > >
> > > Index: site2xhtml.xsl
> > >
> ===================================================================
> > > RCS file:
> >
> /home/cvs/xml-forrest/src/resources/skins/bert/xslt/html/site2
> xhtml.xsl,v
> > > retrieving revision 1.11
> > > retrieving revision 1.12
> > > diff -u -r1.11 -r1.12
> > > --- site2xhtml.xsl 23 Jul 2002 08:26:18 -0000 1.11
> > > +++ site2xhtml.xsl 29 Jul 2002 19:59:59 -0000 1.12
> > > @@ -147,7 +147,7 @@
> > > <tr>
> > > <td width="10"><img
> src="skin/images/spacer.gif" alt=""
> > height="1" width="10" /></td>
> > > </tr>
> > > - <tr><td bgcolor="#4C6C8F" height="1" colspan="2"><img
> > src="skin/images/spacer.gif" alt="" width="1" height="1" /><a
> > href="skin/images/label.gif"><img
> src="skin/images/spacer.gif" alt=""
> > width="1" height="1" border="0"/></a><a
> href="skin/images/page.gif"><img
> > src="skin/images/spacer.gif" alt="" width="1" height="1"
> > border="0"/></a><a href="skin/images/chapter.gif"><img
> > src="skin/images/spacer.gif" alt="" width="1" height="1"
> > border="0"/></a><a href="skin/images/chapter_open.gif"><img
> > src="skin/images/spacer.gif" alt="" width="1" height="1"
> > border="0"/></a><a href="skin/images/current.gif"><img
> > src="skin/images/spacer.gif" alt="" width="1" height="1"
> > border="0"/></a></td></tr>
> > > + <tr><td bgcolor="#4C6C8F" height="1" colspan="2"><img
> > src="skin/images/spacer.gif" alt="" width="1" height="1" /><a
> > href="skin/images/label.gif"></a><a
> href="skin/images/page.gif"></a><a
> > href="skin/images/chapter.gif"></a><a
> > href="skin/images/chapter_open.gif"></a><a
> > href="skin/images/current.gif"></a><a
> href="/favicon.ico"></a></td></tr>
> > > <tr>
> > > <td align="center" class="copyright" bgcolor="#CFDCED"
> > colspan="2">
> > > <font face="Arial, Helvetica, Sans-Serif"
> > size="2">Copyright © @year@ @vendor@. All Rights
> Reserved<script
> > language="JavaScript" type="text/javascript"><![CDATA[<!--
> > >
> > >
> > >
>