Aaron Parecki
8043ba575f
improve authorship discovery
closes #79
6 years ago
Aaron Parecki
18dc92966b
recognize pattern of h-entry + h-card
* a single h-entry and h-card, where the h-entry has no URL, will result in a permalink page with that h-entry
* multiple h-entrys followed by an h-card is a feed
6 years ago
Aaron Parecki
a0f80593e9
move xpath query to parent helper class
6 years ago
Aaron Parecki
9163341af2
normalize relative URLs in JSONFeed items
closes #77
6 years ago
Aaron Parecki
b618f9afc6
fix test for emoji
6 years ago
Aaron Parecki
e79872fd37
change class for AS Emoji
6 years ago
Aaron Parecki
470639f486
recognize h-event "content" in addition to "description"
6 years ago
Aaron Parecki
5418072704
don't use twitter bio URL as author URL
6 years ago
Aaron Parecki
8b4a38cef7
catch error with rel-urls
6 years ago
Aaron Parecki
55df9053ee
update to php-mf2 0.4.6
6 years ago
Aaron Parecki
43db6098fc
handle the case where the server returns multiple content-type headers
6 years ago
Aaron Parecki
5a0fb35d72
add pretty=true to home page forms
6 years ago
Aaron Parecki
feee49364b
update php-mf2 v0.4.5
6 years ago
Aaron Parecki
fcbbbf219d
update to php-mf2 0.4.4
6 years ago
Aaron Parecki
707e750429
fix likes and reposts
6 years ago
Aaron Parecki
7252d5a3f4
also parse the object inside Create activities
6 years ago
Aaron Parecki
ca9c8c02ef
AS: parse likes and reposts
6 years ago
Aaron Parecki
85d973916f
support articles and summary
6 years ago
Aaron Parecki
c9371788c5
fix for old php
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
b074d652e0
also accept application/xml as RSS feeds
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
70f1576926
support twitter animated gifs
6 years ago
Aaron Parecki
e1600cc5bc
real fix for quotation-of
6 years ago
Aaron Parecki
6db2614afd
fix test for quotation-of
6 years ago
Aaron Parecki
c4da480866
quotation-of should always be a single value
6 years ago
Aaron Parecki
112b75b623
parse quotation-of from HTML as well
closes #73
6 years ago
Aaron Parecki
01cce9b823
sends an Accept header when fetching posts
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
fc74da5be9
add parser for instagram user feeds
6 years ago
Aaron Parecki
bb7821b94f
fix instagram tests
6 years ago
Aaron Parecki
2d19db0308
include instagram bio in h-card
6 years ago
Aaron Parecki
921d5262ea
also parse instagram profile URLs
6 years ago
Aaron Parecki
400b5022b8
update contributing.md
6 years ago
Aaron Parecki
6f39655c8a
parse instagram user info from HTML instead of secret JSON API
adds script to refresh the downloaded instagram data for the tests as well
6 years ago
Aaron Parecki
47f532d359
1.4.25
6 years ago
Aaron Parecki
c70b29479a
updates for instagram parsing
instagram seems to have rolled out the `graphql` key everywhere now
6 years ago
Aaron Parecki
25b6f85c14
use html5 parser and update php-mf2
6 years ago
Aaron Parecki
6687167d5c
update php-mf2
6 years ago
Aaron Parecki
adfc8fa5bd
Merge pull request #64 from aaronpk/mf2-dev
Update to php-mf2 0.4.0
6 years ago
Aaron Parecki
dc0557ddb9
update tests for fixed mf2 parsing
6 years ago
Aaron Parecki
8b199e5385
switch back to main mf2 parser
6 years ago
Aaron Parecki
85c3a17934
whitespace cleanup
6 years ago
Aaron Parecki
4959ec15f2
remove duplicate url values
6 years ago
Aaron Parecki
391b515a5d
use 0.4.0-alpha release of php-mf2
on aaronpk fork
6 years ago
Aaron Parecki
8026279cba
fix tests for new mf2 parser
main difference is the deprecated rel handling
6 years ago