From 9d8ee504e2adb906837e5b16e6c93cd12e2487fb Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 8 Jan 2021 17:44:00 -0600 Subject: [PATCH] Update some titles for SEO --- www/ebooks/ebook.php | 2 +- www/ebooks/index.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/www/ebooks/ebook.php b/www/ebooks/ebook.php index 80997293..8fb1f2a5 100644 --- a/www/ebooks/ebook.php +++ b/www/ebooks/ebook.php @@ -68,7 +68,7 @@ catch(\Exception $ex){ include(WEB_ROOT . '/404.php'); exit(); } -?> strip_tags($ebook->TitleWithCreditsHtml), 'ogType' => 'book', 'coverUrl' => $ebook->DistCoverUrl, 'highlight' => 'ebooks', 'description' => 'The Standard Ebooks edition of ' . $ebook->Title . ': ' . $ebook->Description]) ?> +?> strip_tags($ebook->TitleWithCreditsHtml) . ' - Free ebook download', 'ogType' => 'book', 'coverUrl' => $ebook->DistCoverUrl, 'highlight' => 'ebooks', 'description' => 'Free epub ebook download of the Standard Ebooks edition of ' . $ebook->Title . ': ' . $ebook->Description]) ?>
diff --git a/www/ebooks/index.php b/www/ebooks/index.php index 3bc0fbd8..091e885b 100644 --- a/www/ebooks/index.php +++ b/www/ebooks/index.php @@ -73,9 +73,9 @@ try{ $collectionType = ''; } - $pageTitle = 'Browse ebooks in the ' . Formatter::ToPlainText($collectionName) . $collectionType; - $pageDescription = 'A list of ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType; - $pageHeader = 'Ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType; + $pageTitle = 'Browse free ebooks in the ' . Formatter::ToPlainText($collectionName) . $collectionType; + $pageDescription = 'A list of free ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType; + $pageHeader = 'Free ebooks in the ' . Formatter::ToPlainText($collectionName) . ' ' . $collectionType; } else{ throw new InvalidCollectionException(); @@ -94,7 +94,7 @@ try{ if($page > 1){ $pageTitle .= ', page ' . $page; } - $pageDescription = 'Page ' . $page . ' of the Standard Ebooks ebook library'; + $pageDescription = 'Page ' . $page . ' of the Standard Ebooks free ebook library'; $queryString = '';