X-Ray returns structured data from any URL
Version 1.5 is the first to implement Post Type Discovery.
A new property is returned with every post, post-type
, which indicates the specific post type as determined by the Post Type Discovery algorithm.
Other changes since the last release notes:
New features:
quotation-of
in Microformats posts and tweetsh-app
including u-redirect-uri
as well as <link rel="redirect_uri">
valuesBugfixes:
value
property for HTML values, generating the plaintext version<br>
tagsin-reply-to
URL for tweetsCertain markup was causing photo posts to have the photo appear twice, one in the photo
property and the second as an img
tag in the post content. This release adds some additional logic to remove photos from the content of photo posts, so that consumers will only render the photo once.
If an item has multiple URLs, then instead of always returning the first, XRay now returns the URL that's on the same domain that the item was fetched from.
Some new functionality for parsing feeds using XRay!
Now supports Instagram's multi-photo posts by including multiple photo URLs in the parsed result if the Instagram post contains multiple photos.
For any Instagram multi-posts that include videos, only the poster frame is used. See https://indieweb.org/multi-photo_vs_collection for more details on solving this use case.
This release adds support for parsing checkin data from a page, as well as for parsing Hackernews URLs.
Example checkin:
Example Hackernews comment:
This release updates the Microformats parser to version 0.3.2. See the release notes for details.