Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feed Wizard: Icon from URL #15

Open
akavel opened this issue Dec 13, 2019 · 4 comments
Open

New Feed Wizard: Icon from URL #15

akavel opened this issue Dec 13, 2019 · 4 comments

Comments

@akavel
Copy link

akavel commented Dec 13, 2019

As a new user, I was (and still am) confused by the icons page in the Wizard. In my case, the app does not have embedded icon; however, it has a logo on its website; it would be super cool if I could paste the URL of the image and have it downloaded by the 0publish tool and added into the feed. (Or is it not how the icons work for feeds? as I say, I don't anderstand this well yet.)

@bastianeicher
Copy link
Member

Hi @akavel,

the icons in feeds are used for two purposes:

  • To show a icon when the feed is viewed in a browser (.png)
  • To add an icon when creating Start Menu shortcuts (.ico)

The icons are not stored within the feed. Instead the feed just points to HTTP(S) URLs where the icons are hosted.

So you can indeed just paste the URL of the existing logo on the website. But you'll probably also need to upload an .ico file somewhere, if you want Zero Install to generate nice shortcuts.

I'll try to add more explanatory text to this page of the "New Feed Wizard". Thanks for your feedback!

Regards
Bastian

@akavel
Copy link
Author

akavel commented Dec 27, 2019

Maybe the .png & .ico files could be optionally copied into the same directory where the feed's .xml file is saved? (named the same as the feed, but replacing .xml with .png / .ico) Also, maybe some .NET library could be used to convert a .png image to an .ico one when only the first is provided?

@bastianeicher
Copy link
Member

@akavel: Both good ideas. I'll but them on my backlog, but not sure when I'll get around to working on these.

@akavel
Copy link
Author

akavel commented Jan 2, 2020

FYI, I currently started using the following PowerShell script to convert .png images to .ico:

https://github.com/akavel/0catalog/blob/f1b8eb2d187d874024c8c87c3a590a42df03f06d/feeds/ConvertTo-Icon.ps1

maybe it can be useful to you in future for integration in 0publish-win?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants