Click here to Skip to main content
15,894,955 members
Articles / Web Development / HTML

Expose the iTunes Library via XML, ASP.NET, and AJAX

Rate me:
Please Sign up or sign in to vote.
4.26/5 (9 votes)
24 Oct 20067 min read 80.7K   459   45  
An article on exposing the iTunes Library via XML, ASP.NET, and AJAX.
  • ituneslibrary_article_src.zip
    • image002.jpg
    • image004.jpg
    • image006.jpg
    • MusicServer
      • About.aspx
      • About.aspx.vb
      • Admin
      • App_Code
      • App_Data
      • App_Themes
        • Black
          • Default.css
          • Default.skin
          • frame.css
          • Images
            • album-bstretch.gif
            • album-l1.gif
            • album-l2.gif
            • album-l3.gif
            • album-l4.gif
            • album-lstretch.gif
            • album-mbl.gif
            • album-mbr.gif
            • album-mtl.gif
            • album-mtr.gif
            • album-r1.gif
            • album-r2.gif
            • album-r3.gif
            • album-r4.gif
            • album-rstretch.gif
            • album-tstretch.gif
            • background.gif
            • bullet-1.gif
            • bullet-2.gif
            • button-add.gif
            • button-cancel.gif
            • button-create.gif
            • button-delete.gif
            • button-download.gif
            • button-dwn_res.gif
            • button-edit.gif
            • button-first.jpg
            • button-gallery.jpg
            • button-import.gif
            • button-insert.gif
            • button-last.jpg
            • button-login.gif
            • button-next.jpg
            • button-play.jpg
            • button-prev.jpg
            • button-rename.gif
            • button-save.gif
            • button-tog24.jpg
            • button-tog8.jpg
            • footer.gif
            • frame-botx--.gif
            • frame-bot-x-.gif
            • frame-bot--x.gif
            • frame-midx--.gif
            • frame-mid--x.gif
            • frame-topx--.gif
            • frame-top-x-.gif
            • frame-top--x.gif
            • header.gif
            • photonav.gif
            • spacer.gif
        • White
          • Default.css
          • Default.skin
          • Frame.css
          • Frame.css.exclude
          • Images
            • album-bstretch.gif
            • album-l1.gif
            • album-l2.gif
            • album-l3.gif
            • album-l4.gif
            • album-lstretch.gif
            • album-mbl.gif
            • album-mbr.gif
            • album-mtl.gif
            • album-mtr.gif
            • album-r1.gif
            • album-r2.gif
            • album-r3.gif
            • album-r4.gif
            • album-rstretch.gif
            • album-tstretch.gif
            • background.gif
            • bodybackground.GIF
            • body-repeat.gif
            • body-repeat-photo.gif
            • bullet-1.gif
            • bullet-2.gif
            • button-add.gif
            • button-cancel.gif
            • button-create.gif
            • button-delete.gif
            • button-download.gif
            • button-dwn_res.gif
            • button-edit.gif
            • button-first.gif
            • button-gallery.gif
            • button-import.gif
            • button-insert.gif
            • button-last.gif
            • button-login.gif
            • button-next.gif
            • button-play.gif
            • button-prev.gif
            • button-rename.gif
            • button-save.gif
            • button-tog24.gif
            • button-tog8.gif
            • content-shim.gif
            • content-shim-none.gif
            • content-shim-photo.gif
            • content-shim-stretch.gif
            • footer.gif
            • footer-side.gif
            • frame-botx--.gif
            • frame-bot-x-.gif
            • frame-bot--x.gif
            • frame-midx--.gif
            • frame-mid--x.gif
            • frame-topx--.gif
            • frame-top-x-.gif
            • frame-top--x.gif
            • header.gif
            • photonav-bg.gif
            • photonav-top-bg.gif
            • spacer.gif
      • AutoCompleteServices.asmx
      • Bin
        • App_Licenses.dll
        • BMR.Common.Framework.XMLTools.dll
        • BMR.Common.Framework.XMLTools.dll.refresh
        • Microsoft.Web.Atlas.dll
        • Microsoft.Web.Atlas.dll.refresh
      • CustomError.aspx
      • CustomError.aspx.vb
      • Default.aspx
      • Default.aspx.vb
      • Default.master
      • Default.master.vb
      • Global.asax
      • Handler.ashx
      • Images
        • icon-save.gif
        • placeholder-100.jpg
        • placeholder-200.jpg
        • placeholder-600.jpg
        • resume-photo.jpg
        • spinner.gif
      • iTunes Music Library.xml
      • LibraryTree.xsl
      • licenses.licx
      • MyAccount.aspx
      • MyAccount.aspx.vb
      • Register.aspx
      • Register.aspx.vb
      • Upload
      • web.config
      • web.sitemap
/* 0 BASIC TAGS */

table {
	font-size: 1em;
}

h1, h2, h3, h4 {
	margin: 0;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}

p {
	line-height: 1.4em;
}

hr {
	border: 0;
	border-top: 1px solid #505050;
	height: 1px;
}

a {
	text-decoration: none;
	color: #DBB94F;
}

a:visited {
	color: #C19B28;
}

a:hover {
	text-decoration: underline;
	color: #E6CD84;
}

a:active {
	color: #C19B28;
}

body {
	background-color: #656565;
	background-image: url(Images/background.gif);
	background-repeat: repeat;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	color: #FFFFFF;
}

img {
	border-width: 0;
}

/* 1 HEADER */

.header {
	background-image: url(Images/header.gif);
	background-repeat: no-repeat;
	position: relative;
	width: 789px;
	height: 76px;
	margin: 0 auto 5px auto;
}


h1 {
	position: absolute;
	left: 37px;
	top: 12px;
	font-size: 18px;
}

h2 {
	position: absolute;
	left: 37px;
	top: 45px;
	font-size: 11px;
}

.menua {
	position: absolute;
	right: 37px;
	top: 13px;
	text-transform: uppercase;
	font-size: 10px;
}

.nav {
	position: absolute;
	right: 10px;
	top: 51px;
	text-transform: uppercase;
	font-size: 10px;
}

.menua a:visited, .nav a:visited {
	color: #DBB94F;
}

/* 1.1 SHIM */

.shim {
	display: none;
}

/* 2 PAGE */

.page {
	background-repeat: repeat-y;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

h3 {
	margin-top: 1.0em;
	margin-bottom: 1.12em;
	font-size: 1.5em;
	font-weight: bold;
}
h4 {
	margin-top: 1.0em;
	margin-bottom: 1.12em;
	font-size:large;
	font-weight: bold;
}

/* 2.1 ALL PAGES */

#home, #resume, #links, #albums, #photos, #details, #register, #admin-albums, #admin-photos, #admin-details {
	
	position: relative;
	width: 686px;
	padding: 0px 10px;
	padding-top: 1px; /* Weird Mozilla Bug */
	padding-bottom: 40px; /* Weird Mozilla Bug */
}

#sidebar {
	float: left;
	width: 100px;
	height: 100%;
}

#content {
	margin-left: 256px;
}

#whatsnew {
	float: left;
	width: 200px;
	height: 100%;
}

#coollinks {
	margin-left: 220px;
}

#resume h4, #links h4 {
	margin-top: 0;
	border-top: 1px solid #505050;
	padding-top: 1.0em;
	position: absolute;
	left: 37px;
	width: 214px;
}

#resume #photo {
	position: absolute;
	left: 37px;
	top: 20px;
	width: 214px;
}

#resume .first {
	margin-top: 0;
	border-top: 1px solid #505050;
	padding-top: 1.5em;
}

dl {
	margin-top: 0;
	margin-bottom: 0;
	border-top: 1px solid #505050;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	position: relative;
}

dt {
	position: absolute;
	left: 0;
}

dd {
	margin-left: 150px;
	height: 2.0em;
}

.emptydata td {
	padding: 50px;
	color: #aeaeae;
}










.view {
	margin-left: auto;
	margin-right: auto;
	width: 686px;
	text-align: center;
}

.view .photo-frame {
	margin-left: auto;
	margin-right: auto;
}

.item {
	padding: 20px 50px;
	color: #B2B2B2;
}

.item h4 {
	margin-bottom: 0.4em;
}

.nullpanel {
	padding: 150px;
	width: auto;
	text-align: center;
}









.buttonbar, .buttonbar-top {
	width: 686px;
	height: 36px;
	background-image: url(Images/photonav.gif);
	background-repeat: no-repeat;
	margin-bottom: 5px;
	text-align: center;
}












/* 3 FOOTER */

.footerbg {
	width: auto;
	height: 50px;
	text-align: center;
	
	
}

.footer {
	background-image: url(images/footer.gif);
	background-repeat: no-repeat;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
	width: 770px;
	height: 50px;
	text-align: center;
	font-size: 10px;
	color: #ffffff;
}

.menub {
	margin: 8px auto 2px auto;
	text-transform: uppercase;
	font-size: 10px;
}

.menub a:visited {
	color: #DBB94F;
}



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions