1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 14:35:55 +00:00

get_feeds_from_html: remove XML preamble hack

move several related helper functions to Feeds class
This commit is contained in:
Andrew Dolgov
2019-06-20 07:51:48 +03:00
parent 270b39a337
commit 6d746453c7
4 changed files with 88 additions and 115 deletions

View File

@@ -728,18 +728,6 @@ class Handler_Public extends Handler {
}
}
/* function subtest() {
header("Content-type: text/plain; charset=utf-8");
$url = clean($_REQUEST["url"]);
print "$url\n\n";
print_r(get_feeds_from_html($url, fetch_file_contents($url)));
} */
function subscribe() {
if (SINGLE_USER_MODE) {
login_sequence();