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/atom+xml",
|
||||
"application/xml",
|
||||
"application/json":
|
||||
"application/json",
|
||||
"application/feed+json":
|
||||
gofeed, err := gofeed.NewParser().Parse(reader)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user