Opened 3 years ago
Closed 3 years ago
Last modified 2 years ago
[PATCH] Add "apple-touch-icon" to MythWeb
|Reported by:||Joe Nyland <joe@…>||Owned by:||kormoc|
|Component:||Plugin - MythWeb||Version:||Master Head|
I'm attaching a patch for MythWeb to add an "apple-touch-icon" for iOS devices.
This basically links to a .png file, which is requested when an iOS user adds MythWeb as a favourite on their home screen. Currently, if an iOS user adds MythWeb to their iOS home screen, they get an ugly, unhelpful screen shot of the MythWeb interface (which is the default iOS behaviour when an apple-touch-icon cannot be found for the site which you are bookmarking). More info "apple-touch-icon"s is here.
With my patch, iOS will display a nice clear MythTV icon on a user's home screen when MythWeb is saved as a favourite there.
The other part of the feature addition involves adding three .png files to the img folders for each of the skins which are included in the repo. Unfortunately, I have very little experience with git and I am not a developer. I have spent a considerable amount of time today trying to figure out for myself a way to create a patch which includes the addition of these binary files cleanly. If there's a way in which this type of patch is generated, I'd really appreciate some pointers on how I can generate a patch for this.
For now, I'm attaching a patch for the header.php files which links to the .png images and I'll also attach a tarball containing the .png images themselves. These .png images simply need to be added to the img folder for each skin, e.g
skins/<skin_name>/img/apple-touch-icon.png skins/<skin_name>/img/apple-touch-icon-72x72.png skins/<skin_name>/img/apple-touch-icon-114x114.png