Re: get the icon found in address bar in browser

2008-09-30 Thread Ben Rubinstein
Colin Holgate wrote: At 5:39 PM +0200 9/29/08, Mark Schonewille wrote: I don't think you can safely assume that you will find the ico file in the root of a web site. You should check whether a link to an ico file has been specified for a particular page. Of course, I was only showing root

get the icon found in address bar in browser

2008-09-29 Thread Thomas McGrath III
Does anyone know how to capture/get the icon found before the http text in the address bar in most web browsers? I want to get this via script in Revolution in a text field. Thanks in advance, Tom McGrath III ___ use-revolution mailing list

Re: get the icon found in address bar in browser

2008-09-29 Thread Mark Schonewille
Hi Tom, The web page contains a link to the Favicon file. Officially, this is supposed to be an ico file, which Revolution can't read natively. If this file happens to be bmp, gif, jpg or png, you can just download it and display it in a field. -- Best regards, Mark Schonewille

Re: get the icon found in address bar in browser

2008-09-29 Thread Thomas McGrath III
Mark, Thanks, I should have just asked that. I knew it was an .ico file but wasn't thinking about natively reading the file. I wonder if there is a way to access gif/bmp representations of a website in another way. I know that revBrowser will do a snapshot thumbnail and was hoping for

Re: get the icon found in address bar in browser

2008-09-29 Thread Colin Holgate
At 10:54 AM -0400 9/29/08, Thomas McGrath III wrote: Does anyone know how to capture/get the icon found before the http text in the address bar in most web browsers? I want to get this via script in Revolution in a text field. I believe that it's always favicon.ico. So for example the one for

Re: get the icon found in address bar in browser

2008-09-29 Thread Mark Schonewille
Hi Colin, I don't think you can safely assume that you will find the ico file in the root of a web site. You should check whether a link to an ico file has been specified for a particular page. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering

Re: get the icon found in address bar in browser

2008-09-29 Thread Stephen Barncard
Some clever revDude could hack out a conversion -- .ico's are only 16x16 (uncompressed?) 1. screenscrape the html of the page for the first .ico file 2. get the file as binary 3. figure out where the headers, jump tables are, the standards for ico are out there I'm sure 4. convert to

Re: get the icon found in address bar in browser

2008-09-29 Thread Colin Holgate
At 5:39 PM +0200 9/29/08, Mark Schonewille wrote: I don't think you can safely assume that you will find the ico file in the root of a web site. You should check whether a link to an ico file has been specified for a particular page. Of course, I was only showing root examples. Rev not being

Re: get the icon found in address bar in browser

2008-09-29 Thread Thomas McGrath III
Clever versus time versus need ??? If you go to www.go2web20.com they have a flash app that 'gets' website graphics and I'm not sure if they are even the original favicons or where they got them from. But I wouldn't think they got them all manually?? Anyway, I would like to have a bookmark

Re: get the icon found in address bar in browser

2008-09-29 Thread Thomas McGrath III
Colin, Yes this will get the .ico file if it is at the root level but not all are and more importantly for me anyway is Rev can't handle the .ico natively so I'm still stuck. Hoping for s semi-simple solution. Thanks though, Tom McGrath On Sep 29, 2008, at 11:33 AM, Colin Holgate wrote:

Re: get the icon found in address bar in browser

2008-09-29 Thread Thomas McGrath III
Colin, This was my reply to your fist text. grin, so yes we are still stuck with REV not working with the .ico file directly. Thanks again, Tom McGrath On Sep 29, 2008, at 11:48 AM, Colin Holgate wrote: At 5:39 PM +0200 9/29/08, Mark Schonewille wrote: I don't think you can safely assume

Re: get the icon found in address bar in browser

2008-09-29 Thread Chipp Walters
Tom, Don't know if this will help... but you could capture the icon using import (or export) snapshot, then, if you needed it to have a transparency channel, you could knock out the background using the scripts in altMakeTransparent stack at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm

Re: get the icon found in address bar in browser

2008-09-29 Thread Thomas McGrath III
Chipp, Yeah, that seems my last resort and I will play around to see what results I get. I like the idea of the altMakeTransparent approach. Thanks, Tom McGrath III On Sep 29, 2008, at 2:45 PM, Chipp Walters wrote: Tom, Don't know if this will help... but you could capture the icon