You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by br...@apache.org on 2004/07/20 14:40:55 UTC

svn commit: rev 23083 - in forrest/trunk/src/forrestbot/webapp/src/webapp: . common

Author: brondsem
Date: Tue Jul 20 05:40:54 2004
New Revision: 23083

Modified:
   forrest/trunk/src/forrestbot/webapp/src/webapp/common/layout.jsp
   forrest/trunk/src/forrestbot/webapp/src/webapp/common/simple.jsp
   forrest/trunk/src/forrestbot/webapp/src/webapp/common/viewlog_frame.jsp
   forrest/trunk/src/forrestbot/webapp/src/webapp/viewlog_header.jsp
Log:
robot meta tags to discourage indexing the generated websites

Modified: forrest/trunk/src/forrestbot/webapp/src/webapp/common/layout.jsp
==============================================================================
--- forrest/trunk/src/forrestbot/webapp/src/webapp/common/layout.jsp	(original)
+++ forrest/trunk/src/forrestbot/webapp/src/webapp/common/layout.jsp	Tue Jul 20 05:40:54 2004
@@ -17,6 +17,7 @@
 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
 <html:html locale="true">
     <head>
+        <meta name="robots" content="index,nofollow">
         <title><tiles:insert attribute="title"/></title>
     </head>
     <body bgcolor="#FFFFFF"/>

Modified: forrest/trunk/src/forrestbot/webapp/src/webapp/common/simple.jsp
==============================================================================
--- forrest/trunk/src/forrestbot/webapp/src/webapp/common/simple.jsp	(original)
+++ forrest/trunk/src/forrestbot/webapp/src/webapp/common/simple.jsp	Tue Jul 20 05:40:54 2004
@@ -17,6 +17,7 @@
 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
 <html:html locale="true">
     <head>
+        <meta name="robots" content="index,nofollow">
         <title><tiles:insert attribute="title"/></title>
     </head>
     <body bgcolor="#FFFFFF"/>

Modified: forrest/trunk/src/forrestbot/webapp/src/webapp/common/viewlog_frame.jsp
==============================================================================
--- forrest/trunk/src/forrestbot/webapp/src/webapp/common/viewlog_frame.jsp	(original)
+++ forrest/trunk/src/forrestbot/webapp/src/webapp/common/viewlog_frame.jsp	Tue Jul 20 05:40:54 2004
@@ -18,6 +18,7 @@
 <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
 <html:html locale="true">
     <head>
+        <meta name="robots" content="index,nofollow">
         <title><tiles:insert attribute="title"/> - <c:out value="${project}"/></title>
     </head>
     <frameset rows="40,*">

Modified: forrest/trunk/src/forrestbot/webapp/src/webapp/viewlog_header.jsp
==============================================================================
--- forrest/trunk/src/forrestbot/webapp/src/webapp/viewlog_header.jsp	(original)
+++ forrest/trunk/src/forrestbot/webapp/src/webapp/viewlog_header.jsp	Tue Jul 20 05:40:54 2004
@@ -18,6 +18,7 @@
 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-el" prefix="bean-el" %>
 <html:html locale="true">
     <head>
+        <meta name="robots" content="index,nofollow">
     </head>
     <body bgcolor="#FFFFFF"/>
     <table border="0" width="100%" cellpadding="0" cellspacing="0">

Re: svn commit: rev 23083 - in forrest/trunk/src/forrestbot/webapp/src/webapp: . common

Posted by Dave Brondsema <da...@brondsema.net>.
On Tue, 20 Jul 2004, Juan Jose Pablos wrote:

> brondsem@apache.org escribió:
> > Author: brondsem
> > Date: Tue Jul 20 05:40:54 2004
> > New Revision: 23083
> >
> > Modified:
> >    forrest/trunk/src/forrestbot/webapp/src/webapp/common/layout.jsp
> >    forrest/trunk/src/forrestbot/webapp/src/webapp/common/simple.jsp
> >    forrest/trunk/src/forrestbot/webapp/src/webapp/common/viewlog_frame.jsp
> >    forrest/trunk/src/forrestbot/webapp/src/webapp/viewlog_header.jsp
> > Log:
> > robot meta tags to discourage indexing the generated websites
>
> what about a robots.txt file?
>

I thought about that, but that only works at domain.com/robots.txt and not
at a directory like: domaind.com/forrestbot/robots.txt.  Meta tags are not
as widely supported as robots.txt but googlebot, msnbot and inktomi slurp
support it so I think that's good enough.

-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org

Re: svn commit: rev 23083 - in forrest/trunk/src/forrestbot/webapp/src/webapp: . common

Posted by Juan Jose Pablos <ch...@che-che.com>.
brondsem@apache.org escribió:
> Author: brondsem
> Date: Tue Jul 20 05:40:54 2004
> New Revision: 23083
> 
> Modified:
>    forrest/trunk/src/forrestbot/webapp/src/webapp/common/layout.jsp
>    forrest/trunk/src/forrestbot/webapp/src/webapp/common/simple.jsp
>    forrest/trunk/src/forrestbot/webapp/src/webapp/common/viewlog_frame.jsp
>    forrest/trunk/src/forrestbot/webapp/src/webapp/viewlog_header.jsp
> Log:
> robot meta tags to discourage indexing the generated websites

what about a robots.txt file?