From 8047041963cfaa10c574deabf4df3feb8e7e84af Mon Sep 17 00:00:00 2001 From: Sandro Date: Tue, 19 May 2020 10:00:12 +0200 Subject: [PATCH] [Core] Include Media RSS namespace for Atom feeds Include Media RSS namespace for Atom feeds Fix #1511 Fix #1499 --- formats/AtomFormat.php | 2 +- tests/samples/expectedAtomFormat/feed.common.xml | 2 +- tests/samples/expectedAtomFormat/feed.empty.xml | 2 +- tests/samples/expectedAtomFormat/feed.emptyItems.xml | 2 +- tests/samples/expectedAtomFormat/feed.microblog.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/formats/AtomFormat.php b/formats/AtomFormat.php index c1bde25f..80a388df 100644 --- a/formats/AtomFormat.php +++ b/formats/AtomFormat.php @@ -130,7 +130,7 @@ EOD; /* Data are prepared, now let's begin the "MAGIE !!!" */ $toReturn = << - + {$title} {$feedUrl} diff --git a/tests/samples/expectedAtomFormat/feed.common.xml b/tests/samples/expectedAtomFormat/feed.common.xml index 80cb0df4..aa6d0687 100644 --- a/tests/samples/expectedAtomFormat/feed.common.xml +++ b/tests/samples/expectedAtomFormat/feed.common.xml @@ -1,5 +1,5 @@ - + Sample feed with common data https://example.com/feed?type=common&items=4 diff --git a/tests/samples/expectedAtomFormat/feed.empty.xml b/tests/samples/expectedAtomFormat/feed.empty.xml index 371135b6..fc04304d 100644 --- a/tests/samples/expectedAtomFormat/feed.empty.xml +++ b/tests/samples/expectedAtomFormat/feed.empty.xml @@ -1,5 +1,5 @@ - + Sample feed with minimum data https://example.com/feed diff --git a/tests/samples/expectedAtomFormat/feed.emptyItems.xml b/tests/samples/expectedAtomFormat/feed.emptyItems.xml index 462a4e5c..989893fa 100644 --- a/tests/samples/expectedAtomFormat/feed.emptyItems.xml +++ b/tests/samples/expectedAtomFormat/feed.emptyItems.xml @@ -1,5 +1,5 @@ - + Sample feed with minimum data https://example.com/feed diff --git a/tests/samples/expectedAtomFormat/feed.microblog.xml b/tests/samples/expectedAtomFormat/feed.microblog.xml index a6264aee..32bc0273 100644 --- a/tests/samples/expectedAtomFormat/feed.microblog.xml +++ b/tests/samples/expectedAtomFormat/feed.microblog.xml @@ -1,5 +1,5 @@ - + Sample microblog feed https://example.com/feed