|
-
Sep 4th, 2005, 03:35 AM
#1
Thread Starter
Member
Changing a text file with the click of a link?
Ok, well this is actually more advanced than it seems, so I'll explain
On MSN Spaces, you can use a text file that's renamed as a .wmv file to play a file or a list of files. To do it, you just put the following code in a text file:
VB Code:
<ASX Version="3.0">
<title>NAME OF MUSIC LIST</title>
<entry>
<title>NAME OF SONG</title>
<author>NAME OF ARTIST</author>
<Ref href="THE URL OF THE MUSIC FILE"/>
</entry>
</asx>
So anyways, what I want to do, is set up a series of links. What these links will do is change the code inside this text file, so the values for the name of the list, name of the song, name of the artist, and url of the music file.
So for example, I click on a link named Green Day - american idiot, and the code in the file changes to:
VB Code:
<ASX Version="3.0">
<title>Green Day</title>
<entry>
<title>American Idiot</title>
<author>Green Day</author>
<Ref href="http://www.server.com/greenday-americanidiot.mp3"/>
</entry>
</asx>
So is there any way I can do this with html?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|