tontof / kriss_feed

A simple and smart (or stupid) feed reader
281 stars 53 forks source link

Favicons: getFavicon service over it's serving quota #357

Closed Metal-Mighty closed 9 years ago

Metal-Mighty commented 9 years ago

Hi

I've always had favicons enabled on my Kriss install and since a few months they are not showing anymore. The cause is that the service has been "temporarily over it's service quota". I refresh Kriss multiple times daily and I have never seen my favicons back in the past few months.

I fixed the issue by replacing line 2559

$url = 'http://getfavicon.appspot.com/'.$htmlUrl.'?defaulticon=bluepng';

... With one of Google's hidden service originally shared on Google S2

$url = 'http://www.google.com/s2/favicons?domain='.$htmlUrl;

The blue planet still shows correctly when there's no favicon to display after that.

tontof commented 9 years ago

I modify it https://github.com/tontof/kriss_feed/commit/3f1eb8fcde87faa270d8f4cb03470caee164e67c Thanks