aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/LinkUtilsTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Extract the title/charset during page download, and check content typeArthurHoaro2017-10-281-20/+224
| | | | | | | Use CURLOPT_WRITEFUNCTION to check the response code and content type (only allow HTML). Also extract the title and charset during downloading chunk of data, and stop it when everything has been extracted. Closes #579
* Hashtag systemArthurHoaro2016-06-061-0/+88
| | | | | | * Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks)
* Add private link counterArthurHoaro2016-05-131-0/+9
|
* Fixes #512: retrieving title didn't match the first closing tagArthurHoaro2016-03-081-0/+2
|
* Fixes #410 - Retrieve title fails in multiple casesArthurHoaro2016-01-111-0/+85
* `get_http_url()` renamed to `get_http_response()`. * Use the same HTTP context to retrieve response headers and content. * Follow HTTP 301 and 302 redirections to retrieve the title (default max 3 redirections). * Add `LinkUtils` to extract titles and charset. * Try to retrieve charset from HTTP headers first (new), then HTML content. * Use mb_string to re-encode title if necessary.