split functions php into two parts because syntastic is too slow
get_feeds_from_html: stricter feed detection based on whatwg guidelines
This commit is contained in:
parent
38e063418d
commit
97b7d5c038
|
@ -587,6 +587,18 @@ class Handler_Public extends Handler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function subtest() {
|
||||||
|
header("Content-type: text/plain; charset=utf-8");
|
||||||
|
|
||||||
|
$url = $_REQUEST["url"];
|
||||||
|
|
||||||
|
print "$url\n\n";
|
||||||
|
|
||||||
|
|
||||||
|
print_r(get_feeds_from_html($url, fetch_file_contents($url)));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function subscribe() {
|
function subscribe() {
|
||||||
if (SINGLE_USER_MODE) {
|
if (SINGLE_USER_MODE) {
|
||||||
login_sequence();
|
login_sequence();
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue