README 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. //////////////////////////////////////////////////////////////////////////
  2. WikiHiero - A PHP converter from text using "Manual for the encoding of
  3. hieroglyphic texts for computer input" syntax into HTML entities (table and
  4. images).
  5. Copyright (C) 2004 Guillaume Blanchard (Aoineko)
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License
  8. as published by the Free Software Foundation; either version 2
  9. of the License, or any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. //////////////////////////////////////////////////////////////////////////
  18. Hieroglyphs pictures
  19. Copyright (c) 2004 S. Rosmorduc, G. Watson, J. Hirst
  20. Permission is granted to copy, distribute and/or modify those pictures
  21. under the terms of the GNU Free Documentation License, Version 1.2
  22. or any later version published by the Free Software Foundation;
  23. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  24. Texts. A copy of the license is included in the section entitled "GNU
  25. Free Documentation License".
  26. //////////////////////////////////////////////////////////////////////////
  27. == INSTALL AS A WEB PAGE ==
  28. You need a server running Apache and PHP. WikiHiero was tested with
  29. Apache 1.3.27 and PHP 4.3.3, but must work with oldest version.
  30. 1) Copy all file to your server.
  31. 2) Enjoy!
  32. If you rename the pictures directory, pictures prefix or extension, please
  33. modify "wikihiero.php" to fit your changes. If you modify any picture size,
  34. or add/remove pictures, you need to run "wh_generate.php" to build an updated
  35. "wh_list.php".
  36. == ADD WIKI-HIERO TO YOUR HOMEPAGE, FORUM ==
  37. You need a server running Apache and PHP. WikiHiero was tested with
  38. Apache 1.3.27 and PHP 4.3.3, but must work with oldest version.
  39. 1) Copy "wikihiero.php", "wh_list.php" and "img" directory to your server.
  40. 2) Include "wikihiero.php" at the top of the file where you want to use it:
  41. <?php include "wikihiero.php"; ?>
  42. In both file are not in the same folder, don't forget to specify the path.
  43. 3) Where you want show hieroglyphs, add the line
  44. <?php echo WikiHiero("my_text"); ?>
  45. 4) Enjoy!
  46. If you rename the pictures directory, pictures prefix or extension, please
  47. modify "wikihiero.php" to fit your changes. If you modify any picture size,
  48. or add/remove pictures, you need to run "wh_generate.php" to build an updated
  49. "wh_list.php".
  50. == Version history ==
  51. 0.2.0: New parser
  52. 0.2.1: Fix link to hieroglyph tables
  53. 0.2.2:
  54. - Fix hieroglyph size when into a [[w:cartouche|cartouche]]
  55. - Fix phonemes table to use 'Aa' category rather than 'J'
  56. 0.2.3: Add Swedish interface
  57. 0.2.4: Add Japanese and Dutch interface
  58. 0.2.5:
  59. - Fix Swedish interface
  60. - Create a function to handle language entries lack
  61. - Change 'height' option by a 'scale' (in percentage)
  62. - Add a 'line' option to split text lines
  63. 0.2.6:
  64. - Add source annotation.
  65. - Support of both '-' and ' ' as separator
  66. 0.2.7:
  67. - Add parsing process duration.
  68. - Add download section
  69. 0.2.8:
  70. - Add Chinese interface.
  71. - Minor fix
  72. 0.2.9:
  73. - Add Esperanto interface.
  74. - Fix cartouche size