Aaron Parecki
c70b29479a
updates for instagram parsing
instagram seems to have rolled out the `graphql` key everywhere now
7 vuotta sitten
Aaron Parecki
25b6f85c14
use html5 parser and update php-mf2
7 vuotta sitten
Aaron Parecki
dc0557ddb9
update tests for fixed mf2 parsing
7 vuotta sitten
Aaron Parecki
4959ec15f2
remove duplicate url values
7 vuotta sitten
Aaron Parecki
8026279cba
fix tests for new mf2 parser
main difference is the deprecated rel handling
7 vuotta sitten
Aaron Parecki
a50cd6284b
fix whitespace handling for br tags in html
7 vuotta sitten
Aaron Parecki
c27f228314
include in-reply-to URL for tweets
7 vuotta sitten
Aaron Parecki
c68c7661c8
inspect content to determine if a page is atom or rss
closes #62
7 vuotta sitten
Aaron Parecki
cb1e32278d
convert newlines to <br> for html in tweets
7 vuotta sitten
Aaron Parecki
bf4bc3a668
extract photos and videos from streaming tweets when truncated
7 vuotta sitten
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
7 vuotta sitten
Aaron Parecki
452accf6bf
include `quotation-of` property for quoted tweets
7 vuotta sitten
Aaron Parecki
584f34e1ed
add test from ascraeus.org which was causing an INTL error
7 vuotta sitten
Aaron Parecki
ba309e9cfe
add test for parsing a parsed mf2 object with html
7 vuotta sitten
Aaron Parecki
2cc215d370
add .editorconfig to data folder
tells the editor to save data files with crlf needed for parsing the test http responses
7 vuotta sitten
Aaron Parecki
aba067234c
add h-x-app vocabulary
closes #13
7 vuotta sitten
Aaron Parecki
171ca175f2
adds an option to process a parsed mf2 page
7 vuotta sitten
Aaron Parecki
fe65def90f
comment out two tests until open mf2 parser issues are resolved
7 vuotta sitten
Aaron Parecki
2515f618c7
include featured image for h-entry
closes #51
7 vuotta sitten
Aaron Parecki
2fd563db0c
put the comment in the right spot
7 vuotta sitten
Aaron Parecki
4d65b1ca1e
if removing the img results in empty content, put the name value back
closes #57
7 vuotta sitten
Aaron Parecki
3ac38f9dbf
add simple case of Known markup
for #57
7 vuotta sitten
Aaron Parecki
85c2b9b15f
add failing test for `p-content` containing an `u-photo`
7 vuotta sitten
Aaron Parecki
66adfbe2f8
run name/content dedupe before munging HTML
fix for #53
7 vuotta sitten
Aaron Parecki
44770396f9
add test to ensure a content property is not returned unless it is defined
7 vuotta sitten
Aaron Parecki
bdedef6e1e
adds a bunch of broken tests for #52
7 vuotta sitten
Aaron Parecki
a9b1001e62
switch to fork of picofeed with authorUrl support
* adds test of instagram-atom feed with individual authors per item
* dedupes atom/rss title if it's a prefix of the content
7 vuotta sitten
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 vuotta sitten
Aaron Parecki
65d36a74de
always return arrays for photo and audio from XML feeds
7 vuotta sitten
Aaron Parecki
206e27ea25
add feed discovery API
7 vuotta sitten
Aaron Parecki
85b8a35212
normalize URLs when comparing
Treats `https://example.com ` and `https://example.com/ ` as equivalent when comparing URLs. Closes #33
7 vuotta sitten
Aaron Parecki
15743d411d
Find author when author is a property of the h-feed
closes #32
7 vuotta sitten
Aaron Parecki
05f7d9c86c
implement h-feed and other microformats feed parsing
7 vuotta sitten
Aaron Parecki
7b16371418
add basic support for JSONFeed
7 vuotta sitten
Aaron Parecki
e8e63caba6
implements parsing Atom and RSS feeds
7 vuotta sitten
Aaron Parecki
a37ed3bbae
update to support multiple photos
uses the video's poster frame as the photo if any of the multi-post images are videos
8 vuotta sitten
sebsel
6b286157e3
based tests on TwitterTest.php
8 vuotta sitten
sebsel
67c159ec29
added tests
8 vuotta sitten
Aaron Parecki
a16b845af3
adds in-reply-to property for HN comments
8 vuotta sitten
Aaron Parecki
d50231142a
adds support for parsing checkins
checkin data is returned embedded like author data rather than in the `refs` object
closes #35
8 vuotta sitten
Aaron Parecki
4fab3e9e0a
add test for HN comment
8 vuotta sitten
Aaron Parecki
d0de523746
add hackernews support
closes #40
8 vuotta sitten
Aaron Parecki
a8acfd2a43
fix test for img in sanitize test
8 vuotta sitten
Aaron Parecki
330bc9024d
fix parsing for hReview
thanks to the new backcompat in php-mf2 0.3.2
8 vuotta sitten
Aaron Parecki
78e3e16592
finishes the refactor!
8 vuotta sitten
Aaron Parecki
01b53edc95
refactor Twitter parser
8 vuotta sitten
Aaron Parecki
6b65ae1b94
refactor for parsing Instagram and GitHub complete
8 vuotta sitten
Aaron Parecki
5221cf79e9
get rid of global functions
moves XRay classes to `p3k\XRay` namespace
8 vuotta sitten
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 )
8 vuotta sitten
Aaron Parecki
2a3d7b4923
add in-reply-to for issue comments
8 vuotta sitten