Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Safari Site Icons

Safari Site Icons
Thread Tools
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Jan 9, 2003, 07:31 PM
 
Where does Safari pull these Bookmark Icons from for sites? I would love to create one for my site!
     
Dedicated MacNNer
Join Date: Nov 2002
Location: Chapel Hill, NC
Status: Offline
Reply With Quote
Jan 9, 2003, 07:41 PM
 
Originally posted by headbirth:
Where does Safari pull these Bookmark Icons from for sites? I would love to create one for my site!
Well, this is what I did. First, you'll have to create an icon, then create .icn file. Then, you'll have to add the appropriate code to your html.

Create an icon in Photoshop, or some graphics software, then save it as a gif or something. Then open it in an editor like Iconographer (get it from versiontacker) and save it as an .icn file.

The code should look like this, and should be in the head:
<link rel="SHORTCUT ICON" href="iconname">

Hope this helps!

Uisce
     
Professional Poster
Join Date: Jul 2001
Location: New York, NY
Status: Offline
Reply With Quote
Jan 9, 2003, 07:42 PM
 
I believe they're called Favicons or something like that.

I don't believe they're standard HTML, but many browsers can use them. I don't know more about how to code for them, but somebody around here will...
cpac
     
Mac Elite
Join Date: Apr 2002
Location: Quetzlzacatenango
Status: Offline
Reply With Quote
Jan 9, 2003, 07:48 PM
 
     
Mac Elite
Join Date: Jun 2001
Location: Dundee, Scotland
Status: Offline
Reply With Quote
Jan 9, 2003, 07:52 PM
 
When you test these - note that clearing the cache won't clear these icons so if you change yours it doesn't show up.

you instead need to dump

~/Library/Caches/com.apple.WebKit/Icons
     
Mac Elite
Join Date: Mar 2001
Location: somewhere in ohio
Status: Offline
Reply With Quote
Jan 9, 2003, 10:21 PM
 
Its funny. Mozilla has had this forever and now that Safari has it as well, people come out in groves wondering what favicons are. Makes you wonder how many people that claimed to be IE free actually used it still
     
Mac Elite
Join Date: Apr 2002
Location: Quetzlzacatenango
Status: Offline
Reply With Quote
Jan 9, 2003, 10:29 PM
 
Millenium or one of the other OS X mods should put a sticky at the top of this forum with information on favicons and Safari modifications - link underlines, minimum font size, debug menu - so we don't get 12,000 threads on them. Maybe put one in the Lounge, too.
     
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Jan 10, 2003, 03:32 AM
 
It seems that Chimera will only look for favicons if they're in the document root of the server and named favicon.ico .

Also, IIRC the standard format of these files is a windows icon file (.ico; mime-type: image/x-icon) at 16x16 ...
[Wevah setPostCount:[Wevah postCount] + 1];
     
Mac Enthusiast
Join Date: Feb 2001
Location: Savannah, GA
Status: Offline
Reply With Quote
Jan 10, 2003, 08:36 AM
 
Originally posted by Wevah:
It seems that Chimera will only look for favicons if they're in the document root of the server and named favicon.ico.
Yeah, I've noticed many browsers actually request this file every time they hit a page. As a result, if your site doesn't provide one, you're left with a web server log full of 404 errors for favicon.ico. Not fun
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:01 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2