We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I'm trying to create a ShortCode that can use oEmbed in a generic way. Internally, it is assumed to use GetEmbedResultAsync.
GetEmbedResultAsync
During creation, an error occurred when retrieving information from Flickr. e.g) Unknown content type for oEmbed response
Unknown content type for oEmbed response
I checked and found that Flickr's oEmbedAPI specifies text/xml as ContextType.
text/xml
Statiq.Web/src/Statiq.Web/Shortcodes/EmbedShortcode.cs
Line 99 in d9da990
GetEmbedResultAsync seems to have an error because it assumes Application/Xml.
Application/Xml
Could you please fix this branch to allow text/xml?
e.g.) https://www.flickr.com/services/oembed/?url=https://www.flickr.com/photos/yuta_arai_0206/8008087593/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi.
I'm trying to create a ShortCode that can use oEmbed in a generic way.
Internally, it is assumed to use
GetEmbedResultAsync
.During creation, an error occurred when retrieving information from Flickr.
e.g)
Unknown content type for oEmbed response
I checked and found that Flickr's oEmbedAPI specifies
text/xml
as ContextType.Statiq.Web/src/Statiq.Web/Shortcodes/EmbedShortcode.cs
Line 99 in d9da990
GetEmbedResultAsync
seems to have an error because it assumesApplication/Xml
.Could you please fix this branch to allow
text/xml
?e.g.)
https://www.flickr.com/services/oembed/?url=https://www.flickr.com/photos/yuta_arai_0206/8008087593/
The text was updated successfully, but these errors were encountered: