Aaron Parecki
1aa2f01d94
convert hostnames to lowercase
9 years ago
Aaron Parecki
bf6de4de06
only return HTTP 400 on client errors
errors fetching the URL should not result in a 400 response
9 years ago
Aaron Parecki
3edc01d1b7
add test for invitee
9 years ago
Aaron Parecki
6de9be2567
parse h-event
closes #9
9 years ago
Aaron Parecki
ee5e48e1ef
if there is exactly one item and it's an h-entry, use that
9 years ago
Aaron Parecki
2d52b982cb
fix test data
9 years ago
Aaron Parecki
8dc0caa4d0
use effective URL after following redirects when comparing URLs
9 years ago
Aaron Parecki
162d2f5ef8
add tests for feeds, catch case when a permalink has other h-entrys
9 years ago
Aaron Parecki
d1c6dc9268
add a test for rsvp
9 years ago
Aaron Parecki
4cb548fdfc
add test files illustrating a few different ways feeds (lists of posts) can appear
9 years ago
Aaron Parecki
075f78a6c1
parse h-entry even if it's not the first objet
9 years ago
Aaron Parecki
a202aa9c9a
tests for sanitizing and escaping HTML
use fork of php-mf2 until https://github.com/indieweb/php-mf2/pull/83 is merged
9 years ago
Aaron Parecki
d7672df96c
allow ul/li/ol
9 years ago
Aaron Parecki
e3ff109b37
restrict matching mf2 classes to only lowercase names
see http://microformats.org/wiki/microformats2-parsing-issues#ignore_u-camelCase_properties for background
9 years ago
Aaron Parecki
66a9b1cc9e
sanitize HTML in the entry
allow only a basic set of tags, and remove any non-mf2 classes
closes #2
9 years ago
Aaron Parecki
241594dcf5
sanitize HTML
sanitize the HTML returned in the content property. allows a common set of HTML tags.
for #2
9 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
9 years ago
Aaron Parecki
097e999768
return type=unknown instead of error=no_content
9 years ago
Aaron Parecki
ed88b4881b
use file_get_contents only for appengine URLs
9 years ago
Aaron Parecki
d853a52eb4
disable the timeout test for now
9 years ago
Aaron Parecki
2924f35e0d
fix tests for new HTTPStream
9 years ago
Aaron Parecki
69223cad1d
return matching author url
10 years ago
Aaron Parecki
0b35b74636
implement authorship discovery
* extracts mf2 post contents from pages
* implements authorship discovery to find author info for the URL
10 years ago
Aaron Parecki
9eecc31571
parse content and name from the entry
10 years ago
Aaron Parecki
13bb06d2c9
stub mf2 parsing
10 years ago
Aaron Parecki
85c3ce7b33
starting the parse function, with tests
10 years ago
Aaron Parecki
22a71fd7e9
empty project template
10 years ago