Aaron Parecki
44f91f443a
remove facebook
3 vuotta sitten
swentel
4c8fc24c1f
Allow iframe from YouTube and Vimeo
5 vuotta sitten
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
5 vuotta sitten
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 vuotta sitten
Aaron Parecki
19126b5836
pass thru HTTP code and parse deleted pages
more consistently returns HTTP 410 now
6 vuotta sitten
Aaron Parecki
154b7e874a
check for a rel=alternate to existing parsed mf2 JSON and use that instead
7 vuotta sitten
Aaron Parecki
7621bca4a6
adds new "source-format" property to indicate how XRay found the data
* mf2+html
* mf2+json
* feed+json
* xml
* instagram/facebook/github/xkcd
7 vuotta sitten
Aaron Parecki
47f532d359
1.4.25
7 vuotta sitten
Aaron Parecki
25b6f85c14
use html5 parser and update php-mf2
7 vuotta sitten
Aaron Parecki
bde041da00
v1.4.21
7 vuotta sitten
Aaron Parecki
1a14866999
update p3k/http
7 vuotta sitten
Aaron Parecki
c2a8ee5a05
feed discovery only takes 1 http request so adjust timeout
7 vuotta sitten
Aaron Parecki
206e27ea25
add feed discovery API
7 vuotta sitten
Aaron Parecki
05f7d9c86c
implement h-feed and other microformats feed parsing
7 vuotta sitten
sebsel
12f0bebc8a
add Facebook events
8 vuotta sitten
Aaron Parecki
a8acfd2a43
fix test for img in sanitize test
8 vuotta sitten
Aaron Parecki
236c3f5f9c
include version info in response header
8 vuotta sitten
Aaron Parecki
78e3e16592
finishes the refactor!
8 vuotta sitten
Aaron Parecki
01b53edc95
refactor Twitter parser
8 vuotta sitten
Aaron Parecki
f19b8fd7dd
refactor XKCD parsing
8 vuotta sitten
Aaron Parecki
6b65ae1b94
refactor for parsing Instagram and GitHub complete
8 vuotta sitten
Aaron Parecki
2f52eba556
rename Fetcher class, add stub Parser class
8 vuotta sitten
Aaron Parecki
4014da6dc7
moves fetching logic into a library class
8 vuotta sitten
Aaron Parecki
932cbedf45
refactor Rels class into library and controller
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
6733145b47
pass through http response code
8 vuotta sitten
Aaron Parecki
f8e9a87667
parse github issues and comments
closes #20
8 vuotta sitten
Aaron Parecki
94bd1acd75
set user agent header to get around some user agent sniffing
8 vuotta sitten
Aaron Parecki
ee7fa97654
skip parsing xkcd home page
8 vuotta sitten
Aaron Parecki
63ab3031a3
parse XKCD comics
skip image alt text for now
closes #34
8 vuotta sitten
Aaron Parecki
2796897a61
fix arrays
8 vuotta sitten
Aaron Parecki
09981cc8d2
add new endpoint to parse all rel values from a URL
Grabs rel values from both HTTP headers and link tags and merges them together, and resolves any relative values. Also returns the final URL requested and the HTTP response.
8 vuotta sitten
Aaron Parecki
8c488b41ea
add certbot configuration tool
8 vuotta sitten
Aaron Parecki
7d781c3129
match `http-equiv=Status` in addition to `status`
8 vuotta sitten
Aaron Parecki
7ef9d2c936
check for http-equiv for deleted posts when target URL provided
8 vuotta sitten
Aaron Parecki
de060f110f
return url and code with no link when target URL provided
8 vuotta sitten
Aaron Parecki
227311faa9
check for meta-equiv HTTP deleted
closes #16
8 vuotta sitten
Aaron Parecki
2d90d5fddd
move twitter logic to its own function
8 vuotta sitten
Aaron Parecki
bc74919ade
return status code and final URL in response
* closes #14
* updated readme with details of the response
* includes `url` and `code` in the response with the final URL after following redirects and the HTTP status code returned
8 vuotta sitten
Aaron Parecki
4a08c1fd2f
package for releasing to shared servers
* adds .htaccess files for apache
* adds installation instructions and nginx example
* prevent source folders from being viewed with .htaccess
* adds `index.php` in root folder in case you deploy this whole thing to a subfolder
* updates to work when installed in a subfolder
8 vuotta sitten
Aaron Parecki
755fe8c222
fix positive timezones and case-insensitive username check
8 vuotta sitten
Aaron Parecki
0beac036b9
add twitter support
closes #18
8 vuotta sitten
Aaron Parecki
773252559d
parse instagram photos and videos
8 vuotta sitten
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
8 vuotta sitten
Aaron Parecki
c59ab9a2d6
also check img/video/audio for target URL
8 vuotta sitten
Aaron Parecki
ac32522c25
should always return 200
8 vuotta sitten
Aaron Parecki
565d50b862
add token fetching and authentication for posts
8 vuotta sitten
Aaron Parecki
9006718ca5
add config option to enable caching
9 vuotta sitten
Aaron Parecki
bf6de4de06
only return HTTP 400 on client errors
errors fetching the URL should not result in a 400 response
9 vuotta sitten