I've been using and looking to use even more the node query XML generator, which is wonderful (thank you, vroom). use seems to be like this:,87392,8522 +2
and you get back some XML, like this:
<NEWESTNODES><INFO site="" sitename="Perl Monks">R +endered by the Node query XML Generator</INFO> <NODE nodetype="user" author_user="81921" node_id="81921" createtime=" +20010521060818">Vynce</NODE> <NODE nodetype="monkdiscuss" author_user="81921" node_id="87392" creat +etime="20010611020434">the state of perlmonks' perldocs</NODE> <NODE nodetype="note" author_user="81921" node_id="85222" createtime=" +20010602212719" parent_node="85220">Re: Re: Will/Can Perl 6 clean up +the bit-wise operator precedence mess?</NODE> </NEWESTNODES>
I note that currently, the following seem to be all the attributes available for any particular node:
presumably something about the type of node -- they're shortened forms of the categories we know (e.g., "monkdiscuss" for "Perl Monks Discussion"), and generally pretty easy to decipher though, as far as i know, there is not, anywhere, a key to them. perhaps this would be wise, but it's not strictly necessary. Note that nodetype "user" indicates a monk's homenode (or the monk herself) and anything which is a reply to something else is a "note".
the author's homenode's node_id, which serves as a unique identifier for the monk himself.
unsurprisingly, the node ID number of the node.
the time at which the node was created. this is a long string of numbers, but it is not epoch time -- it is 'YYYYMMDDhhmmss' format. this is relatively easy for humans to read. it seems to be in UTC or perlmonks server time.
if the node is a reply to another node, this attribute will exist and be the node_id of that other node.
(the content of the node element is the node's title. note that the body of the node is not passed anywhere.)

This is all wonderful and really great and shiny, but i notice that there are things available from perlmonks that are not in this little bit of XML; for instance, the content of the node, but that's perhaps excusable. The two new things that i would like to have passed in the XML are:

whether this is just the number of replies, or actually a list of the replies, this would be vaguely useful.
this is the one i really want. if you go to a node in perlmonks which is a reply to another node, you'll see (probably in the upper right corner, though i suppose you could use bizarre style sheets) a pair of links: "In reply to: ..." and "In thread: ...". what i humbly request of he who makes things go is that "in thread" node_id.
of course, i'm open to other suggestions for the names. thoughts, brethren?