Bludwyng's Sandbox |
---|
WikiGen is a database with the ability to maintain data for games that are pure wiki, such as Aion, Runes of Magic, and Vanguard.
Wikigen will:
Of course, the generated page should have some HTML comments in it explaining that the page was auto-generated, when and by whom.
When a record edit is started, WikiGen should immediately grab the current version of the page from ZAM, warn if it is newer than the last uploaded version, and update the stored record after prompting. After editing the db record, it should generate and auto-upload the new page.
In order to accomplish auto-uploading WikiGen will need to store the username and password, locally. A secondary account should be used for this, which should be identified as a bot, such as username: BludwyngWGBot
WikiGen should include a log parser for gathering information from those games that have logs.
I can do http_get http://www.zam.com/wiki/WikiGen but not http_get http://www.zam.com/wiki.html?e=WikiGen
If WIkiGen cannot both get and push pages it is not gonna work. No way am I gonna write it to carve the data out of a fully rendered HTML page. I need the edit page.
It may still be worthwhile to write WikiGen as a log parser and NEW page uploader. I could still test to see if the page exists, and display the new data for existing pages.