Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [UR] General Discussion (http://www.kinook.com/Forum/forumdisplay.php?f=23)
-   -   Getting the icon to go with the web page (http://www.kinook.com/Forum/showthread.php?t=4593)

Smith-Corona 07-16-2010 05:54 AM

Getting the icon to go with the web page
 
Not a major issue, this, but I wondered - is there any logic to how UR gets the icon, if at all, from web pages you import? Sometimes I get the icon, sometimes (mostly?) just the "blank" file icon. Latterly, I seemed to have ended up with a file association between .htm and Ultraedit, so every web page I imported had the Ultraedit icon, which was annoying. Even after I'd changed the association UR kept using the Ultraedit icon.

So - not a major issue, but it would be nice to always get the icon that goes with the web page, if only for the look of the thing. And you might even want to search using the icon sometime.

kinook 07-16-2010 07:53 AM

For online pages, it looks for a favicon.ico file on the web server and uses it if found (this lookup is done once per domain, if it has already been retrieved previously for that domain, the existing icon is used). This was how it was originally done, and most sites put the favicon there. Later, specifications were defined for other ways to indicate the favicon (see http://en.wikipedia.org/wiki/Favicon), but UR doesn't support them.

If the favicon isn't found (or when importing local HTML files), it looks for the icon associated with the .htm extension in Windows (this lookup is also done once, and if it has already been stored, the existing icon is used). If no association is found, UR uses a generic document icon.

To force an update of an icon that's already been stored, search on that icon and temporarily change all matching items to another icon (to remove the site icon from the database), import another page from that site, and update all of the stored items to have the new icon.

Smith-Corona 07-16-2010 11:00 AM

Thanks, I'll try that.


All times are GMT -5. The time now is 07:23 PM.


Copyright 1999-2019 Kinook Software, Inc.