How to Create XMLs for a JW Player
- 1). Click "Start," "All Programs" and double-click "Notepad" to open the text editor. Click "File" and "New" to open a new text file.
- 2). Type the following code at the top of the file:
<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/">
This sets the format for the XMLs so it is compatible with the JW Player. - 3). Type "<channel>" to create a playlist and type "<title>My Title</title>" to create a title for the XMLs. Replace "My Title" with the title of your choice.
- 4). Type "<item>" to start the first XML. Type "<title>Song Title</title>" to enter the name of the song from the XML. Replace "Song Title" with the song title you select.
- 5). Type "<jwplayer:file>mysongs/song.mp3</jwplayer:file>" to designate the media type that plays in the JW Player. Replace "mysongs/song.mp3" with the file name and URL of the file online. Type "</item>" to end the information for this XML. Type "</channel></rss>" to end the XML list. Click "File," "Save" and upload the file to the Web server you use to host your JW Player and XML lists.