Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

extract webpage icon

Posted on 2004-10-27
8
Medium Priority
?
437 Views
Last Modified: 2010-04-05
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.
0
Comment
Question by:fidel83
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
8 Comments
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12420762
thats the favicon.ico link

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

David
0
 
LVL 7

Accepted Solution

by:
DavidBirch2dotCom earned 500 total points
ID: 12420775
www.experts-exchange.com/favicon.ico
www.google.com/favicon.ico

ect

it should then be possible to download that file

David
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12420818
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
 
LVL 1

Author Comment

by:fidel83
ID: 12421226
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
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12421319
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
 
LVL 1

Author Comment

by:fidel83
ID: 12421362
thanks David :-)
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 12421371
glad I could help

David
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question