Aaron Parecki
37e297d114
accept webmention verification for pages with only mf1
if the document contains a link to the target, but that link is not in the parsed result, don't return an error, but also don't return the parsed document
closes #150
4 years ago
Aaron Parecki
9fb8a0c9a3
fix the bug where some mf2 JSON requests were not parsed correctly
4 years ago
Aaron Parecki
fb3af995a6
return rel-canonical if present
5 years ago
Aaron Parecki
989d42a85f
fix for target check for all formats
move target check outside of all format classes and operating on the final parsed JSON so that it works regardless of the input content type
5 years ago
Aaron Parecki
1213ee080d
include author for events
for https://github.com/aaronpk/Aperture/issues/56
5 years ago
Aaron Parecki
b0b2fc1ee8
support featured images from events
closes #92
5 years ago
sebsel
fdbeb4fdc1
add test with two h-cards before the h-entry
6 years ago
sebsel
db780a9789
create failing test: h-entry-with-h-card-before-it
6 years ago
Aaron Parecki
87b2cf10d8
add follow-of posts
replaces #78
6 years ago
Aaron Parecki
470639f486
recognize h-event "content" in addition to "description"
6 years ago
Aaron Parecki
43db6098fc
handle the case where the server returns multiple content-type headers
6 years ago
Aaron Parecki
7ee8240ebd
fix test for unknown parsed result
6 years ago
Aaron Parecki
d3e36038b2
parse basic ActivityStreams objects
including from rel=alternate
6 years ago
Aaron Parecki
154b7e874a
check for a rel=alternate to existing parsed mf2 JSON and use that instead
6 years ago
Aaron Parecki
7621bca4a6
adds new "source-format" property to indicate how XRay found the data
* mf2+html
* mf2+json
* feed+json
* xml
* instagram/facebook/github/xkcd
6 years ago
Aaron Parecki
38d307de1c
implements post type discovery
returns a new property `post-type` next to `type`
closes #25
6 years ago
Aaron Parecki
6db2614afd
fix test for quotation-of
6 years ago
Aaron Parecki
112b75b623
parse quotation-of from HTML as well
closes #73
6 years ago
Aaron Parecki
e2780ba0a0
when interpreting JSON, don't require `value` for html values
6 years ago
Aaron Parecki
417cc1b3cc
parse redirect uri for h-app
parse from both link tags and the u-redirect-uri property
6 years ago
Aaron Parecki
25b6f85c14
use html5 parser and update php-mf2
6 years ago
Aaron Parecki
dc0557ddb9
update tests for fixed mf2 parsing
6 years ago
Aaron Parecki
4959ec15f2
remove duplicate url values
6 years ago
Aaron Parecki
8026279cba
fix tests for new mf2 parser
main difference is the deprecated rel handling
6 years ago
Aaron Parecki
ba309e9cfe
add test for parsing a parsed mf2 object with html
6 years ago
Aaron Parecki
aba067234c
add h-x-app vocabulary
closes #13
6 years ago
Aaron Parecki
171ca175f2
adds an option to process a parsed mf2 page
6 years ago
Aaron Parecki
2515f618c7
include featured image for h-entry
closes #51
7 years ago
Aaron Parecki
44770396f9
add test to ensure a content property is not returned unless it is defined
7 years ago
Aaron Parecki
7872429f0c
prioritize url on the same domain
if an item has multiple URL values, return the one that is on the same domain
7 years ago
Aaron Parecki
d50231142a
adds support for parsing checkins
checkin data is returned embedded like author data rather than in the `refs` object
closes #35
7 years ago
Aaron Parecki
330bc9024d
fix parsing for hReview
thanks to the new backcompat in php-mf2 0.3.2
7 years ago
Aaron Parecki
78e3e16592
finishes the refactor!
7 years ago
Aaron Parecki
35669270e3
reorganize XRay classes, use p3k-http lib
* removes the HTTP classes from this project and uses p3k-http library instead
* reorganizes the XRay classes into a psr-4 compatible folder
* moves controller autoload into -dev in preparation for turning this into a library (#17 )
7 years ago
Aaron Parecki
63ab3031a3
parse XKCD comics
skip image alt text for now
closes #34
7 years ago
Aaron Parecki
5f5392a7b8
deduplicate categories, and strip leading hashtags
7 years ago
Aaron Parecki
5e60e13b5a
add h-recipe
closes #24
8 years ago
Aaron Parecki
5d8fb4e13c
support h-review and h-product vocab
* closes #23
* major refactor of the methods for extracting properties to consolidate the logic
* hReview parsing is incomplete due to issues with the php-mf2 backcompat parsing. see https://github.com/indieweb/php-mf2/issues/107
8 years ago
Aaron Parecki
88a2c7f5bf
add test for syndication property
8 years ago
Aaron Parecki
de060f110f
return url and code with no link when target URL provided
8 years ago
Aaron Parecki
0beac036b9
add twitter support
closes #18
8 years ago
Aaron Parecki
db8dba9f23
include published date for Instagram photos
if the photo has a location, the timezone is set on the published date
8 years ago
Aaron Parecki
773252559d
parse instagram photos and videos
8 years ago
Aaron Parecki
3bdafad98e
parse URLs with fragment IDs
If the input URL contains a fragment, finds the DOM tree at that ID and runs the subtree through the mf2 parser.
closes #15
8 years ago
Aaron Parecki
c59ab9a2d6
also check img/video/audio for target URL
8 years ago
Aaron Parecki
bf6de4de06
only return HTTP 400 on client errors
errors fetching the URL should not result in a 400 response
8 years ago
Aaron Parecki
3edc01d1b7
add test for invitee
8 years ago
Aaron Parecki
6de9be2567
parse h-event
closes #9
8 years ago
Aaron Parecki
ee5e48e1ef
if there is exactly one item and it's an h-entry, use that
8 years ago
Aaron Parecki
2d52b982cb
fix test data
8 years ago