svmode=xml will eventually do what you ask. But currently it doesnt. :-(

For the record the issue here is a change that I made to castaways work. Originally simply by linking to a scratchpad for a user would cause the scratchpad node to be created. This meant that anytime a user visited a homepage of a user who had never used their scratch pad the users pad would be created. This is suboptimal in that it means that numerous scratchpad were/could be created that never would be used.

The new mechanism only creates a scratchpad object if somebody actually views/follows the link. If a scratchpad hasnt been created then the link will be to the Scratch Pad Viewer for that user. If someone follows that link then by the act of viewing it the object will be created. Following the pads creation links to the scratchpad will go directly to the relevent object and bypass the SPV.

So the SPV should always act as a proxy to the real scratchpads. The fact it doesnt WRT xml is due to the speed with which the original patches were rolled out and the lack of speed in pmdev (in this case me more or less) clearing the nits.


---
demerphq

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



In reply to Re^4: New scratchpads by demerphq
in thread New scratchpads by castaway

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.