Releases: aaronpk/XRay
Post Type Discovery
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:
- Supports
quotation-of
in Microformats posts and tweets - Parse
h-app
includingu-redirect-uri
as well as<link rel="redirect_uri">
values - Support parsing Instagram user pages as feeds
- Parse Instagram profile URLs, and include bio in h-card
- Updates to php-mf2 0.4.4-alpha release
Bugfixes:
- When interpreting JSON, don't require a
value
property for HTML values, generating the plaintext version - Fixes for several changes to Instagram's undocumented APIs
- Switch to an HTML5 parser for better parsing results
- Fixes for whitespace handling in
<br>
tags - Include
in-reply-to
URL for tweets - Fixes for Atom vs RSS parsing
- Updates to work with Twitter's streaming JSON which is slightly different than their REST API
Fixes to remove double photos
Certain 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.
Bugfix for feed discovery
v1.4.6 check for "type" property on alternates
Update JSONFeed detection
update picofeed dependency using fork of picofeed with 0.1.38 tag on aaronpk repo
Bugfix for items with multiple URLs
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.
Bugfixes for Feed Support
- Fixes recognizing some content types for XML feeds
- Fixes timeout parameter for feed fetching
Feed Support
Some new functionality for parsing feeds using XRay!
- Parses feeds of the following types: Microformats, JSONFeed, Atom and RSS
- Adds a feed discovery API to return a list of all feeds advertised by a URL
- Parses public Facebook events
- Bugfix for comparing URLs with no path component
Instagram Multi-Photo Support
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.
Checkins and Hackernews
This release adds support for parsing checkin data from a page, as well as for parsing Hackernews URLs.
Example checkin:
Example Hackernews comment:
Update php-mf2
This release updates the Microformats parser to version 0.3.2. See the release notes for details.