diff options
author | Andrew Dolgov <[email protected]> | 2014-03-05 16:48:41 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-03-05 16:48:41 +0400 |
commit | 97b7d5c0380ac0fdc846306689d3d8015b6b6e62 (patch) | |
tree | decf94bd8cf0a517d971c28a3b5d32321fd4a945 /classes/handler/public.php | |
parent | 38e063418dd957ddf896189714799b1e51bf7751 (diff) |
split functions php into two parts because syntastic is too slow
get_feeds_from_html: stricter feed detection based on whatwg guidelines
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 2ea7447db..bd5045262 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -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() { if (SINGLE_USER_MODE) { login_sequence(); |