# Favicon

**URL:** <https://www.ruby-forum.com/t/favicon/193268>\
**Category:** Ruby\
**Created:** [August 14, 2010, 2:39pm UTC](https://www.ruby-forum.com/t/favicon/193268 "2010-08-14T14:39:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![speed500](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@speed500](https://www.ruby-forum.com/u/speed500)\
**Post date:** [August 14, 2010, 2:39pm UTC](https://www.ruby-forum.com/t/favicon/193268/1 "2010-08-14T14:39:24Z")

</div>

hello everybody!

can someone help me??

how To get the favicon from the url using ruby script???

thanks

---

<div class="post-metadata">

**Author:** ![speed500](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@speed500](https://www.ruby-forum.com/u/speed500)\
**Post date:** [August 15, 2010, 6:47pm UTC](https://www.ruby-forum.com/t/favicon/193268/2 "2010-08-15T18:47:08Z")

</div>

On Sat, Aug 14, 2010 at 6:39 AM, Speed500 Speed500  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> hello everybody!
> 
> can someone help me??
> 
> how To get the favicon from the url using ruby script???
> 
> thanks

What have you tried so far?

---

<div class="post-metadata">

**Author:** ![speed500](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@speed500](https://www.ruby-forum.com/u/speed500)\
**Post date:** [August 15, 2010, 10:34pm UTC](https://www.ruby-forum.com/t/favicon/193268/3 "2010-08-15T22:34:50Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

- Speed500 Speed500, 08/14/2010 02:39 PM:

> hello everybody!
> 
> can someone help me??
> 
> how To get the favicon from the url using ruby script???
> 
> thanks

First you need to extract the favicon URL - I think that  
[Favicon - Wikipedia](http://en.wikipedia.org/wiki/Favicon) is a good starting point for this -  
and then you need to actually download it, for example using the method  
described here: [http://snippets.dzone.com/posts/show/2469](http://snippets.dzone.com/posts/show/2469)

HTH,

Josef ‘Jupp’ Schugt

* * *

Die Gedanken sind frei. Ausnahmen regelt eine EU-Verordnung.  
PGP key (id 6CC6574F) [http://wwwkeys.de.pgp.net/](http://wwwkeys.de.pgp.net/)  
[http://penpen.soup.io/](http://penpen.soup.io/)[http://twitter.com/penpendede](http://twitter.com/penpendede)  
Werde Mitglied der Piratenpartei! [http://web.piratenpartei.de/](http://web.piratenpartei.de/)  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.9 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iEYEARECAAYFAkxoT1YACgkQrhv7B2zGV093+gCfRwOn2BfVh6V77JPXiMQ/4NnM  
09EAoOEtBa2+iqca9ncqeN7YZzwUp7R5  
=UBSw  
-----END PGP SIGNATURE-----
