[wp-trac] [WordPress Trac] #38181: Add oEmbed support for Amazon Kindle Instant Previews
WordPress Trac
noreply at wordpress.org
Wed Sep 28 21:31:02 UTC 2016
#38181: Add oEmbed support for Amazon Kindle Instant Previews
--------------------------+------------------------------
Reporter: jsepia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by jsepia):
One caveat:
The regex we used to filter out Amazon URLs (`OEMBED_AMAZON_FORMAT `) is
meant to catch both Kindle preview URLs
([https://read.amazon.com/kp/embed?asin=B00Y7WCHQW example]) as well as
Amazon.com store URLs ([https://www.amazon.com/dp/B00Y7WCHQW example]).
However,
[https://read.amazon.com/kp/api/oembed?url=https%3A%2F%2Fread.amazon.com%2Fkp%2Fkshare%3Fasin%3DB00Y7WCHQW
our API] only handles Kindle URLs at the moment - handling store URLs is
scheduled for an upcoming release.
Nevertheless, we would like Wordpress to handle both URL patterns from the
get go. That way, all we have to do to enable support for store URLs is
turn on that capability on our end.
Does everyone agree on this course of action?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38181#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list