forked from mmcdole/gofeed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmcdole#151 Testcase for atom author in RSS
- Loading branch information
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
testdata/translator/rss/feed_item_author_-_rss_channel_item_author_atom.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"author": { | ||
"name": "Item Author" | ||
}, | ||
"extensions": { | ||
"atom": { | ||
"author": [ | ||
{ | ||
"name": "author", | ||
"value": "", | ||
"parsed": { | ||
"authors": [ | ||
{ | ||
"name": "Item Author" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"feedType": "rss", | ||
"feedVersion": "2.0" | ||
} |
10 changes: 10 additions & 0 deletions
10
testdata/translator/rss/feed_item_author_-_rss_channel_item_author_atom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters