How Web Clips Work
If you're using version 1.1.3 of the iPhone or iPod touch-with-January-Upgrade , you'll probably encountered Web Clips. Web Clips add home screen icons that lead to your favorite sites. It's easy enough to make Web Clips, just tap the "+" button at the bottom of any MobileSafari webpage and choose Add to Home Screen from the pop-up menu (and yes, we're working on one for TUAW).When you request a Web Clip, Safari looks at the website. When it finds a site-based icon file (apple-touch-icon.png), it uses that art for the icon. Otherwise it scales down a screen shot.
Safari appears to create a new folder in /var/mobile/Library/WebClips, a .webclip bundle. Like on the Mac, bundles are specially named folders that contain resources that contribute to an application or plug-in, or, in this case, define a Web Clip.
The clip itself seems to consist of two files: a property list (Info.plist) and an icon (icon.png). The icon art is automatically built by Safari. The Info.plist file specifies the name of the Web Clip (that is, the title you entered when creating the Web Clip), the scaling used to create the icon art, and the URL to which the Web Clip links.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Scale</key>
<real>0.32653060555458069</real>
<key>ScrollPoint</key>
<string>0.000000,-183.750000</string<
<key>Title</key>
<string>Untitled</string>
<key>URL</key>
<string>http://www.tuaw.com/</string>
</dict>
</plist>
And now on to the speculative side of things. If you're so inclined and have figured out how to access to the 1.1.3 command line, you can theoretically create Web Clips by hand. Navigate to the WebClips folder (you may need to create one), create a folder using the .webclips extension, and add the two needed files: an icon file and the property list, keeping as close as you can to Apple-generated samples--duplicating an existing webclip, renaming the folder and replacing the icon, name and URL should do it. You may need to restart SpringBoard after adding a webclip by either rebooting or issuing launchctl stop com.apple.SpringBoard.
Share
Categories
If you're using version 1.1.3 of the iPhone or iPod touch-with-January-Upgrade , you'll probably encountered Web Clips. Web Clips add home...
Add a Comment
We have a brief version history posted here - http://noury-goujjane.com/ Good luck!
January 28 2008 at 10:53 AM Report abuse Permalink rate up rate down ReplyCheck out:
http://www.nobodylikesonions.com/clipclick
It lets you add a custom icon to any URL for making custom webclips. You can also browse other's webclips and share them.
Hmm...doesn't seem to be working for me. I created a 57x57 pixel png file called apple-touch-icon.png and put it on my site in the folder where my index.html file is (and most of my other files). Nothing. The icon on the screen is the scaled-down image of my site. Thinking that maybe I put the png file in the wrong place, and that 'the root' of my site might mean the actual root (instead of where I place all my html files), I put that png file in the root as well. Still nothing.
I think I'm following the instructions, but it's not working for my site (www.funwithheadlines.net). What might I be doing wrong based on the above?
Thanks for the email response! OK, I see what I was doing wrong. For the record, I thought I was in the root directory but I was actually one level in. I'm now working with my host company to get the file in place.
January 23 2008 at 11:51 PM Report abuse Permalink rate up rate down ReplyHow can it take your server people so long to get this done? You created the image, you upload it your root directory of the site, and make sure you name it correctly thats it your all done
I had mine for my own site out the same day they announced them.
TUAW webclip icon:
http://www.dyspersion.com/misc/clippngs/tuaw.png
Peter Zich's script to install your custom icons (from a URL) into any web page you want:
http://pz2.ucls.uchicago.edu/webclipIcons.js
And TUAW -- Okay, Nic gets a cookie, but your entire server admin staff doesn't.
Cheers,
FL
I love these webclips. Make so much sense. And it appears that Apple with its home page customization has set us up nicely for forthcoming apps... http://personafile.com/iPhone-apps.html when the SDK is released. I wonder how long it will take to get some good quality apps out.
January 23 2008 at 7:39 PM Report abuse Permalink rate up rate down Replyplease stop spamming that godforsaken website. There is absolutely NO information on that site.
January 23 2008 at 8:50 PM Report abuse Permalink rate up rate down ReplyI made a custom webclip icon for TUAW using a scaled down screen shot of the TUAW logo in under 5 minutes using these instructions:
http://allinthehead.com/retro/319/how-to-set-an-apple-touch-icon-for-any-site
It even gives the instructions for your "server folks", but there's no need for the rest of us to wait for them.
haha, engadget and gizmodo already have them but the apple blog doesnt.
January 23 2008 at 5:03 PM Report abuse Permalink rate up rate down ReplyNo offense, but your server folks are a bunch of slowpokes! Get some double espressos over there! :)
January 23 2008 at 4:56 PM Report abuse Permalink rate up rate down ReplyYes, web clips are bookmarks on your Springboard (iPhone/iPod Touch version of the desktop), though they also remember where on the page you were and how much you'd zoomed in or out of it. But yes, bookmarks. Very handy, but nothing spectacular in terms of innovation.
Now, TUAW: you have a logo, you have a shortcut icon, is it really that tricky to resize the logo to 60x60 and drop it onto your web server? Would it help if one of us proles made one for youâthen all you need is somebody to sftp the file up there...
As Nik said, they have the icon made, they just haven't yet been able to implement it in their page, I'm guessing they don't have full access to the server.
January 23 2008 at 5:30 PM Report abuse Permalink rate up rate down ReplySorry Mo, you covered it - i should have read a line down~
January 23 2008 at 5:42 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
- Philips wOOx Alarm Clock Radio for Apple iPod / iPhone for $60 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



21 Comments