Binding a SmugMug Photo Gallery to an asp:DataList Control
This lab shows a SmugMug gallery RSS feed binded to an asp:DataList via the asp:XmlDataSource control. To load
a SmugMug gallery on your own site, the first thing you need to know is the Gallery ID. This is visible in the url
of the gallery.
When you first load up a gallery on the SmugMug site, the url will look like this:
http://criticalmas.smugmug.com/gallery/1838622#92081129
The subdomain is not important, which is why the code uses "www". The bold portion is your Gallery ID. The
example below has 3 galleries to choose from in the drop down control. All sample code is
located in the article.
Select Gallery