1
|
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
2
|
<channel>
|
3
|
<title><? echo $channel->classe_nom.$channel->nom_prof ?></title>
|
4
|
<link> http://<? echo _HOST_ ?><? echo _WEBROOT_ ?>/</link>
|
5
|
<language>fr</language>
|
6
|
<copyright>Academie de Creteil</copyright>
|
7
|
<itunes:subtitle></itunes:subtitle>
|
8
|
<itunes:author><? echo $channel->nom_prof?></itunes:author>
|
9
|
<itunes:summary>Podcast de la classe de <? echo $channel->classe_nom ?> </itunes:summary>
|
10
|
<description>Podcast de la classe de <? echo $channel->classe_nom ?></description>
|
11
|
<itunes:owner>
|
12
|
<itunes:name><? echo $channel->nom_prof ?></itunes:name>
|
13
|
<itunes:email></itunes:email>
|
14
|
</itunes:owner>
|
15
|
<itunes:category text="Education">
|
16
|
<itunes:category text="K-12" />
|
17
|
</itunes:category>
|
18
|
<category>Language Courses</category>
|
19
|
<itunes:category text="Education">
|
20
|
<itunes:category text="Language Courses" />
|
21
|
</itunes:category>
|
22
|
<itunes:keywords>Enseignement</itunes:keywords>
|
23
|
|
24
|
<itunes:explicit>no</itunes:explicit>
|
25
|
|
26
|
<?
|
27
|
foreach($items as $item ){?>
|
28
|
<item>
|
29
|
<title><? echo utf8_encode($item['titre_consigne']) ?></title>
|
30
|
<itunes:author><? echo $item['auteur'] ?></itunes:author>
|
31
|
<itunes:subtitle></itunes:subtitle>
|
32
|
<itunes:summary></itunes:summary>
|
33
|
<enclosure url="<? echo retourneMp3($item['chemin']) ?>" type="<?echo $item['extension'] ?>" />
|
34
|
<guid><? echo retourneMp3($item['chemin']) ?></guid>
|
35
|
<pubDate></pubDate>
|
36
|
<itunes:duration></itunes:duration>
|
37
|
|
38
|
</item>
|
39
|
<? } ?>
|
40
|
|
41
|
</channel>
|
42
|
|
43
|
</rss>
|