From bd17cb1c0c6edea6fb65218d8b653fe1c9fdb999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 22 Aug 2020 16:54:10 +0200 Subject: [PATCH] #151: Test case with atom author --- .../rss/rss_channel_item_author_atom.json | 26 +++++++++++++++++++ .../rss/rss_channel_item_author_atom.xml | 10 +++++++ 2 files changed, 36 insertions(+) create mode 100644 testdata/parser/rss/rss_channel_item_author_atom.json create mode 100644 testdata/parser/rss/rss_channel_item_author_atom.xml diff --git a/testdata/parser/rss/rss_channel_item_author_atom.json b/testdata/parser/rss/rss_channel_item_author_atom.json new file mode 100644 index 00000000..06fe10af --- /dev/null +++ b/testdata/parser/rss/rss_channel_item_author_atom.json @@ -0,0 +1,26 @@ +{ + "items": [ + { + "extensions": { + "atom": { + "author": [ + { + "name": "author", + "value": "", + "attrs": null, + "children": null, + "parsed": { + "authors": [ + { + "name": "Item Author" + } + ] + } + } + ] + } + } + } + ], + "version": "2.0" +} diff --git a/testdata/parser/rss/rss_channel_item_author_atom.xml b/testdata/parser/rss/rss_channel_item_author_atom.xml new file mode 100644 index 00000000..f444b0cc --- /dev/null +++ b/testdata/parser/rss/rss_channel_item_author_atom.xml @@ -0,0 +1,10 @@ + + + + + Item Author + + +