-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle text/html mime type in content->type
The type attribute on a content element is not expected to contain a mime type (the spec only defines 'text','html','xhtml'). The scattered feed specifies html content as a mime-type, which isn't correct but we might as well work around this and avoid a parser panic.
- Loading branch information
1 parent
9bbb5af
commit 5d38609
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
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,18 @@ | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"> | ||
<title>Scattered Thoughts</title> | ||
<link href="https://www.scattered-thoughts.net/atom.xml" rel="self" type="application/atom+xml"/> | ||
<link href="https://www.scattered-thoughts.net/"/> | ||
<updated>2023-12-01T00:00:00+00:00</updated> | ||
<author><name>Jamie Brandon</name></author> | ||
<id>https://www.scattered-thoughts.net/atom.xml</id> | ||
<entry xml:lang="en"> | ||
<title>0042: consulting lessons, there are no strings on me, buttondown, focus goof, jsfuck, 1ml</title> | ||
<published>2023-12-01T00:00:00+00:00</published> | ||
<updated>2023-12-01T00:00:00+00:00</updated> | ||
<link href="https://www.scattered-thoughts.net/log/0042/" type="text/html" rel="alternate"/> | ||
<id>https://www.scattered-thoughts.net/log/0042/</id> | ||
<content type="text/html"><a href="https://www.scattered-thoughts.net/log/0042/">0042: consulting lessons, there are no strings on me</a></content> | ||
</entry> | ||
</feed> |
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
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