Page 1 of 1

replacement floIcon.php

Posted: 26 Jun 2013, 03:44
by jimparis
After reading this topic about floIcon.php, I figured I'd just write my own. How hard can reading a favicon be, anyway? Turns out, it's the most retarded file format you can imagine. But my replacement seems to work ok on most of the icons I tested.

You can get it here: https://github.com/jimparis/jimIcon

Just copy the two files jimIcon.php and floIcon.php into lib/. The second file is a shim so that no tt-rss code needs to be changed.

Re: replacement floIcon.php

Posted: 26 Jun 2013, 04:30
by sleeper_service
jimparis wrote:After reading this topic about floIcon.php, I figured I'd just write my own. How hard can reading a favicon be, anyway?


famous last words...
Turns out, it's the most retarded file format you can imagine.


see? what'd I tell you? anybody that watches top gear knows that whenever you hear that phrase, chaos is lurking just around the corner.

Re: replacement floIcon.php

Posted: 26 Jun 2013, 08:27
by fox
Awesome!

Edit: seems to work, thanks so much for this.

Re: replacement floIcon.php

Posted: 26 Jun 2013, 11:30
by gbcox

Re: replacement floIcon.php

Posted: 26 Jun 2013, 17:02
by blainemono
holy shit man

OP, you are awesome!