1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Improve feed

This commit is contained in:
daniel 2018-11-08 22:34:05 -03:00
parent 497dabd263
commit 385cb94646

View file

@ -21,7 +21,7 @@ echo'<?xml version="1.0" encoding="UTF-8"?>'
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
<atom:link href="<?php echo $global['webSiteRootURL'].substr(1, $_SERVER["REQUEST_URI"]); ?>" rel="self" type="application/rss+xml" />
<atom:link href="<?php echo $global['webSiteRootURL'].ltrim($_SERVER["REQUEST_URI"],"/"); ?>" rel="self" type="application/rss+xml" />
<title>RSS <?php echo $config->getWebSiteTitle(); ?></title>
<description>Rss Feed</description>
<link><?php echo $global['webSiteRootURL']; ?></link>