Aaron Parecki
3e63e841bf
remove instagram
2 years ago
Aaron Parecki
44f91f443a
remove facebook
2 years ago
Aaron Parecki
d4d53e1f19
add test for a bookmark with no content
2 years ago
Aaron Parecki
123b08ccd2
add support for jsonfeed 1.1
closes #105
2 years ago
Aaron Parecki
dfc620d102
escape html tags when creating html version
3 years ago
Aaron Parecki
536292c9eb
revert test data, fix test for article in rss
4 years ago
Henrique Dias
c463aa90e3
fix: remove 'Bridgy Fed' title
The test is checking for notes, but 'Bridge Fed' is, in fact, an article according to the post discovery algorithm. Also, I'm adding as note that the main difference between a note and an article is that the latter has a title, while the first doesn't.
4 years ago
Aaron Parecki
9edc99ce3c
parse h-event location as an embedded h-card
4 years ago
Aaron Parecki
d2b0109d37
fix for missing author property
* looks through the full mf2 tree for step 7 of authorship https://github.com/indieweb/authorship/issues/2
* if no author h-card is found, falls back to returning the author URL without other data instead of missing author
closes #95
4 years ago
swentel
4c8fc24c1f
Allow iframe from YouTube and Vimeo
4 years ago
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
aacac198a8
fix checking for empty post content
XRay now looks for images inside the HTML and does not consider those empty posts
4 years ago
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 years ago
Aaron Parecki
fb3af995a6
return rel-canonical if present
5 years ago
Aaron Parecki
1213ee080d
include author for events
for https://github.com/aaronpk/Aperture/issues/56
5 years ago
Aaron Parecki
491f3796f8
also check for opening rss tag
closes #89
5 years ago
Aaron Parecki
b0b2fc1ee8
support featured images from events
closes #92
5 years ago
Aaron Parecki
5b2b4f3142
return original input URL for feed discovery when 302 is found
closes #86
5 years ago
Aaron Parecki
19126b5836
pass thru HTTP code and parse deleted pages
more consistently returns HTTP 410 now
5 years ago
Aaron Parecki
c5d417e87e
leave out placeholder alt text from instagram
6 years ago
Aaron Parecki
8fe9b70526
update instagram test data
6 years ago
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 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
bed6efba29
jsonfeed: use feed info as author as fallback
6 years ago
Aaron Parecki
87b2cf10d8
add follow-of posts
replaces #78
6 years ago
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
9163341af2
normalize relative URLs in JSONFeed items
closes #77
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
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
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
70f1576926
support twitter animated gifs
6 years ago
Aaron Parecki
112b75b623
parse quotation-of from HTML as well
closes #73
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
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
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
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
a50cd6284b
fix whitespace handling for br tags in html
6 years ago
Aaron Parecki
c27f228314
include in-reply-to URL for tweets
6 years ago
Aaron Parecki
c68c7661c8
inspect content to determine if a page is atom or rss
closes #62
6 years ago
Aaron Parecki
cb1e32278d
convert newlines to <br> for html in tweets
6 years ago
Aaron Parecki
bf4bc3a668
extract photos and videos from streaming tweets when truncated
6 years ago
Aaron Parecki
fb2fcec9c6
include HTML for tweets with links or user mentions
also expands parsing to be able to handle twitter JSON from the streaming API which is subtly different from the HTTP API.
closes #61
6 years ago