ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
robots.php
Go to the documentation of this file.
1 <?php
2 /*************************************************************************************
3  * robots.php
4  * --------
5  * Author: Christian Lescuyer (cl@goelette.net)
6  * Copyright: (c) 2006 Christian Lescuyer http://xtian.goelette.info
7  * Release Version: 1.0.9.0
8  * Date Started: 2006/02/17
9  *
10  * robots.txt language file for GeSHi.
11  *
12  * 2006/02/17 (1.0.0)
13  * - First Release
14  *
15  *************************************************************************************
16  *
17  * This file is part of GeSHi.
18  *
19  * GeSHi is free software; you can redistribute it and/or modify
20  * it under the terms of the GNU General Public License as published by
21  * the Free Software Foundation; either version 2 of the License, or
22  * (at your option) any later version.
23  *
24  * GeSHi is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with GeSHi; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32  *
33  ************************************************************************************/
34 
35 $language_data = array (
36  'LANG_NAME' => 'robots.txt',
37  'COMMENT_SINGLE' => array(1 => '#'),
38  'COMMENT_MULTI' => array(),
39  'COMMENT_REGEXP' => array(1 => "/^Comment:.*?/m"),
40  'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
41  'QUOTEMARKS' => array(),
42  'ESCAPE_CHAR' => '',
43  'KEYWORDS' => array(
44  1 => array(
45  'Allow', 'Crawl-delay', 'Disallow', 'Request-rate', 'Robot-version',
46  'Sitemap', 'User-agent', 'Visit-time'
47  )
48  ),
49  'SYMBOLS' => array(
50  ':'
51  ),
52  'CASE_SENSITIVE' => array(
53  GESHI_COMMENTS => false,
54  1 => true
55  ),
56  'STYLES' => array(
57  'KEYWORDS' => array(
58  1 => 'color: #b1b100;'
59  ),
60  'COMMENTS' => array(
61  1 => 'color: #808080; font-style: italic;',
62  ),
63  'ESCAPE_CHAR' => array(
64  0 => 'color: #000099; font-weight: bold;'
65  ),
66  'BRACKETS' => array(
67  0 => 'color: #66cc66;'
68  ),
69  'STRINGS' => array(
70  0 => 'color: #ff0000;'
71  ),
72  'NUMBERS' => array(
73  0 => 'color: #cc66cc;'
74  ),
75  'METHODS' => array(
76  ),
77  'SYMBOLS' => array(
78  0 => 'color: #66cc66;'
79  ),
80  'REGEXPS' => array(
81  ),
82  'SCRIPT' => array(
83  )
84  ),
85  'URLS' => array(
86  1 => 'http://www.robotstxt.org/wc/norobots.html'
87  ),
88  'OOLANG' => false,
89  'OBJECT_SPLITTERS' => array(
90  ),
91  'REGEXPS' => array(
92  ),
93  'STRICT_MODE_APPLIES' => GESHI_NEVER,
94  'SCRIPT_DELIMITERS' => array(
95  ),
96  'HIGHLIGHT_STRICT_BLOCK' => array(
97  )
98 );
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:149
$language_data
Definition: robots.php:35
const GESHI_NEVER
#+ private
Definition: geshi.php:123
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
Definition: geshi.php:94