KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

robots.php 3.0KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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.8.11
  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. $language_data = array (
  35. 'LANG_NAME' => 'robots.txt',
  36. 'COMMENT_SINGLE' => array(1 => '#'),
  37. 'COMMENT_MULTI' => array(),
  38. 'COMMENT_REGEXP' => array(1 => "/^Comment:.*?/m"),
  39. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  40. 'QUOTEMARKS' => array(),
  41. 'ESCAPE_CHAR' => '',
  42. 'KEYWORDS' => array(
  43. 1 => array(
  44. 'Allow', 'Crawl-delay', 'Disallow', 'Request-rate', 'Robot-version',
  45. 'Sitemap', 'User-agent', 'Visit-time'
  46. )
  47. ),
  48. 'SYMBOLS' => array(
  49. ':'
  50. ),
  51. 'CASE_SENSITIVE' => array(
  52. GESHI_COMMENTS => false,
  53. 1 => true
  54. ),
  55. 'STYLES' => array(
  56. 'KEYWORDS' => array(
  57. 1 => 'color: #b1b100;'
  58. ),
  59. 'COMMENTS' => array(
  60. 1 => 'color: #808080; font-style: italic;',
  61. ),
  62. 'ESCAPE_CHAR' => array(
  63. 0 => 'color: #000099; font-weight: bold;'
  64. ),
  65. 'BRACKETS' => array(
  66. 0 => 'color: #66cc66;'
  67. ),
  68. 'STRINGS' => array(
  69. 0 => 'color: #ff0000;'
  70. ),
  71. 'NUMBERS' => array(
  72. 0 => 'color: #cc66cc;'
  73. ),
  74. 'METHODS' => array(
  75. ),
  76. 'SYMBOLS' => array(
  77. 0 => 'color: #66cc66;'
  78. ),
  79. 'REGEXPS' => array(
  80. ),
  81. 'SCRIPT' => array(
  82. )
  83. ),
  84. 'URLS' => array(
  85. 1 => 'http://www.robotstxt.org/wc/norobots.html'
  86. ),
  87. 'OOLANG' => false,
  88. 'OBJECT_SPLITTERS' => array(
  89. ),
  90. 'REGEXPS' => array(
  91. ),
  92. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  93. 'SCRIPT_DELIMITERS' => array(
  94. ),
  95. 'HIGHLIGHT_STRICT_BLOCK' => array(
  96. )
  97. );
  98. ?>