mp3 links turned into a mp3 flash player
This is an open discussion with 6 replies, filed under XSLT.
Search
<xsl:template match="a[contains(@href, '.mp3')]" mode="html"> </xsl:template>
Sorry, the artist-<em>blabla</em>-blabla
stuff didn’t make any sense to me. Can you give us an example of your XML
, your XSLT
and the result?
Ah damn, I already edited it many times. What I was saying is that it’s been “markdown-ed” as it was between two underscores.
And thank you! It works now. I didn’t know and even realize I could do it that way too… it opens a new world again!
Kaneel - thanks for posting the code!
@ashrimplin - how’s the site coming along? if you don’t mind, once you get your site up and running with this functionality, would you mind posting a link to your site?
@brian - really well, thanks! I have developed (to some extent) each section of my site. It’s currently still on my localhost.
I am currently grappling with the xmluploader tool. I will spend time working with it this weekend to try and get it to work. You going to be up at Crooked Tree anytime soon?
yep. just email me and let me know when you’ll be up there. i’ll be glad to help you get the xml importer working.
Create an account or sign in to comment.
Hello,
I thought that would be simple but I have a tiny issue with this all. I wanted to have each mp3 I would post embed into a “dewplayer”.
Basically, the idea would have been to post a link and then, do a template match like this:
The issue comes from the way I always have been naming stuff on my HDs… basically artist-blabla-blabla… which get html-ed to artist-
<em>
blabla</em>
-blabla and so, I can’t get this url properly.Then, I tried to post a link (with
<a>
) and match the @href of this link but now, i’m in front of a wall as I don’t even know what to do next. I can’t put an object into a<a>
, I need to go back but here it is, I’m blocked… is it even possible to say something like “go back and replace the a with whats next”.I know I must not make much sense but here is how I’m lost at this very moment and I really hope someone will be able to help myself.