Mobile homepage for iPhone

May 23, 2009 at 3:58 PM

The current Smartphone Access page, PKSMobileHome.aspx launches the .wmv version of the podcast when the thumbnail is clicked.

I would like to know how to either change the existing page or copy/create a new page (e.g. PKSiPhoneHome.aspx) so that when I click on the thumbnail it launches the .mp4 that has been created during transcoding.


May 26, 2009 at 12:19 PM

Hi cp,

For this you have to modify the PKSItem.xsl. Please make sure that you take a backup of the existing XSL so that you can revert to it if required.

You have to recreate the download URL. In PKSItem.xsl, the downloadURL for mobile page is created at line no. 801-817 and at 823.
You will find that in the iTunesRSS.xsl file, the downloadURL for mp4 file is created at Line No 77-97. This logic of iTUnesRSS.xsl can be reused in PKSItem.xsl.
In this way on clicking thumbnail, .mp4 file will be launched.

Hope this helps.