Subj : Re: code example
To   : Finnigann
From : Digital Man
Date : Fri Aug 18 2006 06:41 pm

 Re: Re: code example
 By: Finnigann to Digital Man on Fri Aug 18 2006 10:13 pm

> -=> With regards to the social ramifications;
>      Digital Man wrote to Finnigann <=-
>
>  DM>   Re: Re: code example
>  DM>   By: Finnigann to Digital Man on Fri Aug 18 2006 07:42 pm
>
>  > -=> With regards to the social ramifications;
>  >      Digital Man wrote to Finnigann <=-
>  >
>  >  DM>   Re: code example
>  >  DM>   By: Finnigann to All on Fri Aug 18 2006 05:12 pm
>  >
>  >  >  Can anyone post some baja code for extracting messages from the messa
>  >  >  data base. sort of the opposite of smbutl (i cmd)
>  >
>  >  DM> smbutil can be used to extra messages from the message base. Baja
>  >  DM> doesn't have any functions for directly accessing the message data b
>  >  DM> files.
>  >
>  >  Well that was my first impulse. But after studying the help/opt list. I
>  >  am stumped as to which switches would define the message(s) to extract.
>
>  DM> I suppose I mispoke: you can *read* messages (interactively) with
>  DM> smbutil (using the 'r' command), but can't really "extract" message
>  DM> (programatically). This could be done with small JS module however.
>
>  DM> If I knew more about exactly what you're trying to accomplish, I might
>  DM> be able to help more.
>
>  If you recall Jazzman's sports... game? I was wondering how syncdata
>  might be useful for tying other BBS' together.
>
>  SMBUTIL can be made to upload game data. getting it out is another
>  item.
>
>  But if a javascript segment can be called to cull out messages for the
>  door (making large assumptions) or added functionality to smbutil,
>  would be great.

Even if smbutil could extract a specific message, how would you know *which*
message to extract?

>  Of course you know I'm not a programmer, but is this function in the
>  SDK? I would think someone else would have sought out syncdata to
>  transport data before now.

A JS module would be the way to go. I'm not sure which SDK you're referring to.
The XSDK does not include any message base functionality. The SMBLIB is
available as a separate library for message base access, but a JS module would
be much easier.

                                                 digital man

Snapple "Real Fact" #22:
Alaska has the highest percentage of people who walk to work.
Norco, CA WX: 83.8�F, 36% humidity, 4 mph NE wind, 0.06 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net