| 1 |
$Id: README.txt,v 1.2 2005/10/26 23:43:26 djnz Exp $ |
$Id: README.txt,v 1.3 2005/10/26 23:50:09 djnz Exp $ |
| 2 |
|
|
| 3 |
COPYRIGHT AND LICENSE INFORMATION |
COPYRIGHT AND LICENSE INFORMATION |
| 4 |
================================= |
================================= |
| 5 |
wgHTML is copyright (c) WEBg8 2003-2005. djnz@webg8.com |
wgHTML is copyright (c) WEBg8 2003-2007. djnz@webg8.com |
| 6 |
|
|
| 7 |
wgHTML is licensed under the GNU General Public License (GPL): see |
wgHTML is licensed under the GNU General Public License (GPL): see |
| 8 |
http://www.opensource.org/licenses/gpl-license.php |
http://www.opensource.org/licenses/gpl-license.php |
| 10 |
|
|
| 11 |
REQUIREMENTS |
REQUIREMENTS |
| 12 |
============ |
============ |
| 13 |
1. Only tested with Drupal v 4.6.3 but should work with some other versions: |
1. Only tested with Drupal v 5.1 but should work with some other versions: |
| 14 |
give it a try! Please report back to the forums at http://www.webg8.com/ |
give it a try! Please report back to the forums at http://www.webg8.com/ |
| 15 |
so that issues can be resolved for everybody. |
so that issues can be resolved for everybody. |
| 16 |
2. Apache with mod_rewrite. |
2. Apache with mod_rewrite. |
| 22 |
============ |
============ |
| 23 |
1. Copy the files to the appropriate directory |
1. Copy the files to the appropriate directory |
| 24 |
|
|
| 25 |
2. Create the following tables using phpMyAdmin or whatever: |
|
| 26 |
CREATE TABLE `wghtml_pages` ( |
2. Enable the module in admin/modules |
|
`pageId` int(8) unsigned NOT NULL auto_increment, |
|
|
`identity` varchar(32) NOT NULL default '', |
|
|
`current` int(8) NOT NULL default '0', |
|
|
PRIMARY KEY (`pageId`), |
|
|
KEY `identity` (`identity`) |
|
|
); |
|
|
CREATE TABLE `wghtml_versions` ( |
|
|
`pageId` int(8) unsigned NOT NULL default '0', |
|
|
`version` int(8) NOT NULL default '0', |
|
|
`node` int(8) unsigned NOT NULL default '0', |
|
|
`perm_area` varchar(32) default NULL, |
|
|
`raw` text, |
|
|
`title` text, |
|
|
`head` text, |
|
|
`body` text, |
|
|
`bodyattrib` text, |
|
|
`linkto` text, |
|
|
`signature` int(10) unsigned default NULL, |
|
|
`cachetime` int(10) unsigned default NULL, |
|
|
PRIMARY KEY (`pageId`,`version`) |
|
|
) |
|
| 27 |
|
|
| 28 |
3. Review the options in the file wghtml/config.php. The most significant one |
3. Review the options in the file wghtml/config.php. The most significant one |
| 29 |
is the 'implementation' setting. Decide whether you want to run wgHTML as a |
is the 'implementation' setting. Decide whether you want to run wgHTML as a |
| 86 |
|
|
| 87 |
TO DO LIST |
TO DO LIST |
| 88 |
========== |
========== |
| 89 |
|
Update this to do list - some of this is now implemented/deprecated |
| 90 |
Change direct references to the wghtml_config global to $this->config |
Change direct references to the wghtml_config global to $this->config |
| 91 |
Review the rewriting of links when parsing source |
Review the rewriting of links when parsing source |
| 92 |
Infer index.htm[l] for missing file names |
Infer index.htm[l] for missing file names |