Add meta tags for fedi
klange -
9a7b5ccfb025 master
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -282,7 +282,7 OA_show(<?php echo $zone; ?>);
282 282 <?php }
283 283 */
284 284
285 function pagehead($caller, $title = 'relax, we understand j00', $style='')
285 function pagehead($caller, $title = 'relax, we understand j00', $style='', $EFFECTIVE_ID = NULL, $STRIP = NULL)
286 286 { ?>
287 287 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
288 288 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -290,7 +290,7 function pagehead($caller, $title = 'relax, we understand j00', $style='')
290 290 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
291 291 <meta name="description" content="MegaTokyo the Comic" />
292 292 <meta name="author" content="Frederick M. Gallagher III" />
293 <meta name="generator" content="Alan J Castonguay, Robert Sherby, Jeremy Wagner-Kaiser, Shawn Morford (!! nathanbp, jrl !!)" />
293 <meta name="generator" content="Castonguay, Robert Sherby, Jeremy Wagner-Kaiser, Shawn Morford (!! nathanbp, jrl !!)" />
294 294 <meta name="keywords" content="megatokyo.com, online comic, gaming, japanese animation, anime, fan art, pop culture, japan, nihongo, nihonjin, otaku, photoshop, fansubs, computer graphics, fred gallagher" />
295 295
296 296 <base href="<?php echo SITE_HOST.SITE_PATH ?>/" />
@@ -315,6 +315,21 function pagehead($caller, $title = 'relax, we understand j00', $style='')
315 315 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
316 316 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
317 317
318 <link rel="me" href="https://mastodon.art/@fredrin" />
319 <link rel="me" href="https://botsin.space/@SEVS44936" />
320 <?php
321 if ($EFFECTIVE_ID != NULL) {
322 $STRIP_IMG = sprintf("https://megatokyo.com/strips/%04d.%s", $EFFECTIVE_ID, $STRIP['ext']);
323 ?>
324 <meta property="og:image" content="<?php echo $STRIP_IMG ?>" />
325 <meta property="og:title" content="<?php echo $title ?>" />
326 <meta property="twitter:card" content="summary" />
327 <meta property="twitter:site" content="MegaTokyo" />
328 <meta property="twitter:title" content="<?php echo $title ?>" />
329 <meta property="twitter:image" content="<?php echo $STRIP_IMG ?>" />
330 <?php
331 }
332 ?>
318 333 <script type="text/javascript" src="index.js"></script><?php /*
319 334 <script type='text/javascript' src='<?php echo ADS_HOST, ADS_PATH ?>/www/delivery/spcjs.php?id=1'></script> */ ?>
320 335 <script type="text/javascript" src="resources.js"></script>
@@ -53,9 +53,9 flock(fopen(SITE_PATH_ABS.'/'.SITE_STRIP.'/'.SITE_STRIP_LOCK, 'r'), LOCK_SH) or
53 53
54 54
55 55 if(isset($_GET['strip_id']) || isset($_GET['transcript_id']))
56 pagehead('index', "[$EFFECTIVE_ID] " . numeric_entities(utfentities($STRIP['title'])));
56 pagehead('index', "[$EFFECTIVE_ID] " . numeric_entities(utfentities($STRIP['title'])), '', $EFFECTIVE_ID, $STRIP);
57 57 else
58 pagehead('index');
58 pagehead('index', 'relax, we understand j00', '', $EFFECTIVE_ID, $STRIP);
59 59 ?>
60 60
61 61 <div id="comic">
Comments 0
You need to be logged in to leave comments. Login now