[Jexus-devel] Re: [freeroleplay] Generic Document Support
Brought to you by:
axonrg
|
From: Ricardo G. <ax...@uk...> - 2004-05-25 10:30:33
|
Samuel Penn wrote: > Currently, the Yagsbook Encyclopedia only supports Yagsbook XML > format, which in turns only supports Yags ruleset. It would be > nice if things were made more generic, to enable the support of > other document formats and other systems. I think allowing Yagsbook to support other rules systems would definitely widen its appeal, although how this would be achieved I have no idea. Perhaps, some method of generically assigning and describing traits? > Just to make things clear, it would work by the Encyclopedia class > have an add(ISource src) method to add an (already instantiated) > data source. The ISource interface defines a > (IEntry[])getAllEntries() method to getting all the entries out. > Each IEntry represents an individual XML document, giving access > to it via getter methods. > > I think this latter is the best way forward. I agree, some sort of generic mechanism for accessing the content would probably be best. > Would the CML format provide this sort of meta data? I need to flesh > out details about what I mean by TopicSet for instance (a concept I've > taken from NewsML) since currently it's all pretty much just in my head. Meta-data would probably be provided through RDF. -- Ricardo Gladwell President, Free Roleplaying Community http://www.freeroleplay.org/ pre...@fr... |