Hi folks. As my hack of the day I added an XML view to Selected Best Nodes, Best Nodes and Worst Nodes.

In order to see this view you need to view these nodes with the following param:

displaytype=xml
(or just use the xml link at the top of the page. :-) Optionally you can specify
xmlstyle=clean
to not have newlines added to the content of data bearing elements. This behaviour is in keeping with the other tickers and as such even though these are new that style is preserved. However like many of the recently modified tickers (not all yet) the "clean" mode resolves this issue.

I know there are some stats junkies out there. Please ensure that you do not fetch this data too often. No more than hourly is acceptable. If people dont respect that it will be taken away. (Sorry to be harsh, but I have to say that.)

Anyway, I hope this makes things a bit easier to supply this to external clients or what have you. Enjoy. :-)

Please consider the XML being output by this new feature to be BETA quality only. Its possible it will change pursuant to comments received. This doesnt mean you shouldnt exploit it, just that you shouldn't bitch if the XML format gets tweaked a bit over the next few days.

Also the observant will have notice that the XML view of user nodes now contains certain user settings. If you feel there is a good cause for more settings to be added please let the gods know which ones and why. (Preferably through a reply to this node, but a /msg will also do.)


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


• Update:  
No longer is the passthrough setting required so I removed it, also added a note emphasizing that this initial release is beta quality in terms of the exact XML format being returned.



In reply to Y.A.N.F: XML View of Selected, Best and Worst Nodes by demerphq

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.