Skip to content

Releases: aaronpk/XRay

Post Type Discovery

14 Jul 19:21
38d307d
Compare
Choose a tag to compare

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 including u-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

14 Jan 00:21
fe65def
Compare
Choose a tag to compare

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

01 Dec 18:09
66f4a8b
Compare
Choose a tag to compare
v1.4.6

check for "type" property on alternates

Update JSONFeed detection

01 Dec 17:27
36cd121
Compare
Choose a tag to compare
update picofeed dependency

using fork of picofeed with 0.1.38 tag on aaronpk repo

Bugfix for items with multiple URLs

24 Nov 17:58
7872429
Compare
Choose a tag to compare

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

24 Nov 15:11
65d36a7
Compare
Choose a tag to compare
  • Fixes recognizing some content types for XML feeds
  • Fixes timeout parameter for feed fetching

Feed Support

11 Nov 21:14
206e27e
Compare
Choose a tag to compare

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

22 Sep 19:42
a37ed3b
Compare
Choose a tag to compare

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

09 Jun 16:06
a16b845
Compare
Choose a tag to compare

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

27 May 17:58
v1.2.2
a8acfd2
Compare
Choose a tag to compare

This release updates the Microformats parser to version 0.3.2. See the release notes for details.