[mythtv-commits] Ticket #10932: [PATCH] Add "apple-touch-icon" to MythWeb

MythTV noreply at mythtv.org
Mon Jul 23 16:37:31 UTC 2012


#10932: [PATCH] Add "apple-touch-icon" to MythWeb
------------------------------------+-------------------------
     Reporter:  Joe Nyland <joe@…>  |      Owner:  kormoc
         Type:  Patch - Feature     |     Status:  new
     Priority:  minor               |  Milestone:  unknown
    Component:  Plugin - MythWeb    |    Version:  Master Head
     Severity:  low                 |   Keywords:
Ticket locked:  0                   |
------------------------------------+-------------------------
 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
 [http://developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
 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
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10932>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list