diff --git a/www/blog/public-domain-day-2025.php b/www/blog/public-domain-day-2025.php index 23182652..7ad93213 100644 --- a/www/blog/public-domain-day-2025.php +++ b/www/blog/public-domain-day-2025.php @@ -24,7 +24,8 @@ $identifiers = [ 'url:https://standardebooks.org/ebooks/josephine-tey/the-man-in-the-queue', ]; -$ebooks = Db::Query('SELECT * from Ebooks where Identifier in ' . Db::CreateSetSql($identifiers), $identifiers, Ebook::class); +// Get all `Ebook`s that are not placeholders. We may have some PD Day books in our placeholders list but we don't want to show them here! +$ebooks = Db::Query('SELECT e.* from Ebooks e left outer join EbookPlaceholders ep using (EbookId) where Identifier in ' . Db::CreateSetSql($identifiers) . ' and ep.EbookId is null', $identifiers, Ebook::class); $ebooksWithDescriptions = []; @@ -118,7 +119,7 @@ ksort($ebooksWithDescriptions);
And 1929 was a literary doozy!
Books by William Faulkner, Ernest Hemingway, Mahatma Gandhi, and John Steinbeck enter the U.S. public domain. Joining these esteemed names is the English translation of All Quiet on the Western Front; Red Harvest, the first novel featuring the Continental Op, the nameless hard-boiled noir detective who created the archetype for every hard-drinking, fedora-wearing private eye to grace page and screen since; and much more.
Our friends at the Public Domain Review have written about some other things that enter the public domain this year, too.
-At Standard Ebooks, our volunteers have been working hard these past few months to prepare a selection of 1929 ebooks for Public Domain Day, and now we’re excited to finally be able to share these = number_format(sizeof($ebooks)) ?> new ebooks with you! Join us in celebrating the liberation of our cultural heritage by downloading these ebooks we’ve prepared for you, and reading them for free:
+At Standard Ebooks, our volunteers have been working hard these past few months to prepare a selection of 1929 ebooks for Public Domain Day, and now we’re excited to finally be able to share these = number_format(sizeof($identifiers)) ?> new ebooks with you! Join us in celebrating the liberation of our cultural heritage by downloading these ebooks we’ve prepared for you, and reading them for free:
if(sizeof($ebooksWithDescriptions) == 0){ ?>We’re still preparing these free ebooks for Public Domain Day. Check back after January 1!
}else{ ?>