Re: About result messages
Markus Hoenicka <[email protected]> Thu, 23 Jul 2009 08:58:01 +0200
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
Quoting Torsten Bronger <[email protected]>: > Hallöchen! > > Is the syntax of result messages documented somewhere? For example, > after having added a link I get > > 421:1:reference:Bld2006 > 406:1:django-refdb-users-with-offprint-Bld2006 > 413:1 > > and since this part of my code relies exclusively on reverse > engineering, I try to sort it out once and for all. > > Actually, I'm only interested in collecting citation keys of > updated/added references/notes. If I remember correctly, this is > not always the 406 entry. > I'm afraid the syntax is not yet documented. However, the result/error codes are documented: http://refdb.sourceforge.net/manual/ch23s03.html#sect-statusmessages All messages start with the result code, and the fields are separated by colons. I'll have to collect the messages of all available commands and document what else they return. Your reverse engineering approach is likely to work though, as I don't see any reason to change these messages, except by appending additional information. regards, Markus -- Markus Hoenicka [email protected] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------------------------------