cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: [C2.1] How to get a favicon.ico in the browser.
Date Tue, 10 Sep 2002 12:18:48 GMT
AFAIK the icon must be in the root of the server, not in the
image directory.

> From: Barbara Post [mailto:babs33@ifrance.com]
> 
> Does a direct call of the url in the browser to the .ico work ? Indeed
> image/bmp seems right, afaik...
> 
> > From: "Antonio Gallardo Rivera" <agallardo@agsoftware.dnsalias.com>
> > To: <cocoon-users@xml.apache.org>
> > Sent: Tuesday, September 10, 2002 7:45 AM
> > Subject: [C2.1] How to get a favicon.ico in the browser.
> > 
> > I am trying to set the icon of the site with cocoon. My 
> > problem is I dont know what mime-type to set in the sitemap.xmap
> > 
> > <map:match pattern="images/*.ico">
> > <map:read mime-type="image/bmp" src="resources/images/{1}.ico"/>
> >  </map:match>

<map:match patterm="/favicon.ico">
  <map:read mime-type="image/bmp" src="resources/images/favicon.ico"/>
</map:match>

J.

> > The "favicon.ico" is in the directory: "/resources/images" 
> > and set in the
> > stylesheet with the hardcoded string:
> > 
> > <head>
> > <link rel="shortcut icon" href="images/favicon.ico"/>
> > </head>
> > 
> > But the browser dont get it.
> > 
> > Please help me.
> > 
> > BTW, I am using: Tomcat 4.1.10, Cocoon 2.1 (last CVS) and J2SDK 1.4.1
> > 
> > Many thanks in advance ;)
> > 
> > Antonio Gallardo


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message