cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darren Petrie <dpet...@anteon.com>
Subject Re: Site icon display
Date Fri, 24 Jun 2005 12:15:20 GMT
Derek,

I think your problem is that in the root Cocoon sitemap the following  
matcher exists.

  <!-- favicon -->
  <map:match pattern="**favicon.ico">
       <map:read mime-type="image/x-icon" src="resources/icons/ 
cocoon.ico"/>
  </map:match>

This takes precedence over anything you define in your sub-sitemaps.

Darren

On Jun 24, 2005, at 7:35 AM, Marc Salvetti wrote:

> I just have this
>      <map:match pattern="*.ico">
>        <map:read src="icons/{1}.ico"/>
>      </map:match>
> and somehow, i didn't need any links in the html to make it works,  
> i think the browser just look for it at the root of the domain and  
> display it if it's found
>
> Marc
>
> Derek Hohls a écrit :
>
>
>> Yup - check - already got that, thanks!
>>
>> mime type is image/ico  ... ?
>>
>>
>>
>>>>> marc@notremanou.net 2005/06/24 12:52:46 PM >>>
>>>>>
>>>>>
>> And make sure you have the *.ico matcher in the sitemap, i forgot  
>> this before and spend a few hours understanding why the icon  
>> wouldn't show up.
>>
>> Marc
>>
>> Bertrand Delacretaz a écrit :
>>
>>
>>
>>> Le 24 juin 05, à 09:00, Derek Hohls a écrit :
>>>
>>>
>>>
>>>> ...I have tried:
>>>> <link rel="SHORTCUT ICON" type="image/ico"  href="path/ 
>>>> favicon.ico"></link>
>>>> and
>>>> <link rel="icon" type="image/png" href="path/favicon.png"></link>
>>>>
>>>>
>>> Here's one which is known to work:
>>> <link href="publication-static/www/img/favicon.png" type="image/ 
>>> png" rel="Shortcut Icon">
>>>
>>> Then, as suggested, you can check at the HTTP level, what precise  
>>> URL the browser looks for.
>>>
>>> -Bertrand
>>>
>>>
>>
>>
>>
>>
>>
>>
>> _____________________________________________________________________ 
>> ______ Appel audio GRATUIT partout dans le monde avec le nouveau  
>> Yahoo! Messenger Téléchargez cette version sur http:// 
>> fr.messenger.yahoo.com
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For  
>> additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>
>>
>>
>
>
>
>
>
> ______________________________________________________________________ 
> _____ Appel audio GRATUIT partout dans le monde avec le nouveau  
> Yahoo! Messenger Téléchargez cette version sur http:// 
> fr.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>


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


Mime
View raw message