.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old June 24th, 2008, 11:34 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Wraithlord\'s dominionsKB

Oh, writing such a parser was just what I had in mind. I was thinking of using the basic power tools for this the twins sed and awk. It should make writing the parser more feasible.

I admit I'm far from being an HTML expert though, so I might be missing some hidden (for me) difficulties.

I think the best way to get a feel for how difficult the parse is will be to start writing it. Probably if I get stuck I could get help from you Ich.
Reply With Quote
  #2  
Old June 24th, 2008, 11:35 AM
DonCorazon's Avatar

DonCorazon DonCorazon is offline
Colonel
 
Join Date: Oct 2007
Location: in a sleepy daze
Posts: 1,678
Thanks: 116
Thanked 57 Times in 33 Posts
DonCorazon is on a distinguished road
Default Re: Wraithlord\'s dominionsKB

I just chose to open it in Word and it is pretty easy to read. Nice work WraithLord (600+ pages in my file format) Caramba!
__________________
i crossed blades with the mightiest warriors of the golden age. i witnessed with sorrow the schism that led to the passing of legends. now my sword hangs in its scabbard, with nothing but memories to keep it warm.
Reply With Quote
  #3  
Old June 24th, 2008, 11:54 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Wraithlord\'s dominionsKB

Wraithlord, I really think it's far less work and a better end result to redo the whole thing in another format than writing a parser. Some things are easy to replace, for example the URL links, but some things might be needlessly complicated. I'd setup a Wiki for you so that you can use a real Wiki, too. But if you want to write a parser for this, regardless, that's ok.

If you want to use a text-based markup language that's easy to write, easy to read and easy to parse (which e.g. Wikitext is not), then use Perl's Plain Old Documentation: http://perldoc.perl.org/perlpod.html
There are already converters for pod to pretty much anything: pod2html, pod2latex, pod2man, pod2text, pod2usage and a podchecker to check the syntax of your pod files.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #4  
Old June 24th, 2008, 04:24 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Wraithlord\'s dominionsKB

Very well, I think I'll go for the POD option. I'll do a KB2POD translator and then I'll use the existing converters to produce latex (and PDF) and html.

Don't know how much time it'll take to complete but I'll be on it 'till its ready.
Reply With Quote
  #5  
Old June 25th, 2008, 07:00 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Wraithlord\'s dominionsKB

Gandalf has graciously agreed to host the document on his server, so it's now also there.
Reply With Quote
  #6  
Old June 25th, 2008, 01:36 PM
Wrana's Avatar

Wrana Wrana is offline
Major
 
Join Date: Mar 2008
Location: Moscow, Russia
Posts: 1,045
Thanks: 177
Thanked 23 Times in 21 Posts
Wrana is on a distinguished road
Default Re: Wraithlord\'s dominionsKB

Thank you! And for editor too - I'm going to try it out...
Just a question: why didn't you place general tips from Wiki before nation-specific ones?
Reply With Quote
  #7  
Old June 26th, 2008, 06:41 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Wraithlord\'s dominionsKB

Great to hear that, I think if you take the time to learn it you won't regret it.

I've updated the document according to your comment. I'll wait for more possible comments before I upload the updated version.
Reply With Quote
Reply

Bookmarks

Tags
guide


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:06 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.