Aaron Parecki
11977e6746
Merge pull request #38 from aaronpk/library-refactor
Refactors into a library that can be used separately from the API
7 years ago
Aaron Parecki
78e3e16592
finishes the refactor!
7 years ago
Aaron Parecki
01b53edc95
refactor Twitter parser
7 years ago
Aaron Parecki
f19b8fd7dd
refactor XKCD parsing
7 years ago
Aaron Parecki
6b65ae1b94
refactor for parsing Instagram and GitHub complete
7 years ago
Aaron Parecki
e36b4533ff
use phpunit 4.8 for php 5.5 support
7 years ago
Aaron Parecki
2f52eba556
rename Fetcher class, add stub Parser class
7 years ago
Aaron Parecki
7a7fa6cabb
markdown formatting
7 years ago
Aaron Parecki
32df010cbd
update readme
7 years ago
Aaron Parecki
4014da6dc7
moves fetching logic into a library class
7 years ago
Aaron Parecki
932cbedf45
refactor Rels class into library and controller
7 years ago
Aaron Parecki
00dbc3dae1
relicense under MIT
7 years ago
Aaron Parecki
5221cf79e9
get rid of global functions
moves XRay classes to `p3k\XRay` namespace
7 years ago
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 )
7 years ago
Aaron Parecki
4b76d7e853
update composer for split into library
7 years ago
Aaron Parecki
9e20bdb4d0
update gitignore
7 years ago
Aaron Parecki
eb0184a6cb
add xkcd image
7 years ago
Aaron Parecki
8a7f3aae42
update docs
7 years ago
Aaron Parecki
2a3d7b4923
add in-reply-to for issue comments
7 years ago
Aaron Parecki
b76d72a77b
return issue labels as category
7 years ago
Aaron Parecki
fc41098477
fix
7 years ago
Aaron Parecki
6733145b47
pass through http response code
7 years ago
Aaron Parecki
19908117eb
set user-agent header for github requests
7 years ago
Aaron Parecki
f8e9a87667
parse github issues and comments
closes #20
7 years ago
Aaron Parecki
5f63ed7944
updates for instagram scraping
7 years ago
Aaron Parecki
94bd1acd75
set user agent header to get around some user agent sniffing
7 years ago
Aaron Parecki
ee7fa97654
skip parsing xkcd home page
7 years ago
Aaron Parecki
63ab3031a3
parse XKCD comics
skip image alt text for now
closes #34
7 years ago
Aaron Parecki
b0baec515c
update README
replaced example post, closes #30
7 years ago
Aaron Parecki
5f5392a7b8
deduplicate categories, and strip leading hashtags
7 years ago
Aaron Parecki
a1234f61e3
recognize h-card if it's the only object
closes #36
7 years ago
Aaron Parecki
2796897a61
fix arrays
7 years ago
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.
7 years ago
Aaron Parecki
c255df7421
add swarm-coins to h-entry
7 years ago
Aaron Parecki
5ae13d1609
block /parse URL from robots.txt
7 years ago
Aaron Parecki
d8d11bef73
add letsencrypt setup instructions
7 years ago
Aaron Parecki
8c488b41ea
add certbot configuration tool
7 years ago
Aaron Parecki
4a4bc73f5e
don't include the RT'd photo or video in the main entry
they are part of the reposted object instead.
closes #27
7 years ago
Aaron Parecki
345bed6075
fix for #26
7 years ago
Aaron Parecki
5e60e13b5a
add h-recipe
closes #24
7 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
7 years ago
Aaron Parecki
88a2c7f5bf
add test for syndication property
7 years ago
Aaron Parecki
7d781c3129
match `http-equiv=Status` in addition to `status`
7 years ago
Aaron Parecki
7ef9d2c936
check for http-equiv for deleted posts when target URL provided
7 years ago
Aaron Parecki
de060f110f
return url and code with no link when target URL provided
7 years ago
Aaron Parecki
227311faa9
check for meta-equiv HTTP deleted
closes #16
7 years ago
Aaron Parecki
2d90d5fddd
move twitter logic to its own function
7 years ago
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
7 years ago
Aaron Parecki
693cb9d636
use p3k\timezone library
7 years ago
Aaron Parecki
753407c904
set default config for test suite
7 years ago