1 comments Saturday, January 19, 2008

You can easily give your site a custom icon when it is added to the iPhone's home screen as a WebClip bookmark. According to Apple's iPhone Dev Center just create a 57 x 57 pixel PNG image, name it apple-touch-icon.png, and place it in the root directory of your web site.

If you want to set a specific icon for a web page, add a customized version of the following line to your page's head element:

<link rel="apple-touch-icon" href="/customIcon.png">


What should you do if your favorite site has not yet created an icon? Peter Zich has created a bookmarklet that allows you to enter the URL of your desired icon for any site. First, create a bookmark in Safari on your Mac (or any other bookmark database that syncs with the iPhone), give it an appropriate name ("Set Icon"), and overwrite the URL with the following Javascript, from Peter Zich's site:

javascript:var isThere=-1;var theURL=window.prompt("Enter URL of Webclip image (57x57px png):","http://");var html_head=document.getElementsByTagName('head').item(0);var all_Links=html_head.getElementsByTagName('link');for(var i=0;i<all_Links.length;i++){if(all_Links.item(i).getAttribute('rel')=='apple-touch-icon'){isThere=i;}}if(isThere<0){theLink=document.createElement('link');theLink.setAttribute('rel','apple-touch-icon');theLink.setAttribute('href',theURL);html_head.appendChild(theLink);}else{if(window.confirm("Custom webclip icon was found on site, overwrite?")){all_Links.item(isThere).setAttribute('href',theURL);}}


An alternative version of the script, also available on his site, lets you automatically prepend the common part of your image URLs. On his version, it prepends http://pz2.ucls.uchicago.edu/webclipIcons/, where a number of bookmark icons are available to use.

0 comments Saturday, January 12, 2008

It has been widely speculated that Apple may build WiMAX technology, provided by Intel, into upcoming laptops. Interestingly enough, Steve Job's Macworld keynote on Tuesday coincides with the date Sprint has announced to "begin offering mobile Internet business agreements for... WiMAX network access".

WiMAX will provide users with a ubiquitous broadband internet connection. Sprint, for instance, previously promised to provide coverage to 85% of the continental US. They have since backed off from this promise because their deal with Clearwire to provide support for rural areas fell through, but if devices supporting WiMAX become popular, the financial incentive to build out this network could make 85% coverage a reality.

Intel also plans to provide WiMAX chipsets for "a wide range of consumer devices such as Mobile Internet Devices [and] PDAs", providing the possibility for future iPhones to include a WiMAX chipset.

0 comments

Welcome to my blog. I am a Computer Engineering and Computer Science student at Northeastern University. This blog will act as a platform to express my ideas and opinions regarding topics that interest me. I will be posting interesting news items, tutorials, opinions and speculation. Topics I will be writing about include computer hardware and software (primarily Apple's), Web technologies, gadgets (including mobile phones such as the iPhone), video gaming, and the future of technology. 


I have been a Mac user for 15 years, a Linux user for 3 years (primarily as a server), and am also pretty experienced with Windows. I have been doing Web development for 6 years, and contributed primarily to the Flash, Flex, and Silverlight chapters in Deitel's Internet & World Wide Web, 4/e as an intern this summer. I also have some experience programming in Objective-C, C++ and Java on Mac OS X and Linux.

Future posts will not be nearly as centric on myself, but I figure it is useful for readers to know my background.