com web/news: Change RSS version to 2.0: group.php

From: Date: Fri, 10 Mar 2017 19:05:41 +0000
Subject: com web/news: Change RSS version to 2.0: group.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26139@lists.php.net to get a copy of this message
Commit: c18abeaa36ebf5885d26205d9bc45d5116338246 Author: Mickaël Thomas <mickael9@gmail.com> Fri, 10 Mar 2017 20:05:41 +0100 Committer: GitHub <noreply@github.com> Fri, 10 Mar 2017 20:05:41 +0100 Parents: a6d911ef1de8e8c9874f7add79917a448aa5e691 Branches: master Link: http://git.php.net/?p=web/news.git;a=commitdiff;h=c18abeaa36ebf5885d26205d9bc45d5116338246 Log: Change RSS version to 2.0 Some news aggregators like owncloud news don't like the 0.93 version. Changed paths: M group.php Diff: diff --git a/group.php b/group.php index 58c0c91..d077333 100644 --- a/group.php +++ b/group.php @@ -33,7 +33,7 @@ switch($format) { case 'rss': header("Content-type: text/xml"); echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";?> -<rss version="0.93"> +<rss version="2.0"> <channel> <title><?php echo $host; ?>: <?php echo $group?></title> <link>http://<?php echo $host; ?>/group.php?group=<?php echo $group?></link>

« previous php.webmaster (#26139) next »