How to Download All Videos of Channel 9’s Silverlight 4 Training Kit


[tweetmeme source=”jojitsoriano” only_single=false]
This is for everyone who wants to download all the videos of Channel 9’s Silverlight 4 Training Kit so that you can view the videos even when not connected to the internet. I used the Free Download Manager of FreeDownloadManager.org and its format for the input xml file listing the url of the videos. I wanted to build the xml file by code thinking that other training kits from Channel 9 would follow the same directory listing and file naming convention as the Silverlight 4 Training Kit. Since I was just trying if my assumption would work, I just opted to use the tools that were already installed in my machine. I used Search and Replace from Funduc Software to find the <url> tags under the Videos subfolder of the extracted training kit, copied the results to a text file, and applied a series of search and replace operations to the file to suit the format required by the Import file of Free Download Manager. You don’t have to do it yourself. The xml source is listed below for free. 🙂

Hopefully, I can blog about this process in more details so that you can duplicate it to other training kits in Channel 9. I extracted the Windows Azure Training Kit and it had the same directory listing and file naming conventions. I only downloaded a few files though.

Here are the steps to download all the videos of the Silverlight 4 Training Kit:

1. Copy the following xml source to a file (click the hyperlink to expand the source code) and name it whatever you want. I named it SL4VideoDownload.xml and will call it as such until the end of this post.

<FDM_Downloads_Info_List>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule1-SL4LOB_01_01_Introduction/Silverlight4-SL4BusinessModule1-SL4LOB_01_01_Introduction_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule2-SL4LOB_02_01_RIAServices/Silverlight4-SL4BusinessModule2-SL4LOB_02_01_RIAServices_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule2-SL4LOB_02_02_EditingEntities/Silverlight4-SL4BusinessModule2-SL4LOB_02_02_EditingEntities_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule2-SL4LOB_02_03_ShowingEvents/Silverlight4-SL4BusinessModule2-SL4LOB_02_03_ShowingEvents_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule3-SL4LOB_03_01_Authentication/Silverlight4-SL4BusinessModule3-SL4LOB_03_01_Authentication_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule3-SL4LOB_03_02_MVVM/Silverlight4-SL4BusinessModule3-SL4LOB_03_02_MVVM_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule3-SL4LOB_03_03_Validation/Silverlight4-SL4BusinessModule3-SL4LOB_03_03_Validation_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule3-SL4LOB_03_04_ImplicitStyles/Silverlight4-SL4BusinessModule3-SL4LOB_03_04_ImplicitStyles_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule3-SL4LOB_03_05_RichTextBox/Silverlight4-SL4BusinessModule3-SL4LOB_03_05_RichTextBox_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule4-SL4LOB_04_01_Webcam/Silverlight4-SL4BusinessModule4-SL4LOB_04_01_Webcam_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule4-SL4LOB_04_02_Drop/Silverlight4-SL4BusinessModule4-SL4LOB_04_02_Drop_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule5-SL4LOB_05_01_Grouping/Silverlight4-SL4BusinessModule5-SL4LOB_05_01_Grouping_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule5-SL4LOB_05_02_FluidUI/Silverlight4-SL4BusinessModule5-SL4LOB_05_02_FluidUI_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule5-SL4LOB_05_03_RightMouseClick/Silverlight4-SL4BusinessModule5-SL4LOB_05_03_RightMouseClick_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule6-SL4LOB_06_01_Printing/Silverlight4-SL4BusinessModule6-SL4LOB_06_01_Printing_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule6-SL4LOB_06_02_MultipagePrinting/Silverlight4-SL4BusinessModule6-SL4LOB_06_02_MultipagePrinting_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule7-SL4LOB_07_01_OOB/Silverlight4-SL4BusinessModule7-SL4LOB_07_01_OOB_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule7-SL4LOB_07_02_Toasts/Silverlight4-SL4BusinessModule7-SL4LOB_07_02_Toasts_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule7-SL4LOB_07_03_WindowPlacement/Silverlight4-SL4BusinessModule7-SL4LOB_07_03_WindowPlacement_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule7-SL4LOB_07_04_ElevatedTrust/Silverlight4-SL4BusinessModule7-SL4LOB_07_04_ElevatedTrust_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule8-SL4LOB_08_01_CustomChrome/Silverlight4-SL4BusinessModule8-SL4LOB_08_01_CustomChrome_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule8-SL4LOB_08_02_WindowClosingEvent/Silverlight4-SL4BusinessModule8-SL4LOB_08_02_WindowClosingEvent_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule8-SL4LOB_08_03_OOBSilentInstall/Silverlight4-SL4BusinessModule8-SL4LOB_08_03_OOBSilentInstall_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule8-SL4LOB_08_04_XapSigning/Silverlight4-SL4BusinessModule8-SL4LOB_08_04_XapSigning_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
 <download>
             <url>http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule8-SL4LOB_08_05_MEF/Silverlight4-SL4BusinessModule8-SL4LOB_08_05_MEF_2MB_kit.wmv</url>
             <group>Video</group>
 </download>
</FDM_Downloads_Info_List>

2. Notice that the url tags contain the url of the videos. The filenames all end with “_2MB_kit.wmv”. These url will download the videos in high-resolution WMV format. You can replace all instance of this keyword depending on your requirements as follows:

MP4 _kit.mp4
MP3 _kit.mp3
WMA _kit.wma
WMV _kit.wmv
WMV (High) _2MB_kit.wmv
Zune _Zune_kit.wmv

Please note that I only tried downloading the WMV (High) format. I don’t guarantee that all other formats follow the same pattern. You can try downloading the videos based on the pattern in the table above. In case there are failed downloads due to wrong filenames, you can verify the filename by doing a right-click of the different file format in the Media Downloads option of the video in Channel 9 and selecting Properties context menu to launch the Properties dialog box. The Address property contains the url of the video. Alternatively, you can do a right-click of the file format and click on Copy Shortcut in the context menu.

image

3. In the screen of the Free Download Manager, click on File | Import | Import list of downloads and the File Open dialog box will show up.

image

4. In the File Open dialog box, select the xml file where you saved the xml source above.

image

5. Push the Open button and the download will start immediately.

Disclaimer: I discovered this myself when I downloaded and extracted the contents of the training kit as of the date of this blog post. Channel 9 reserves the right to change the directory structure and file naming conventions of the videos. 🙂 I hope they won’t.

This work is licensed under a Creative Commons Attribution By license.
Advertisements
This entry was posted in .Net Tips, Silverlight and tagged , , . Bookmark the permalink.

3 Responses to How to Download All Videos of Channel 9’s Silverlight 4 Training Kit

  1. Pingback: How to Download Videos of Channel 9’s Sharepoint 2010 Developer Training Kit | Jojit Soriano's Blog

  2. hah 🙂 very nice and usefull post 🙂 thank you!

  3. Pingback: Channel9 Video Slurper « Tech Tock

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s