Aaron Parecki
9fb8a0c9a3
fix the bug where some mf2 JSON requests were not parsed correctly
5 年前
Aaron Parecki
2cf50a695e
check for null value first
closes #96
5 年前
Aaron Parecki
aacac198a8
fix checking for empty post content
XRay now looks for images inside the HTML and does not consider those empty posts
5 年前
Jamie Tanna
7f49c0381c
Add support for parsing MF2 JSON
To make it possible to consume feeds of pre-rendered Microformats2 JSON
data, we need to be able to discover that it is a Microformats2 JSON
file using the known MIME types documented in
http://microformats.org/wiki/microformats2-mime-type
5 年前
Aaron Parecki
fb3af995a6
return rel-canonical if present
5 年前
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
6 年前
Aaron Parecki
1213ee080d
include author for events
for https://github.com/aaronpk/Aperture/issues/56
6 年前
Aaron Parecki
491f3796f8
also check for opening rss tag
closes #89
6 年前
Aaron Parecki
f381cf30cf
drop extra request for profiles when fetching instagram photos
6 年前
Aaron Parecki
673daa1842
enable passing a session cookie in instagram requests
6 年前
Aaron Parecki
b0b2fc1ee8
support featured images from events
closes #92
6 年前
Aaron Parecki
7c48a0c1fb
return jsonfeed photos as arrays too
6 年前
Aaron Parecki
5b2b4f3142
return original input URL for feed discovery when 302 is found
closes #86
6 年前
Aaron Parecki
19126b5836
pass thru HTTP code and parse deleted pages
more consistently returns HTTP 410 now
6 年前
Aaron Parecki
5b779feb8a
check for key first
6 年前
Aaron Parecki
c5d417e87e
leave out placeholder alt text from instagram
6 年前
Aaron Parecki
156fd62678
Include alt text from Instagram posts
This adds a new property, "meta", which includes alt text and has room to include additional properties later.
closes #85
6 年前
sebsel
1e638e7fd0
fix a case where the removed h-card is the first item
The previous check removed a h-card, but this one still takes the first of the original array. Which means, in the case of `h-card+h-entry`, the h-card get’s removed, but then the if triggers and the `h-card` is selected.
7 年前
Aaron Parecki
bed6efba29
jsonfeed: use feed info as author as fallback
7 年前
Aaron Parecki
87b2cf10d8
add follow-of posts
replaces #78
7 年前
Aaron Parecki
8043ba575f
improve authorship discovery
closes #79
7 年前
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
7 年前
Aaron Parecki
a0f80593e9
move xpath query to parent helper class
7 年前
Aaron Parecki
9163341af2
normalize relative URLs in JSONFeed items
closes #77
7 年前
Aaron Parecki
e79872fd37
change class for AS Emoji
7 年前
Aaron Parecki
470639f486
recognize h-event "content" in addition to "description"
7 年前
Aaron Parecki
5418072704
don't use twitter bio URL as author URL
7 年前
Aaron Parecki
8b4a38cef7
catch error with rel-urls
7 年前
Aaron Parecki
43db6098fc
handle the case where the server returns multiple content-type headers
7 年前
Aaron Parecki
707e750429
fix likes and reposts
7 年前
Aaron Parecki
7252d5a3f4
also parse the object inside Create activities
7 年前
Aaron Parecki
ca9c8c02ef
AS: parse likes and reposts
7 年前
Aaron Parecki
85d973916f
support articles and summary
7 年前
Aaron Parecki
c9371788c5
fix for old php
7 年前
Aaron Parecki
d3e36038b2
parse basic ActivityStreams objects
including from rel=alternate
7 年前
Aaron Parecki
154b7e874a
check for a rel=alternate to existing parsed mf2 JSON and use that instead
7 年前
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
7 年前
Aaron Parecki
b074d652e0
also accept application/xml as RSS feeds
7 年前
Aaron Parecki
38d307de1c
implements post type discovery
returns a new property `post-type` next to `type`
closes #25
7 年前
Aaron Parecki
70f1576926
support twitter animated gifs
7 年前
Aaron Parecki
e1600cc5bc
real fix for quotation-of
7 年前
Aaron Parecki
c4da480866
quotation-of should always be a single value
7 年前
Aaron Parecki
112b75b623
parse quotation-of from HTML as well
closes #73
7 年前
Aaron Parecki
01cce9b823
sends an Accept header when fetching posts
7 年前
Aaron Parecki
e2780ba0a0
when interpreting JSON, don't require `value` for html values
7 年前
Aaron Parecki
417cc1b3cc
parse redirect uri for h-app
parse from both link tags and the u-redirect-uri property
7 年前
Aaron Parecki
fc74da5be9
add parser for instagram user feeds
7 年前
Aaron Parecki
2d19db0308
include instagram bio in h-card
7 年前
Aaron Parecki
921d5262ea
also parse instagram profile URLs
7 年前
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
7 年前