Aaron Parecki
dfc620d102
escape html tags when creating html version
3 years ago
Aaron Parecki
a69e0abd15
deploy from `main` branch
4 years ago
Aaron Parecki
536292c9eb
revert test data, fix test for article in rss
4 years ago
Aaron Parecki
0ed2cc14a9
Merge pull request #100 from hacdias/patch-1
fix: check prefix correctly
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
Henrique Dias
a38217df2b
fix: check prefix correctly
`strpos(string, sub)` returns `false` if `sub` is not present in `string`. In this case, we want to check if `sub` is not a *prefix* of `string`. Hence, we just need to test if the returned position is simply different from 0.
4 years ago
Aaron Parecki
9edc99ce3c
parse h-event location as an embedded h-card
4 years ago
Aaron Parecki
fdcb3886ee
Merge branch 'master' of github.com:aaronpk/XRay
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
Aaron Parecki
f0564ac746
Merge pull request #97 from swentel/allowed-tags
Allow iframe from YouTube and Vimeo
4 years ago
swentel
b67bd55d34
Change first assert
4 years ago
swentel
f9169da969
Remove file_put_contents
4 years ago
swentel
4c8fc24c1f
Allow iframe from YouTube and Vimeo
4 years ago
Aaron Parecki
456f4d0dc1
drop php 7.4 from travis tests
need to update htmlpurifier first
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
e8e20fc27e
better error when no link is found in microformats
for https://github.com/aaronpk/webmention.io/issues/150
4 years ago
Aaron Parecki
53c4acafa1
update picofeed
4 years ago
Aaron Parecki
9a053ebaf7
add php 7.4 to tests
4 years ago
Aaron Parecki
9fb8a0c9a3
fix the bug where some mf2 JSON requests were not parsed correctly
4 years ago
Aaron Parecki
2cf50a695e
check for null value first
closes #96
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
Aaron Parecki
dd024577f5
update p3k-http
4 years ago
Aaron Parecki
8a82c3cd8d
Merge pull request #94 from jamietanna/feature/mf2-json-support
Add support for parsing MF2 JSON
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
4 years ago
Aaron Parecki
fb3af995a6
return rel-canonical if present
5 years ago
Aaron Parecki
0b72d045bf
update htmlpurifier
5 years ago
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
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
f381cf30cf
drop extra request for profiles when fetching instagram photos
5 years ago
Aaron Parecki
673daa1842
enable passing a session cookie in instagram requests
5 years ago
Aaron Parecki
b0b2fc1ee8
support featured images from events
closes #92
5 years ago
Aaron Parecki
7c48a0c1fb
return jsonfeed photos as arrays too
5 years ago
Aaron Parecki
cc9e1bfb17
bump to test deploy from travis-ci
5 years ago
Aaron Parecki
713c9184a3
[appengine]
we also need the controller files!
5 years ago
Aaron Parecki
d059740b73
use p3k/picofeed 0.1.35
5 years ago
Aaron Parecki
cc10f32808
[appengine] remove composer.lock in deploy
5 years ago
Aaron Parecki
12ad970c91
[appengine] replace composer.json
GAE now runs composer itself and dev dependencies are not installed
https://cloud.google.com/appengine/docs/standard/php7/specifying-dependencies
5 years ago
Aaron Parecki
efc59efd0f
[appengine]
forgot a key word
5 years ago
Aaron Parecki
8a40fcd7b8
[appengine] set entrypoint
5 years ago
Aaron Parecki
6763a37d85
install dev dependencies
5 years ago
Aaron Parecki
2fe251d308
update to new base URL
5 years ago
Aaron Parecki
561ae8cf14
[appengine]
let's try the default
5 years ago
Aaron Parecki
1f13431933
changes for appengine PHP 7.2
5 years ago
Aaron Parecki
e99ccf473f
drop PHP 5.5, add PHP 7.3
deploy Google App Engine version to PHP 7.2
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
5b779feb8a
check for key first
5 years ago
Aaron Parecki
c5d417e87e
leave out placeholder alt text from instagram
5 years ago
Aaron Parecki
8fe9b70526
update instagram test data
5 years ago