Recognize MIME type used for JSON feeds v1.1
Reported by Michael Nordmeyer
This commit is contained in:
+2
-1
@@ -109,7 +109,8 @@ func geminiFeed(data *core.FullData, remote string, title string) error {
|
|||||||
"application/rss+xml",
|
"application/rss+xml",
|
||||||
"application/atom+xml",
|
"application/atom+xml",
|
||||||
"application/xml",
|
"application/xml",
|
||||||
"application/json":
|
"application/json",
|
||||||
|
"application/feed+json":
|
||||||
gofeed, err := gofeed.NewParser().Parse(reader)
|
gofeed, err := gofeed.NewParser().Parse(reader)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user