Commit 0121e3fe authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

A couple of robots changes.

* Change Home page title to: Emulab - Network Emulation Testbed Home

* Change mainsite robot meta tags to include a description, set to the
  same as the new home page title above.

* Remote now sites get standard "noindex" robot directive; crawlers will
  follow links on remote sites but not index them in their search engines.

* Add a fixed link to www.emulab.net/netemu.php3 on all sites; used to
  be on mainsite only; that was dumb!

* Minor cosmetic changes to netemu.php3.
parent 577f3f8f
...@@ -9,7 +9,7 @@ require("defs.php3"); ...@@ -9,7 +9,7 @@ require("defs.php3");
# #
# Standard Testbed Header # Standard Testbed Header
# #
PAGEHEADER("Home"); PAGEHEADER("Emulab - Network Emulation Testbed Home");
# Get some stats about current experiments # Get some stats about current experiments
......
...@@ -423,11 +423,18 @@ function PAGEBEGINNING( $title ) { ...@@ -423,11 +423,18 @@ function PAGEBEGINNING( $title ) {
echo "<!-- @import '$BASEPATH/style-nonmain.css'; -->"; echo "<!-- @import '$BASEPATH/style-nonmain.css'; -->";
} }
echo "</style>"; echo "</style>\n";
if ($TBMAINSITE) { if ($TBMAINSITE) {
echo "<meta NAME='keywords' CONTENT='network, emulation, internet, emulator'>"; echo "<meta NAME=\"keywords\" ".
echo "<meta NAME='ROBOTS' CONTENT='NOARCHIVE'>"; "CONTENT=\"network, emulation, internet, emulator\">\n";
echo "<meta NAME=\"robots\" ".
"CONTENT=\"NOARCHIVE\">\n";
echo "<meta NAME=\"description\" ".
"CONTENT=\"emulab - network emulation testbed home\">\n";
}
else {
echo "<meta NAME=\"robots\" CONTENT=\"NOINDEX\">\n";
} }
echo "</head> echo "</head>
...@@ -608,10 +615,9 @@ function PAGEFOOTER() { ...@@ -608,10 +615,9 @@ function PAGEFOOTER() {
ENDPAGE(); ENDPAGE();
if ($TBMAINSITE) { # Plug the home site from all others.
echo "<p> echo "\n<p><a href=\"www.emulab.net/netemu.php3\"></a>\n";
<a href=\"$TBDOCBASE/netemu.php3\"></a>\n";
}
echo "</body></html>\n"; echo "</body></html>\n";
} }
......
<?php <?php
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group. # Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
require("defs.php3"); require("defs.php3");
...@@ -11,11 +11,11 @@ require("defs.php3"); ...@@ -11,11 +11,11 @@ require("defs.php3");
# #
PAGEHEADER("Network Emulation using the Utah Network Testbed"); PAGEHEADER("Network Emulation using the Utah Network Testbed");
echo "<p> echo "<br>
Emulab.Net provides a great network emulation environment!<br> Emulab.Net provides a great network emulation environment!
Please see our <a href=\"$TBDOCBASE\">Home Page</a> <br>
for more information.<br><br> Please see our <a href=\"$TBDOCBASE\">Home Page</a>
\n"; for more information.<br><br>\n";
echo "<a href='pix/side-crop-big.jpg'> echo "<a href='pix/side-crop-big.jpg'>
<img src='pix/side-crop-med.jpg' align=center></a>\n"; <img src='pix/side-crop-med.jpg' align=center></a>\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment