[ CRT: off ]
Visitors: 000003470 | Server: 2026-07-13 23:19:20 UTC | UTC: 2026-07-13 23:19:20 UTC
Best Viewed in Firefox | Powered by PHP 7.4.33 | Connection: HTTPS (secure) | No Cookies · No Tracking
*** Welcome to the last honest website on the internet *** +++ This site stores NOTHING about you -- everything is computed in YOUR browser +++ NEW! Live browser fingerprinting module added +++ NEW! Interactive terminal -- type help to begin +++ Best viewed in Firefox at 1024x768 or higher +++ Remember: if the product is free, usually YOU are the product -- but not here +++ Greetz to everyone still running an old CRT monitor <3

disk Source Code

The entire project, readable in your browser. No hidden JavaScript, no sneaky beacons. If we claimed we don't track you, this is where you check.

disk rss.php  (1.8 KB, 51 lines)
   1  <?php
   2  /**
   3   * rss.php  --  RSS 2.0 feed of site updates (from config's UPDATE_LOG).
   4   * Pure XML output. No storage, no tracking.
   5   */
   6  require_once __DIR__ . '/includes/config.php';
   7  require_once __DIR__ . '/includes/functions.php';
   8  
   9  // Build absolute site URL for the feed's links.
  10  $scheme = is_https() ? 'https' : 'http';
  11  $host   = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost';
  12  $siteUrl = $scheme . '://' . $host . BASE_URL;
  13  
  14  $updates = isset($GLOBALS['UPDATE_LOG']) ? $GLOBALS['UPDATE_LOG'] : array();
  15  
  16  if (!headers_sent()) {
  17      header('Content-Type: application/rss+xml; charset=UTF-8');
  18      header('X-Content-Type-Options: nosniff');
  19  }
  20  
  21  /** Escape text for XML. */
  22  function xml_esc($s) {
  23      return htmlspecialchars((string)$s, ENT_QUOTES | ENT_XML1, 'UTF-8');
  24  }
  25  
  26  echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
  27  ?>
  28  <rss version="2.0">
  29    <channel>
  30      <title><?php echo xml_esc(SITE_NAME); ?></title>
  31      <link><?php echo xml_esc($siteUrl . '/index.php'); ?></link>
  32      <description><?php echo xml_esc(SITE_TAGLINE); ?></description>
  33      <language>en-us</language>
  34      <generator>Handmade PHP, no libraries</generator>
  35      <lastBuildDate><?php echo xml_esc(http_date(latest_update_timestamp())); ?></lastBuildDate>
  36      <docs>https://www.rssboard.org/rss-specification</docs>
  37  <?php foreach ($updates as $u):
  38          $ts = strtotime($u[0] . ' 12:00:00 UTC');
  39          $link = $siteUrl . '/about.php#' . rawurlencode($u[0]);
  40  ?>
  41      <item>
  42        <title><?php echo xml_esc($u[1]); ?></title>
  43        <link><?php echo xml_esc($link); ?></link>
  44        <guid isPermaLink="false"><?php echo xml_esc('whatcanilearn-' . $u[0] . '-' . md5($u[1])); ?></guid>
  45        <pubDate><?php echo xml_esc(http_date($ts)); ?></pubDate>
  46        <description><?php echo xml_esc($u[2]); ?></description>
  47      </item>
  48  <?php endforeach; ?>
  49    </channel>
  50  </rss>
  51  

You are reading the real file being executed on the server. What you see is what runs.