From 80d9e02ea47bfb783cc2033162ae9231551e5654 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Tue, 9 Nov 2021 20:47:01 +0000 Subject: Delete files that are no longer needed --- scripts/email_bookmarks.php | 49 --------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 scripts/email_bookmarks.php (limited to 'scripts') diff --git a/scripts/email_bookmarks.php b/scripts/email_bookmarks.php deleted file mode 100644 index 9a63d94..0000000 --- a/scripts/email_bookmarks.php +++ /dev/null @@ -1,49 +0,0 @@ - $email['from'], - 'MIME-Version' => '1.0', - 'Content-Type' => 'text/html; charset=UTF-8', - ] -); - -function buildMessage(array $urls, string $site): string -{ - $urls = array_map(function ($url) use ($site) { - return sprintf( - '
  • %s
  • ', - $site, - urlencode($url), - htmlentities($url) - ); - }, $urls); - - $urls = sprintf('
      %s
    ', implode('', $urls)); - - return <<< EOF_HTML - - -

    Below are today's bookmarks for reading.

    - $urls - - -EOF_HTML; -} -- cgit v1.2.3-13-gbd6f