Re: PHP & podcasts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The site plays the podcasts with a code snippet like this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"; width="410" height="100" id="movie" align=""> <param name="movie" value="audioqueue-mini.swf?urls=<?php echo $urls ?>&titles=<?php echo $titles ?>&delim=<?php echo $delim ?><?php echo (isset($skip)) ? "&skip=$skip" : '' ?>"> <embed src="audioqueue-mini.swf?urls=<?php echo $urls ?>&titles=<?php echo $titles ?>&delim=<?php echo $delim ?>" quality="high" width="410" height="100" name="movie" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer";>
</object>

Where the $urls variable is a string of URLs. The ones that work all end in .mp3 + some delimiter + another URL that ends in .mp3, etc, etc.

However, some show up with no such extension, and in fact no extension of any kind and these don't work.

So I suspect that the original programmers code is somehow building URLs that do not in fact connect to the podcast files and that is the main problem.

However, having not worked with podcasts before I wasn't absolutely sure this was the problem.

The URLs are all supposed to come from the live feeds so I am a bit baffled why some work and some don't.

Skip

Stut wrote:
Skip Evans wrote:

I'm doing some maintenance work on a site that features podcasts and some of them work and some of them don't.

I've never worked with podcasts before, and while I'm figuring out how they work I was wondering if anyone knew of any good tutorial sites on them and perhaps even programming them in PHP.

I've done some Googling but haven't found anything really good.


"Programming podcasts" makes no sense. A podcast is a media file that is made available for download. I assume that when you say 'programming them in PHP' you mean developing a site to publicise your podcast.

Given that assumption your easiest route is to find a blogging package that supports podcasts. There's a list that will get you started here...

    http://www.podcastingnews.com/topics/Podcasting_Software.html

If you're wanting to do something more custom you first need to understand that there is nothing particularly special about podcasts. They are literally just files that are published on a website.

I Googled for info on publishing a podcast and came up with dozens of good tutorials and references. Try harder.

If I've misunderstood what you're trying to do, please elaborate.

-Stut


--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux