Re: PHP & podcasts

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

 



If they don't end in .mp3, they won't work in IE, because IE ignores
Content-type in favor of a heuristic "guess" as the content-type based
on the data, which is just asking for disaster...

And why you'd wrap an .mp3 into a Flash movie to get a podcast out of
it is WAY beyond my comprehension, but whatever...

It guarantees that I can't listen to them, however, as Flash has
crashed far too often for me to ever install it again.

I'll be uninstalling it as I get the time and energy.  It's just not
worth my time to get Flash content anymore.

On Wed, December 27, 2006 5:20 pm, Skip Evans wrote:
> 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
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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