Added social media to keyword results.

This commit is contained in:
2023-07-23 08:13:51 -05:00
parent 6fbd35120e
commit 1962838e77
2 changed files with 22 additions and 13 deletions

View File

@ -23,12 +23,12 @@ In no particular order, here is a semi-current list of things to be done in Info
[ ] Add link to project repo
[ ] Add links to Neon Distopia, Cyberpunk Librarian, and The L0WL1F3 Podcast
[ ] Hook up social graphs and metadata on basic title search
[ ] Add image (mostly Pixabay) credits
[x] Hook up social graphs and metadata on basic title search
[x] Add links to Neon Distopia, Cyberpunk Librarian, and The L0WL1F3 Podcast
[x] Social image on home page should be switched to a local image
[x] Hook up social graphs and metadata on the item record page

View File

@ -57,15 +57,24 @@ ORDER BY books.title ASC");
-->
<!-- Facebook and Twitter integration -->
<meta property="og:title" content=""/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>
<meta property="og:site_name" content=""/>
<meta property="og:description" content=""/>
<meta name="twitter:title" content="" />
<meta name="twitter:image" content="" />
<meta name="twitter:url" content="" />
<meta name="twitter:card" content="" />
<!-- Facebook and Twitter integration -->
<meta property="og:title" content=<?php echo '"'.$SiteName.' - Keyword Search" />';?>
<meta property="og:image" content=<?php echo '"'.$SiteURL.'/images/og-site-avatar.jpg" />';?>
<meta property="og:url" content=<?php echo '"'.$SiteURL.'/keywordresults.php?kw='.$keywordsearch.'" />';?>
<meta property="og:site_name" content=<?php echo '"'.$SiteName.' - '.$keywordsearch.'" />';?>
<meta property="og:description" content=<?php echo '"'.$SubName.' - Keyword Search" />';?>
<meta name="twitter:title" content=<?php echo '"'.$SiteName.' - '.$keywordsearch.'" />';?>
<meta name="twitter:image" content=<?php echo '"'.$SiteURL.'/images/og-site-avatar.jpg" />';?>
<meta name="twitter:url" content=<?php echo '"'.$SiteURL.'/keywordresults.php?kw='.$keywordsearch.'" />';?>
<meta name="twitter:card" content="summary" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="shortcut icon" href="favicon.ico">