Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Headers

  1. #1

    Headers

    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!

  2. #2
    Io di regola metto solamente il meta robots, description, title e content-type, a volte metto anche l'author ma per gli spider non serve a niente.
    Il rating secondo me è indifferente metterlo o meno, mentre potrebbe essere cassato il generator, il reply-to e il content-language oltre che al secondo author.
    Ricorda inoltre che gli spider leggono molto poco il contenuto di tag meta e moltissimo il contenuto reale delle pagine.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.