Dynamic Content
Disclaimer: Digitally Imported, Inc. will not be responsible
for any damages to your website that may result from your usage
of the following interfaces. Our tags can change, come
and go, or be incorrect. So use this in a way that doesn't cause
your website to break.
Next 3 Calendar Events XML:
http://www.di.fm/partners/xml/dievents.xml
Suggested refresh rate: not more often than once an hour.
This XML interface allows your website to show the next three
upcoming events on our calendar. The tags are self-explanatory
and no logic tricks are required.
Channel Playlists XML:
http://www.di.fm/partners/xml/playlists.xml
Suggested refresh rate: not more often than once every 30-60
seconds.
This XML interface allows you to pull up information on the
last 5 tracks (including the one currently playing) for any
all Digitally Imported Radio channels. Besides the obvious fields,
there is some tricky logic you should implement, which is described
below.
Fields are as follows:
<TRACKTITLE> //track title. If the track
is an ad, it will contain advertiser name.
<STARTTIME>
//unix timestamp of when track supposedly started (US EST time
usually)
<LABEL />
//if not empty, then contains the label name of the track
<TRACKURL>
//contains link associated with track; either forum link, or
if this is an advertisement, contains the advertiser link.
<BOARDCOUNT>
//number of replies in the forum thread for this track. If it's
set to -1, then this entry is really an advertiser (which meants
TRACKURL contains advertiser URL.
<EXTRAURL TITLE="" />
//If not empty, tag contains "info" URL, could be
artist's or DJ's home page.
TITLE attribute might be later used for tooltip text for html
link tag.
<BUYURL1 FROM="" />
//If not empty then contains a direct link to buy this item.
<BUYURL2 FROM="" />
//If not empty then also contains a direct link to buy this
item.
BUT, if it's not empty, AND BUYURL1 IS empty, then this tag
happens to be the exclusive buy link (do not display any search
engines then!)
Note: We do NOT allow you to use this interface to dynamically
link to stores such as Amazon.com using your own affiliate IDs.
Either you can use our ID to pass on commission to us, or use
no affiliate ID at all.
|