Creating an XML playlist that is editable by users

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
moonoo
Forum Members
Forum Members
Posts: 77
Joined: Fri Jan 08, 2010 12:23 am

Creating an XML playlist that is editable by users

Post by moonoo »

So, I've been thinking of using JWFLVPlayer for video assets for a new site I'm building for a client..

And I like the XML playlist ability of the player but am looking for a means to integrate an XML document into the site that is editable by the client when they wish to upload and add new videos into the playlist.

Was thinking advanced content would be awesome for building the actual XML template.. as I can use content blocks with drop downs to highlight the videos I wish to place on the front end. But this way means creating a page in order to use the Template.

Does anybody have any hints or suggestions on how to make this smoother?

Would be great to have the ability to generate an XML file/template and also assign a file extension to only this file. I have pretty urls enabled and if I was to assign .xml to the file it would do this for all pages no?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Creating an XML playlist that is editable by users

Post by Nullig »

If you're using mod_rewrite for pretty URLs, you could have this before your normal rewrite:

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^playlist.xml$ index.php?page=your_playlist_page_alias&showtemplate=false [L]

Nullig
moonoo
Forum Members
Forum Members
Posts: 77
Joined: Fri Jan 08, 2010 12:23 am

Re: Creating an XML playlist that is editable by users

Post by moonoo »

Thanks Nullig,

This might be what I'm looking for !

if I had 2 playlist files I guess I would just add another rule below it no?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Creating an XML playlist that is editable by users

Post by Nullig »

Yes.

Nullig
Post Reply

Return to “Modules/Add-Ons”