On 3-Jun-2010, at 18:59, Steve Clarke wrote: > 2) In the aod XML file, there are records formatted in the following way: > > <entry pid="p0081pm6"> > <key>key data</key> > <pid>b007k1sk</pid> > <service>bbc_7</service> > <title>title, series, episode</title> > <synopsis>overview</synopsis> > <availability start= ... /> > <broadcast pid="p0081l0f" version_pid="b006sqhl" ... /> > <parents> > <parent pid="b00s8fp6" type="Series">series no.</parent> > <parent pid="b00f9sql" type="Brand">brand</parent> > </parents> > <links> > link details > </links> > </entry>
> I'd like to know if I've sent the text message / email out before, and before > could be 6 months ago, when the program was last aired. I note that the > version_pid is the same number as used in the link url. Assuming b007k1sk is the canonical pid for the episode (as you’d stuff into /programmes/<pid>), it *should* remain the same for repeat broadcasts. In my experience, it almost always does, excepting mistakes. I’m less sure about the version pid. Do you actually need to care about the version of the programme, or just the episode itself? given that you’re sending out messages, I’d suspect differentiating individual versions probably isn’t worthwhile... > QUESTION: My question is which of the PIDs will _always_ be associated with > this specific episode of this specific program? AFAIK, b007k1sk is the episode (should stay the same), b006sqhl is the version (may vary in future broadcasts, depending), p0081l0f is the broadcast of that version (changes each time). Dunno what p0081pm6 is, mind… I’m far more familiar with TV data than radio :) M; - Sent via the backstage.bbc.co.uk discussion group. To unsubscribe, please visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html. Unofficial list archive: http://www.mail-archive.com/[email protected]/

