What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

My Stack Overflow Careers profile includes links to a couple of my projects, and their websites contain markup like

<link rel="shortcut icon" sizes="16x16 32x32" type="image/png"
 href="/myproject/favicon.png"/>

Instead of displaying the favicons, though, SO Careers displays a placeholder (a white box with a gray border). I think everything here is valid HTML5, except for the inclusion of shortcut in the rel attribute (which is necessary for IE)… am I doing something wrong, or is SOC parsing my site incorrectly?

share|improve this question
    
Any reason you can't include them in an img element? –  Oded Nov 3 '12 at 16:42
    
@Oded: It’s a favicon, why would I include it in an img? –  bdesham Nov 3 '12 at 17:51
    
Why do you expect a favicon to appear on a page? –  Oded Nov 3 '12 at 20:03
    
Not sure it's a "bug", maybe they just not covering all the corners. Good test case will be checking your favicon here just change http://www.stackoverflow.com to your own URL and see what you get. If it's the correct icon than you can ask the developers here to fill the gap for your case. –  Shadow Wizard Nov 4 '12 at 11:54
    
Also note that based on this answer posted by Stack Overflow developer, full URL is expected in the href attribute so most likely changing to full URL will make it work for your case as well. –  Shadow Wizard Nov 4 '12 at 11:55
    
@Oded When you link to a project via your Stack Overflow Careers profile, SOC tries to import the website’s favicon to show next to the link. –  bdesham Nov 4 '12 at 15:29
    
@ShaWizDowArd This tool correctly finds the favicon for the root of my domain (/index.html), but fails on the page in question, which has its own favicon. (This is an issue with the getFavicon tool, as noted under “known problems” at the bottom of the page.) And I’m not sure where on that SO answer anyone says that you need a full URL… I think that the HTML spec itself specifies how to resolve URLs that are given relative to the root of the current domain, and my page is in compliance with the spec. –  bdesham Nov 4 '12 at 15:33
    
Sorry, linked to the question instead to answer. Here is link to the answer itself, as you see Marc is giving full URL in there. As code need to be changed it might take time, can't you change the URL in your page in the meanwhile? –  Shadow Wizard Nov 4 '12 at 15:41
    
Can you give an example link for testing? –  mjibson Nov 6 '12 at 19:27
    
@mjibson Both bdesham.info and bdesham.info/cubuses exhibit this behavior. –  bdesham Nov 6 '12 at 21:12
    
I tried both URLs as article read/written, open source, and apps & software and the correct favicon was displayed. Try again? –  mjibson Nov 7 '12 at 8:50
add comment

You must log in to answer this question.

Browse other questions tagged .