Aaron Parecki
c530011b2c
add option to ignore rel-alternate as2
1 year ago
Aaron Parecki
ea1f054bdc
fix multiline posts with smashed together paragraph tags
closes #117
2 years ago
Aaron Parecki
d4d53e1f19
add test for a bookmark with no content
4 years ago
Aaron Parecki
9edc99ce3c
parse h-event location as an embedded h-card
5 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
6 years ago
Aaron Parecki
fb3af995a6
return rel-canonical if present
6 years ago
Aaron Parecki
1213ee080d
include author for events
for https://github.com/aaronpk/Aperture/issues/56
6 years ago
Aaron Parecki
b0b2fc1ee8
support featured images from events
closes #92
6 years ago
Aaron Parecki
19126b5836
pass thru HTTP code and parse deleted pages
more consistently returns HTTP 410 now
6 years ago
sebsel
fdbeb4fdc1
add test with two h-cards before the h-entry
7 years ago
sebsel
db780a9789
create failing test: h-entry-with-h-card-before-it
7 years ago
Aaron Parecki
87b2cf10d8
add follow-of posts
replaces #78
7 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
7 years ago
Aaron Parecki
470639f486
recognize h-event "content" in addition to "description"
7 years ago
Aaron Parecki
43db6098fc
handle the case where the server returns multiple content-type headers
7 years ago
Aaron Parecki
d3e36038b2
parse basic ActivityStreams objects
including from rel=alternate
7 years ago
Aaron Parecki
154b7e874a
check for a rel=alternate to existing parsed mf2 JSON and use that instead
7 years ago
Aaron Parecki
112b75b623
parse quotation-of from HTML as well
closes #73
7 years ago
Aaron Parecki
417cc1b3cc
parse redirect uri for h-app
parse from both link tags and the u-redirect-uri property
8 years ago
Aaron Parecki
25b6f85c14
use html5 parser and update php-mf2
8 years ago
Aaron Parecki
4959ec15f2
remove duplicate url values
8 years ago
Aaron Parecki
8026279cba
fix tests for new mf2 parser
main difference is the deprecated rel handling
8 years ago
Aaron Parecki
584f34e1ed
add test from ascraeus.org which was causing an INTL error
8 years ago
Aaron Parecki
aba067234c
add h-x-app vocabulary
closes #13
8 years ago
Aaron Parecki
2515f618c7
include featured image for h-entry
closes #51
8 years ago
Aaron Parecki
44770396f9
add test to ensure a content property is not returned unless it is defined
8 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
8 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
8 years ago
Aaron Parecki
330bc9024d
fix parsing for hReview
thanks to the new backcompat in php-mf2 0.3.2
8 years ago
Aaron Parecki
5f5392a7b8
deduplicate categories, and strip leading hashtags
9 years ago
Aaron Parecki
5e60e13b5a
add h-recipe
closes #24
9 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
9 years ago
Aaron Parecki
88a2c7f5bf
add test for syndication property
9 years ago
Aaron Parecki
7d781c3129
match `http-equiv=Status` in addition to `status`
9 years ago
Aaron Parecki
227311faa9
check for meta-equiv HTTP deleted
closes #16
9 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
9 years ago
Aaron Parecki
c59ab9a2d6
also check img/video/audio for target URL
9 years ago
Aaron Parecki
3edc01d1b7
add test for invitee
10 years ago
Aaron Parecki
6de9be2567
parse h-event
closes #9
10 years ago
Aaron Parecki
ee5e48e1ef
if there is exactly one item and it's an h-entry, use that
10 years ago
Aaron Parecki
2d52b982cb
fix test data
10 years ago
Aaron Parecki
8dc0caa4d0
use effective URL after following redirects when comparing URLs
10 years ago
Aaron Parecki
162d2f5ef8
add tests for feeds, catch case when a permalink has other h-entrys
10 years ago
Aaron Parecki
d1c6dc9268
add a test for rsvp
10 years ago
Aaron Parecki
075f78a6c1
parse h-entry even if it's not the first objet
10 years ago
Aaron Parecki
ac6d86c0db
includes nested h-cite and other objects
if a property such as `in-reply-to` is an h-cite, the URL is still returned as the `in-reply-to` value, and the h-cite object is available in a different part of the response.
closes #6
10 years ago
Aaron Parecki
097e999768
return type=unknown instead of error=no_content
10 years ago
Aaron Parecki
9eecc31571
parse content and name from the entry
10 years ago
Aaron Parecki
85c3ce7b33
starting the parse function, with tests
10 years ago