[Peerpress-main] XML schemas.

nloth at senet.com.au nloth at senet.com.au
Mon Jan 8 23:54:42 CET 2001


> 
> > >   <site id="kuro5hin.org" system="scoop" version="pp0.1">
> 
> > Where do we get the id from? Is it the domain name? What about systems 
hosted 
> > in a directory off a domain, or multiple systems on the same domain? Maybe 
the 
> > id should be the baseuri, in which case it might be redundant?
> 
> Well, since Peer Press will be operating with the concept of a "member site"
> (important for licensing stuff), then this should be a string assigned when
> the site becomes a member. Using the domain name sounds like a good idea to
> me, although perhaps not always. The main idea is for it to be unique.
> 

Fair enough.

> 
> >>     <languages>
> >>     EN_us
> >>     </languages>
> >> 
> 
> > Is this comma separated? Why not a list of languages:
> > <languages>
> >   <language>EN_us</language>
> >   <language>Klingon</language>
> > </languages>
> 
> White space separated, was my basic idea. I was just trying to keep the
> verbosity down a little, since the sitelist can get long.
> 

Okay.


> >>     <techcontact>tech at kuro5hin.org</frontpageuri>
> >>     <editorialcontact>rusty at kuro5hin.org</frontpageuri>
> >>     <licensingcontact>licensing at kuro5hin.org</licensingcontact>
> 
> > How about:
> > <contacts>
> >   <contact type="tech">tech at kuro5hin.org</contact>
> >   <contact type="editorial">rusty at kuro5hin.org</contact>
> >   <contact type="licencing">licensing at kuro5hin.org</contact>
> > </contacts>
>  
> > Isn't that potentially less trouble to extend? Also, does this contact have 
to 
> > be an email address?
> 
> It could be. It's more work to get a validating XML parser to check that all
> required ones are included, though, for instance. As for being an email
> address, what else do you envision that it could be?
> 

They could want to use their phone numbers, and ICQ address, etc. Why limit 
them?

I understand your point about they parsing problem,
though.

-------------------------------------------
This message was sent using SE Net Webmail.
http://webmail.senet.com.au/






More information about the Peerpress-main mailing list