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 Mar 5, 2023
1 parent ad2f724 commit 0fb9c69
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 0fb9c69

Please sign in to comment.