danielthepope / trntxt

:steam_locomotive::train::train: A data-friendly UK train times site
https://trntxt.uk
MIT License
36 stars 9 forks source link

Support start tiles for MS Edge #31

Closed danielthepope closed 9 years ago

danielthepope commented 9 years ago

In order to get a custom tile icon onto the Windows 10 start menu using MS Edge, do I need different meta tags or will the IE ones be fine?

At the moment the meta tags aren't included because Edge has a different UA string than IE. Important since Windows 10 Mobile will use Edge.

patrickkettner commented 9 years ago

Hey @danielthepope - super neat service!

The same meta tags work in Edge/Win10. Here

image

Here is a bit more information, specifically

These are still supported in Edge...

and

I'd like to see us deprecate browserconfig.xml and associated meta tags in favor of using a standard JSON manifest. But I don't know of imminent plans to do so quite yet and I believe there's still some work to do on the manifest specification itself

danielthepope commented 9 years ago

Hey @patrickkettner, thanks for the info! I was trying to find something about browserconfig.xml in the MSDN docs but there's not very much for Edge yet. I'll make sure all browsers see the manifest.json (I thought it was just a Chrome thing rather than a proper standard). Looks like in the example from your screenshot, Edge has gone out to look for trntxt.uk/browserconfig.xml even though it's not actually specified in the meta tag (yet).

patrickkettner commented 9 years ago

the manifest is not quite a proper standard - but we are hoping that it becomes one asap.

but yeah, it will grab the browserconfig automatically

danielthepope commented 9 years ago

I updated my site so that the meta tag pointing to the custom browserconfig appears to Edge browsers. I tried pinning the tile to my start menu when running locally, but for some reason Edge didn't even make a request for browserconfig.xml. Not so good for testing. I then deployed it anyway and pinned from the live site and it worked! image

I think I need to adapt the icon a bit, so that the app name is easier to read!

patrickkettner commented 9 years ago

:+1:

danielthepope commented 9 years ago

I hear I can hide the tile text by setting application-name to  . I'll do this later.