[Core] Include Media RSS namespace for Atom feeds
Include Media RSS namespace for Atom feeds Fix #1511 Fix #1499
This commit is contained in:
parent
fa74d3728b
commit
8047041963
5 changed files with 5 additions and 5 deletions
|
@ -130,7 +130,7 @@ EOD;
|
||||||
/* Data are prepared, now let's begin the "MAGIE !!!" */
|
/* Data are prepared, now let's begin the "MAGIE !!!" */
|
||||||
$toReturn = <<<EOD
|
$toReturn = <<<EOD
|
||||||
<?xml version="1.0" encoding="{$charset}"?>
|
<?xml version="1.0" encoding="{$charset}"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||||
|
|
||||||
<title type="text">{$title}</title>
|
<title type="text">{$title}</title>
|
||||||
<id>{$feedUrl}</id>
|
<id>{$feedUrl}</id>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||||
|
|
||||||
<title type="text">Sample feed with common data</title>
|
<title type="text">Sample feed with common data</title>
|
||||||
<id>https://example.com/feed?type=common&items=4</id>
|
<id>https://example.com/feed?type=common&items=4</id>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||||
|
|
||||||
<title type="text">Sample feed with minimum data</title>
|
<title type="text">Sample feed with minimum data</title>
|
||||||
<id>https://example.com/feed</id>
|
<id>https://example.com/feed</id>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||||
|
|
||||||
<title type="text">Sample feed with minimum data</title>
|
<title type="text">Sample feed with minimum data</title>
|
||||||
<id>https://example.com/feed</id>
|
<id>https://example.com/feed</id>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||||
|
|
||||||
<title type="text">Sample microblog feed</title>
|
<title type="text">Sample microblog feed</title>
|
||||||
<id>https://example.com/feed</id>
|
<id>https://example.com/feed</id>
|
||||||
|
|
Loading…
Reference in a new issue