extract webpage icon

Hi,
Is there a way to extract a webpage's icon?
(The one that appears on the left of some urls - for example google.com)

Cheers,
Fidel.
LVL 1
fidel83Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DavidBirch2dotComCommented:
thats the favicon.ico link

normaly found at www.domain.com/favicon.ico 

David
0
DavidBirch2dotComCommented:
www.experts-exchange.com/favicon.ico
www.google.com/favicon.ico

ect

it should then be possible to download that file

David
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

DavidBirch2dotComCommented:
Accepted Answer from dwwang
Date: 12/28/1998 10:18AM WET
Grade: A
 Accepted Answer  


Download this component, http://www.torry.ru/vcl/internet/webfileI.zip
Besides downloading a file from a URL,  It contains much more functions.

It is with full source, so you can make use of the part that implements the downloading.


-----------

that should do it - just get the domain and add /favicon.ico to it

David


0
fidel83Author Commented:
Hi David, thanks for the good answer, I will accept soon

On last related question - any quick way to extract the domain name from the url?
0
DavidBirch2dotComCommented:
thanks :)

off the top of my head ... you could check for the Http:// bit if its there delete it then delete everything after the first /

David
0
fidel83Author Commented:
thanks David :-)
0
DavidBirch2dotComCommented:
glad I could help

David
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.