Aaron Parecki
b0baec515c
update README
replaced example post, closes #30
преди 8 години
Aaron Parecki
5f5392a7b8
deduplicate categories, and strip leading hashtags
преди 8 години
Aaron Parecki
a1234f61e3
recognize h-card if it's the only object
closes #36
преди 8 години
Aaron Parecki
2796897a61
fix arrays
преди 8 години
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 години
Aaron Parecki
c255df7421
add swarm-coins to h-entry
преди 8 години
Aaron Parecki
5ae13d1609
block /parse URL from robots.txt
преди 8 години
Aaron Parecki
d8d11bef73
add letsencrypt setup instructions
преди 8 години
Aaron Parecki
8c488b41ea
add certbot configuration tool
преди 8 години
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
преди 8 години
Aaron Parecki
345bed6075
fix for #26
преди 8 години
Aaron Parecki
5e60e13b5a
add h-recipe
closes #24
преди 8 години
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
преди 8 години
Aaron Parecki
88a2c7f5bf
add test for syndication property
преди 8 години
Aaron Parecki
7d781c3129
match `http-equiv=Status` in addition to `status`
преди 8 години
Aaron Parecki
7ef9d2c936
check for http-equiv for deleted posts when target URL provided
преди 8 години
Aaron Parecki
de060f110f
return url and code with no link when target URL provided
преди 8 години
Aaron Parecki
227311faa9
check for meta-equiv HTTP deleted
closes #16
преди 8 години
Aaron Parecki
2d90d5fddd
move twitter logic to its own function
преди 8 години
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 години
Aaron Parecki
693cb9d636
use p3k\timezone library
преди 8 години
Aaron Parecki
753407c904
set default config for test suite
преди 8 години
Aaron Parecki
f37cb05903
attempt to fix config file reference
преди 8 години
Aaron Parecki
898281bbc7
update composer, adds release script
release script builds a zip file for releases
преди 8 години
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 години
Aaron Parecki
a69c7a4fc7
remove unused css file
преди 8 години
Aaron Parecki
0d8e49ec7c
delete semantic-ui and use simple inline styles
removed semantic-ui and other unused libraries
loading the home page is now only a single HTTP request
преди 8 години
Aaron Parecki
e9b044aa7c
move default config inline, check for config file before loading
this allows you to use XRay without creating a config file using its default settings (currently only caching disabled)
преди 8 години
Aaron Parecki
876d4696fb
catch non-expanded profile URLs
apparently some people's profile URLs don't get t.co'd
преди 8 години
Aaron Parecki
041cc92a8b
add test file
:headdesk:
преди 8 години
Aaron Parecki
755fe8c222
fix positive timezones and case-insensitive username check
преди 8 години
Aaron Parecki
630b9b98d1
drop 5.6 from travis because it confused the deploy
преди 8 години
Aaron Parecki
ebea6869e1
set UTF-8 for mb_substr
attempting to fix in php 5.5
преди 8 години
Aaron Parecki
a1e109aee0
add php 5.6 to travis test
преди 8 години
Aaron Parecki
0beac036b9
add twitter support
closes #18
преди 8 години
Aaron Parecki
db8dba9f23
include published date for Instagram photos
if the photo has a location, the timezone is set on the published date
преди 8 години
Aaron Parecki
44b452a8d0
disable tests that make actual http calls
преди 8 години
Aaron Parecki
773252559d
parse instagram photos and videos
преди 8 години
Aaron Parecki
2f9f80c4e6
remove unused function
преди 8 години
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 години
Aaron Parecki
e0fd07731b
add robots.txt and favicon.ico to appengine config
преди 8 години
Aaron Parecki
03a7598cf7
only output debug for fatal errors
преди 8 години
Aaron Parecki
cf72540881
add blank robots.txt and favicon to avoid 404 errors
преди 8 години
Aaron Parecki
1a1215c0be
attempt to catch fatal errors and print a nice message
преди 8 години
Aaron Parecki
a7780fb671
set connect timeout
преди 8 години
Aaron Parecki
c59ab9a2d6
also check img/video/audio for target URL
преди 8 години
Aaron Parecki
ac32522c25
should always return 200
преди 9 години
Aaron Parecki
565d50b862
add token fetching and authentication for posts
преди 9 години
Aaron Parecki
0fde8190f5
copy production config to config.php
преди 9 години
Aaron Parecki
62697ee46b
strict type checking on properties
преди 9 години