I can not modify the server. In my application the servers are deployed and I can only program the client. I need somethng that is already built into jabberd2.
hw -- Dr. Klaus H. Wolf bluehands GmbH & Co.mmunication KG http://www.bluehands.de/people/hw +49 (0721) 16108 75 -- Jabber enabled virtual presence on the web: http://www.lluna.de/ Open Source Future History: http://www.galactic-developments.com/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Remy HAREL > Sent: Wednesday, July 28, 2004 2:00 PM > To: Jabber software development list > Subject: Re: [jdev] Storing data on the server > > > Then you can just modify router/router.c, by adding a > nad_print function > which would print the nad data to a char*. then, you'll just have to > write this char* to a file or a stream ( I send it to a > filter by socket > connexion ). this is what you want or am I wrong ? > > Heiner Wolf wrote: > > >Thanks for the response, but although I am a developer, I am > not a server developer. I code the client and I communicate > with the server via the protocol. So, in this case I am > interested in protocol stanzas which let me store something > on the server :-) > > > >pubsub? > > > >-- > >Dr. Klaus H. Wolf > >bluehands GmbH & Co.mmunication KG > >http://www.bluehands.de/people/hw > >+49 (0721) 16108 75 > >-- > >Jabber enabled virtual presence on the web: http://www.lluna.de/ > >Open Source Future History: http://www.galactic-developments.com/ > > > > > > > > > > > >>-----Original Message----- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] Behalf > >>Of Remy HAREL > >>Sent: Wednesday, July 28, 2004 12:30 PM > >>To: Jabber software development list > >>Subject: Re: [jdev] Storing data on the server > >> > >> > >> > >> > >>Heiner Wolf wrote: > >> > >> > >> > >>>Hi, > >>> > >>>what is the recommended way to store something (XML) on the server? > >>>I have a suspicion, but I would like to hear from someone else :-) > >>> > >>> > >>> > >>I'm working on jabberd2 server project for the moment... and > >>I have to > >>store data, and I use this function : > >> > >>01030 void nad_print(nad_t nad, int elem, char **xml, int *len) > >>01031 { > >>01032 int ixml = nad->ccur; > >>01033 > >>01034 _nad_ptr_check(__func__, nad); > >>01035 > >>01036 _nad_lp0(nad,elem); > >>01037 *len = nad->ccur - ixml; > >>01038 *xml = nad->cdata + ixml; > >>01039 } > >> > >> > >> > >>>jabberd 1.x provided public XML storage of iq-query > >>> > >>> > >>namespaces like "storage:client:something". What kind of > >> > >> > >>>server storage is recommended for jabberd2? > >>> > >>> > >>> > >>some datas are stored in the DB, but you can store all that > >>you want by > >>using the nar_pirint function. You can read the log files too ! > >> > >> > >> > >>>hw > >>> > >>> > >>> > >>good luck > >> > >> > >> > >>>-- > >>>Dr. Klaus H. Wolf > >>>bluehands GmbH & Co.mmunication KG > >>>http://www.bluehands.de/people/hw > >>>+49 (0721) 16108 75 > >>>-- > >>>Jabber enabled virtual presence on the web: http://www.lluna.de/ > >>>Open Source Future History: http://www.galactic-developments.com/ > >>> > >>>_______________________________________________ > >>>jdev mailing list > >>>[EMAIL PROTECTED] > >>>https://jabberstudio.org/mailman/listinfo/jdev > >>> > >>> > >>> > >>> > >>-- > >>Remy Harel - [EMAIL PROTECTED] > >>G.I.C.M - Distributed Systems & IT > >>Linux Registered User #224740 > >> > >> > >> > >>_______________________________________________ > >>jdev mailing list > >>[EMAIL PROTECTED] > >>https://jabberstudio.org/mailman/listinfo/jdev > >> > >> > >> > >_______________________________________________ > >jdev mailing list > >[EMAIL PROTECTED] > >https://jabberstudio.org/mailman/listinfo/jdev > > > > > > -- > Remy Harel - [EMAIL PROTECTED] > G.I.C.M - Distributed Systems & IT > Linux Registered User #224740 > > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > https://jabberstudio.org/mailman/listinfo/jdev > _______________________________________________ jdev mailing list [EMAIL PROTECTED] https://jabberstudio.org/mailman/listinfo/jdev
