diff options
author | godbless <26397224+sak96@users.noreply.github.com> | 2021-08-17 23:07:58 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 19:37:58 +0200 |
commit | cac665272a532879afc31a60321e91f2c9675e16 (patch) | |
tree | c9c14f51885551bfbbbc23ec04091c6db8d015cc /core/src/test/resources | |
parent | 8b183915bee1419a0577196b19414529fca75432 (diff) | |
download | AntennaPod-cac665272a532879afc31a60321e91f2c9675e16.zip |
Treat link without rel as rel=alternate (#5347)
src: https://datatracker.ietf.org/doc/html/rfc4287#section-4.2.7.2
If the "rel" attribute is not present, the link element MUST
be interpreted as if the link relation type is
"alternate".
Diffstat (limited to 'core/src/test/resources')
-rw-r--r-- | core/src/test/resources/feed-atom-testEmptyRelLinks.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/src/test/resources/feed-atom-testEmptyRelLinks.xml b/core/src/test/resources/feed-atom-testEmptyRelLinks.xml new file mode 100644 index 000000000..04c28ef67 --- /dev/null +++ b/core/src/test/resources/feed-atom-testEmptyRelLinks.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + <id>http://example.com/feed</id> + <title>title</title> + <link href="http://example.com" /> + <subtitle>This is the description</subtitle> + <logo>http://example.com/picture</logo> + <entry> + <id>http://example.com/item-0</id> + <title>item-0</title> + <link href="http://example.com/items/0" /> + <published>1970-01-01T00:00:00Z</published> + </entry> +</feed> |