mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 15:51:32 +00:00
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:
@@ -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
2397
include/functions2.php
Normal file
2397
include/functions2.php
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user