[Hiki-dev] 編集画面などのロボットよけ

Back to archive index

yowa hori****@yowak*****
2003年 5月 9日 (金) 23:43:08 JST


ょゎです。

サーチエンジンに編集画面などをクロールされるのはあまりうれしくないので、
ロボットよけのパッチを書いてみました。

view.html 以外の templete/{en,ja}/*.html に

  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 

を入れてあります。

------------------------------
ょゎ <mailto:yowak****@cool*****> 
     <http://yowaken.dip.jp/>


Index: template/en/adminform.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/en/adminform.html,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 adminform.html
--- template/en/adminform.html	7 May 2003 14:31:15 -0000	1.1.2.5
+++ template/en/adminform.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="en">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title>Hiki Configurations</title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/en/diff.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/en/diff.html,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 diff.html
--- template/en/diff.html	14 Apr 2003 15:15:00 -0000	1.1.2.4
+++ template/en/diff.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="en">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title>Diff</title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/en/edit.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/en/edit.html,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 edit.html
--- template/en/edit.html	7 May 2003 14:31:15 -0000	1.1.2.6
+++ template/en/edit.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="en">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title></title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/en/form.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/en/form.html,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 form.html
--- template/en/form.html	7 May 2003 14:31:15 -0000	1.1.2.5
+++ template/en/form.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="en">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title></title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/en/list.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/en/list.html,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 list.html
--- template/en/list.html	14 Apr 2003 15:15:00 -0000	1.1.2.4
+++ template/en/list.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="en">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title>Recent changes</title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/en/success.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/en/success.html,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 success.html
--- template/en/success.html	14 Apr 2003 15:15:00 -0000	1.1.2.4
+++ template/en/success.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="en">
   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title></title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/ja/adminform.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/ja/adminform.html,v
retrieving revision 1.1.1.1.2.5
diff -u -r1.1.1.1.2.5 adminform.html
--- template/ja/adminform.html	7 May 2003 14:31:16 -0000	1.1.1.1.2.5
+++ template/ja/adminform.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="ja">
   <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title>Hiki環境設定</title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/ja/diff.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/ja/diff.html,v
retrieving revision 1.1.1.1.2.4
diff -u -r1.1.1.1.2.4 diff.html
--- template/ja/diff.html	14 Apr 2003 15:15:01 -0000	1.1.1.1.2.4
+++ template/ja/diff.html	9 May 2003 14:25:57 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="ja">
   <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title>差分表示</title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/ja/edit.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/ja/edit.html,v
retrieving revision 1.2.2.6
diff -u -r1.2.2.6 edit.html
--- template/ja/edit.html	7 May 2003 14:31:16 -0000	1.2.2.6
+++ template/ja/edit.html	9 May 2003 14:25:58 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="ja">
   <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title></title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/ja/form.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/ja/form.html,v
retrieving revision 1.1.1.1.2.5
diff -u -r1.1.1.1.2.5 form.html
--- template/ja/form.html	7 May 2003 14:31:16 -0000	1.1.1.1.2.5
+++ template/ja/form.html	9 May 2003 14:25:58 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="ja">
   <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title></title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
Index: template/ja/list.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/ja/list.html,v
retrieving revision 1.1.1.1.2.4
diff -u -r1.1.1.1.2.4 list.html
--- template/ja/list.html	14 Apr 2003 15:15:01 -0000	1.1.1.1.2.4
+++ template/ja/list.html	9 May 2003 14:25:58 -0000
@@ -6,6 +6,7 @@
   <meta http-equiv="Content-Language" content="ja">
   <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
   <title id=title>更新履歴</title>
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">
 </head>
Index: template/ja/success.html
===================================================================
RCS file: /cvsroot/hiki/hiki/template/ja/success.html,v
retrieving revision 1.1.1.1.2.5
diff -u -r1.1.1.1.2.5 success.html
--- template/ja/success.html	14 Apr 2003 15:15:01 -0000	1.1.1.1.2.5
+++ template/ja/success.html	9 May 2003 14:25:58 -0000
@@ -5,6 +5,7 @@
 <head>
   <meta http-equiv="Content-Language" content="ja">
   <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
+  <meta name="ROBOTS" content="NOINDEX,NOFOLLOW"> 
   <title id=title></title>
   <link rel="stylesheet" type="text/css" href="@base_css">
   <link rel="stylesheet" type="text/css" href="@stylesheet">



Hiki-dev メーリングリストの案内
Back to archive index