[divan] RSS, et comme ceci ? T_T
This commit is contained in:
parent
d507af0fde
commit
779d6db1f9
@ -54,8 +54,8 @@ $lastpubli = date('D, d M Y H:i:s', filectime($array[0]));
|
|||||||
|
|
||||||
header("Content-Type: text/xml");
|
header("Content-Type: text/xml");
|
||||||
|
|
||||||
$xml = '<?phpxml version="1.0" encoding="UTF-8"?>'."\n";
|
$xml = '<?xml version="1.0" encoding="UTF-8"?>'."\n";
|
||||||
$xml .= '<?phpxml-stylesheet type="text/xsl" href="scripts/rss.xslt" ?>'."\n";
|
$xml .= '<?xml-stylesheet type="text/xsl" href="scripts/rss.xslt" ?>'."\n";
|
||||||
$xml .= '<rss
|
$xml .= '<rss
|
||||||
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
|
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
|
||||||
xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"
|
xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"
|
||||||
@ -139,7 +139,7 @@ $xml .= '</image>'."\n";
|
|||||||
$xml .= '<itunes:image href="'.$link.$logo.'"/>'."\n";
|
$xml .= '<itunes:image href="'.$link.$logo.'"/>'."\n";
|
||||||
$xml .= '<googleplay:image href="'.$link.$logo.'"/>'."\n";
|
$xml .= '<googleplay:image href="'.$link.$logo.'"/>'."\n";
|
||||||
|
|
||||||
if($array) {
|
if(is_array($array)) {
|
||||||
// Scan des fichiers et recherche des tags
|
// Scan des fichiers et recherche des tags
|
||||||
for ($i = 0; $i < count($array); $i++) {
|
for ($i = 0; $i < count($array); $i++) {
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
require_once('getid3/getid3.php');
|
require_once('getid3/getid3.php');
|
||||||
|
|
||||||
$mp3= $_GET["mp3"];
|
$mp3= $_GET["mp3"];
|
||||||
|
Loading…
Reference in New Issue
Block a user