web/mashup/polemicaltimeline.php
changeset 220 42aeb2bfc58e
parent 205 dfda2d71838b
equal deleted inserted replaced
219:66fa89a3d42c 220:42aeb2bfc58e
     2 
     2 
     3 /**
     3 /**
     4  * include some common code (like we did in the 90s)
     4  * include some common code (like we did in the 90s)
     5  * People still do this? ;)
     5  * People still do this? ;)
     6  */
     6  */
       
     7 include_once 'config.php';
     7  // configuration 
     8  // configuration 
     8 include 'common.php';
     9 include 'common.php';
     9  // objet actuel 
       
    10 include_once 'config.php';
       
    11 
    10 
    12 $url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
    11 $url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
    13 
    12 
    14 ?>
    13 ?>
    15 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    14 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    16 <html lang="<?php echo($actual); ?>">
    15 <html lang="<?php echo($actual); ?>">
    17   <head>
    16   <head>
    18     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    17     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    19     <title>Polemic tweet - <?php echo($config['title']); ?> - <?php echo($url); ?></title>
    18     <title>Polemic tweet - <?php echo($config['title']); ?></title>
    20 	<meta name="keywords" content="<?php echo($config['keywords']); ?>"><!-- add timestampedmetadata -->
    19 	<meta name="keywords" content="<?php echo($config['keywords']); ?>"><!-- add timestampedmetadata -->
    21 	<!--<meta name="description" content="PoelmicTweet.fr : debate mapping, opinion, conference, video">-->
    20 	<!--<meta name="description" content="PoelmicTweet.fr : debate mapping, opinion, conference, video">-->
    22 	<meta name="description" content="<?php echo($config['description']); ?>">
    21 	<meta name="description" content="<?php echo($config['description']); ?>">
    23 	<meta name="robots" content="index, follow">
    22 	<meta name="robots" content="index, follow">
    24 	
    23