Skip to content

Commit

Permalink
mmcdole#151: Test case with atom author
Browse files Browse the repository at this point in the history
  • Loading branch information
Necoro committed Sep 6, 2020
1 parent bc4be48 commit bd17cb1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
26 changes: 26 additions & 0 deletions testdata/parser/rss/rss_channel_item_author_atom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"items": [
{
"extensions": {
"atom": {
"author": [
{
"name": "author",
"value": "",
"attrs": null,
"children": null,
"parsed": {
"authors": [
{
"name": "Item Author"
}
]
}
}
]
}
}
}
],
"version": "2.0"
}
10 changes: 10 additions & 0 deletions testdata/parser/rss/rss_channel_item_author_atom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!--
Description: rss item with atom author
-->
<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom">
<channel>
<item>
<a10:author><a10:name>Item Author</a10:name></a10:author>
</item>
</channel>
</rss>

0 comments on commit bd17cb1

Please sign in to comment.