shah / uniform-resource

Uniform resource transformers for content orchestration engines
GNU Affero General Public License v3.0
1 stars 0 forks source link

Need to have option to fetch Fav Icon #4

Closed geovlazar closed 4 years ago

geovlazar commented 4 years ago

Can this uniform resource will allow fetching the Fav iCon of the source site which we trying to get data?. In some cases along with the data from the source site we need to display the URL with favicon of the source website image

shah commented 4 years ago

Yes @geovlazar this should be possible. Do you already have the code and just need to integrate it into uniform-resource or do we need to build the code?

See:

If a module is already doing what you need, it shouldn't take long to integrate.

There are also "FavIcon Proxy" services, described in the StackOverflow answer above:

<img height="16" width="16" src='https://icons.duckduckgo.com/ip3/www.google.com.ico' />
<img height="16" width="16" src='http://www.google.com/s2/favicons?domain=www.google.com' />
<img height="16" width="16" src='https://api.statvoo.com/favicon/?url=google.com' />

So, perhaps we can use one of the proxies above to start with and then look at other models later.

geovlazar commented 4 years ago

Thanks @shah for your detailed response. If there are another module and component which do the same process we can follow that. But my point is if this feature also is a part of the uniform-resource it will be great to for fetching Metadata of the Page, FavIcon, Image URLs. So that we can use the same in multiple places in the future.

shah commented 4 years ago

Yes, @geovlazar this can and will be fully integrated into uniform-resource but my question to you is how you suggest it should be incorporate and what you need. If you need just the URLs that's easy, if you need the actual binaries downloaded as attachments that's a bit more work. Please elaborate exactly what you need.

geovlazar commented 4 years ago

Thanks, @shah for your response. As of the first version, we can continue like what is available now. My opinion is to include the download of actual binaries in the advanced versions and please consider this as an item in your Roadmap of enhancements