Salve a tutti,
giocherello con html e derivati da un po', non sono mai riuscito pero' ad arrivare ad un header "invariabile" che contenga tutto quello che serve per i vari spiders e per facilitare all'utente la navigazione. Attualmente metto questi headers nelle mie pagine, vorrei sapere se conviene aggiungerne di nuovi o modificare qualcosa di questo.
Codice PHP:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it">
<head>
<title>TITLE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="content-language" content="it" />
<meta http-equiv="reply-to" content="MIA_EMAIL" />
<meta name="Author" content="Luca Gervasi" />
<meta name="description" content="DESCRIZIONE_SITO" />
<meta name="keywords" content="COMMA_SEPARATED_KEYWORDS" />
<meta name="generator" content="Eclipse 3.1.0" />
<link rel="shortcut icon" href="/imgs/sito/icotux.gif" type="image/x-icon" />
<link rel="home" href="index.php" />
<link rel="help" href="faqs.php" />
<meta name="rating" content="General" />
<meta name="author" content="Luca Gervasi" />
<link rel="alternate" type="application/atom+xml" title="News Formato Atom" href="/newsrss.php?format=7" />
<link rel="alternate" type="application/rss+xml" title="News Formato RSS 2.0" href="/newsrss.php?format=2" />
<link rel="alternate" type="application/rss+xml" title="News Formato RDF - RSS 1.0" href="/newsrss.php?format=1" />
<link rel="alternate" type="application/rss+xml" title="News Formato RSS 0.91" href="/newsrss.php?format=3" />
<link rel="stylesheet" type="text/css" href="/styles/brandnew2006//layout.css" />
<link rel="stylesheet" type="text/css" href="/styles/brandnew2006//style.css" />
<script type="text/javascript" src="/styles/brandnew2006//script.js"> </script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-269835-1";
urchinTracker();
</script>
</head>
<body xml:lang="it" id="top"
Grazie mille!