pub / yt2html

Fetches Youtube content via RSS and provides a chronological timeline
git clone https://src.jayvii.de/pub/yt2html.git
Home | Log | Files | Exports | Refs | README | RSS

commit 01c3d4c8e3875b0b520399bd5034820a177b0f19
parent b50fbbe405487a7aed733ee92cce641460022cfa
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Fri, 10 May 2024 19:44:00 +0200

Show Script output in JS console

Diffstat:
Mreload.php | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/reload.php b/reload.php @@ -4,9 +4,12 @@ <?php - system("Rscript ./yt.R"); + passthru("Rscript ./yt.R", $log); ?> <!DOCTYPE html> <meta http-equiv="Refresh" content="0; url='/'" /> +<script> + console.log(<?php implode("\n", $log); ?>); +</script> </html>