1
0
Fork 1

Clarify future TODO

pull/26/head
gravel 1 year ago
parent dbc19a78ca
commit b9f2d11e34
Signed by: gravel
SSH Key Fingerprint: SHA256:p4HP49CCk4YQMkJpWJ09L8peEPQWjERtdCRAFxPfbOY

@ -22,6 +22,7 @@
file_exists($CACHE_ROOT) or mkdir($CACHE_ROOT, 0700);
// TODO: Tag information is currently discarded. Feature needs triage.
$html_pages = query_known_sources();
// Find join links in each HTML document and concatenate the results.
$join_links = array_merge([], ...array_map('parse_join_links', $html_pages));
@ -95,7 +96,7 @@
$pages_sdir = [];
// TODO
$json_sdir = json_decode(file_get_contents($SOURCES['SDIR-JSON']));
log_debug($http_response_header[0]); // Supposed to be "HTTP/1.1 200 OK"
foreach ($json_sdir as $room) $pages_sdir[] = $room->url;