mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
abd9a1eff1
commit
5876a5261a
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ echo'<?xml version="1.0" encoding="UTF-8"?>';
|
|||
xmlns:gml="http://www.opengis.net/gml">
|
||||
<channel>
|
||||
<title><?php echo htmlentities($title); ?></title>
|
||||
<description><?php echo $description; ?></description>
|
||||
<description><?php echo htmlentities(strip_tags(br2nl($description))); ?></description>
|
||||
<link><?php echo $link; ?></link>
|
||||
<image>
|
||||
<title><?php echo htmlentities($title); ?></title>
|
||||
|
|
|
@ -10,7 +10,7 @@ echo'<?xml version="1.0" encoding="UTF-8"?>'
|
|||
<channel>
|
||||
<atom:link href="<?php echo $global['webSiteRootURL'].ltrim($_SERVER["REQUEST_URI"],"/"); ?>" rel="self" type="application/rss+xml" />
|
||||
<title><?php echo htmlentities($title); ?></title>
|
||||
<description><?php echo htmlentities($description); ?></description>
|
||||
<description><?php echo htmlentities(strip_tags(br2nl($description))); ?></description>
|
||||
<link><?php echo $link; ?></link>
|
||||
<sy:updatePeriod>hourly</sy:updatePeriod>
|
||||
<sy:updateFrequency>1</sy:updateFrequency>
|
||||
|
@ -42,7 +42,7 @@ echo'<?xml version="1.0" encoding="UTF-8"?>'
|
|||
?>
|
||||
<item>
|
||||
<title><?php echo htmlentities($row['title']); ?></title>
|
||||
<description><?php echo htmlentities(strip_tags($row['description'])); ?></description>
|
||||
<description><?php echo htmlentities(strip_tags(br2nl($row['description']))); ?></description>
|
||||
<link> <?php echo Video::getLink($row['id'], $row['clean_title']); ?></link>
|
||||
<?php echo $enclosure; ?>
|
||||
<pubDate><?php echo date('r', strtotime($row['created'])); ?></pubDate>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue