more useful options | |
PerlMonks |
Re: Lightweight interface to cast votes?by LanX (Saint) |
on Nov 04, 2017 at 23:16 UTC ( [id://1202769]=note: print w/replies, xml ) | Need Help?? |
FWIW, here a found a partial solution ... Adding a parameter displaytype with the value xml to the vote request/form will result in returning an xml instead of HTML. For instance
Load wise it's still not optimal, because the raw content of the root post is still returned in field doctext but it's OK for an XML-HTTP-request. One can also vote on posts of the subtree, but the resulting reputation is not included, and needs to be gathered separately.
Cheers Rolf
In Section
Perl Monks Discussion
|
|