Seems to me that pemungkah was querying as to whether or not there was some logic in place in the perlmonks.org code that cared about certain aspects of an incoming request to the XP ticker. I doubt there's anything in place that cares about a user agent, as my understanding of the tickers as that they're designed for just such automated and non-human access.

As I suspect the meat of the code that pemungkah is actually javascript (correct me if I'm wrong), posting it here will likely fan further flames and downvoting.

pemungkah, the only advice I can give is to browse around some of the other monks' PM tools (like jimt's PM XP Junkie, and I'm sure there are others around that I can't quickly find ATM) that might give you easily browsable examples (some, like jimt's, even in other languages besides perl) of accessing the various tickers automatically.



--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)

In reply to Re: PM XP OS X Widget by chargrill
in thread PM XP OS X Widget by pemungkah

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.