-
Notifications
You must be signed in to change notification settings - Fork 0
/
scraper_template.php
34 lines (27 loc) · 1.01 KB
/
scraper_template.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<head>
<title>
<?=$title?>
</title>
<!-- for Google -->
<meta name="description" content="<?=$desc?>"/>
<!-- <meta name="keywords" content="" />-->
<meta name="copyright" content="<?=$copyright?>" />
<!-- <meta name="application-name" content="" />-->
<?php if(!empty($author)): ?>
<meta name="author" content="<?=$author?>" />
<?php endif; ?>
<!-- for Facebook -->
<meta property="og:title" content="<?=$title?>"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="<?=$url?>"/>
<meta property="og:description" content="<?=$desc?>"/>
<meta property="og:image" content="<?=$img?>"/>
<!-- for Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="<?=$paperTwitterHandle?>" />
<meta name="twitter:title" content="<?=$title?>"/>
<meta name="twitter:description" content="<?=$desc?>"/>
<meta name="twitter:image" content="<?=$img?>"/>
</head>
</html>