sebsel
6b286157e3
based tests on TwitterTest.php
7 years ago
sebsel
8c1ffe3f05
fix proper mf2 names, cast lon/lat as string, optional end, array notation
7 years ago
sebsel
b3c0813610
store location as h-card in refs
7 years ago
Aaron Parecki
a16b845af3
adds in-reply-to property for HN comments
7 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
7 years ago
Aaron Parecki
0ccf34b656
use consistent pattern for fetching from silos
7 years ago
Aaron Parecki
4fab3e9e0a
add test for HN comment
7 years ago
Aaron Parecki
d0de523746
add hackernews support
closes #40
7 years ago
sebsel
12f0bebc8a
add Facebook events
7 years ago
Aaron Parecki
236c3f5f9c
include version info in response header
7 years ago
Aaron Parecki
330bc9024d
fix parsing for hReview
thanks to the new backcompat in php-mf2 0.3.2
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
2f52eba556
rename Fetcher class, add stub Parser class
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
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
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
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
c255df7421
add swarm-coins to h-entry
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
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
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
7 years ago
Aaron Parecki
876d4696fb
catch non-expanded profile URLs
apparently some people's profile URLs don't get t.co'd
7 years ago
Aaron Parecki
755fe8c222
fix positive timezones and case-insensitive username check
7 years ago
Aaron Parecki
ebea6869e1
set UTF-8 for mb_substr
attempting to fix in php 5.5
7 years ago
Aaron Parecki
0beac036b9
add twitter support
closes #18
7 years ago
Aaron Parecki
db8dba9f23
include published date for Instagram photos
if the photo has a location, the timezone is set on the published date
7 years ago
Aaron Parecki
773252559d
parse instagram photos and videos
7 years ago
Aaron Parecki
2f9f80c4e6
remove unused function
7 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
8 years ago
Aaron Parecki
1a1215c0be
attempt to catch fatal errors and print a nice message
8 years ago
Aaron Parecki
a7780fb671
set connect timeout
8 years ago