<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d31189683\x26blogName\x3dCreate+%26+Manage+Podcast+Feeds\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://rsspodcast.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://rsspodcast.blogspot.com/\x26vt\x3d4319857094222487644', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Friday, July 21, 2006

Topic 3 - Preparation of the code

Now you are ready to prepare the code for your feed.

Save each of the documents to your computer. You will need them to prepare your feed to be used in itunes.

1. You will need a Template that contains the Header/Footer code for your feed. This code will probably not change. You may edit something at a later date, but for the most part this code will remain unchanged. Again, it is the general information about you and your podcast. It is into this template that you add the data for the new episodes.

2. You will also need the Excel file called EpisodeData.xls. In this file, you can fill in the details that need to go in the RSS code but are unique to each episode. When you fill in the data, be sure to follow that same format as the sample, especially the date format. Itunes is very picky about syntax when it comes to the publish date. With the EpisodeData.xls saved and edited to contain your podcast data, you are ready to move on to merging that data.

3. Download the MS Word File EpisodeXmlTemplate.doc. Save it in the same location as the others. When you open this one, it will do one of 2 things. Either it will ask you to connect it to the data source (EpisodeData.xls). In that case, you browse to where you have that file and restore that connection. Or it will need to have a 'mail merge' performed. Choose a 'Mail Merge' and open the data source EpisodeData.xls. Then you must 'Insert Merge Field' with each piece of data. Replace the sample title with the 'title' merge, etc. One Note: the link to mp3 field is used for the 'Link" code AND the 'Enclosure URL' code.

4. Once you have the Word File Mail merged to the Excel Data Source, Save the New document. Perform a 'Merge to New Document'. This imports all of your Episode Data into a Copyable Word File. Copy ALL of the text.

5. Remember that HeaderFooterTemplate.txt file? Go back to it and PASTE your item codes where it says 'PASTE ITEM CODES HERE'. (Simple huh?) Now 'Save As'. Change File type from 'Text' to 'All Types'. Enter your file name (be sure to include quotes):
"YOURFILENAME.xml"

Upload this xml Feed to webspace and there you have it!

Be sure to see Topic 4 - Testing your feed and troubleshooting.


Your final code before you save as an xml file should look something like this:
Final xml Code

0 Comments:

Post a Comment

<< Home