Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirected URLs in RSS feeds?



We're using redirects in our feeds that appear to be working. I'm not sure but I don't think your redirect is providing a proper HTTP location header. In particular, I think you need a full URL. Web browsers are possibly more forgiving than iTunes.

HTTP/1.1 302 Found
Date: Fri, 19 Aug 2005 19:48:56 GMT
Server: Apache/2.0.46 (Red Hat)
Vary: Host
Accept-Ranges: bytes
X-Powered-By: PHP/4.3.2
Location: bb23.2.mp3
Connection: close
Content-Type: text/html; charset=UTF-8


Is anyone aware of a way to redirect the URL of the audio file through
a tracking script - that won't make the file unavailable to iTunes users?

We want to provide real-time statistics on how many times - per day
and per month - every podcast show is downloaded or played.

Here's an example of an RSS <enclosure> that will download via iTunes:

<enclosure url="http://dansrokahumornetwork.podblaze.com/bb23.2.mp3";
length="1321735" type="audio/mpeg" />

Here's the same example with tracking:

<enclosure url="http://dansrokahumornetwork.podblaze.com/load.php?f=bb23.2.mp3";
length="1321735" type="audio/mpeg" />


We tested a feed that had some of each type. The <enclosure>s without
the redirect
all work perfectly; the ones with the redirect don't work.

Thanks in advance,
Steve Humphrey

www.podblaze.com
www.myrsscreator.com
www.freshpodcasts.com

-- Peter Pinch Director of Technology - Interactive Content WGBH Interactive Direct dial/fax: 617-300-3961 Department fax: 617-300-1057 e-mail: email@hidden

WGBH Boston informs, inspires, and
entertains millions through public
broadcasting, the Web, educational
multimedia, and access services for
people with disabilities.

<mailto:email@hidden>
<http://interactive.wgbh.org/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
syndication-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/syndication-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.