Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bogdan 250 posts 427 karma points
    Nov 25, 2010 @ 21:37
    Bogdan
    0

    protected pages

    Hi,

    is there a way to prevent nodes without public access to appear in the xml output? With something like (umbraco.library:IsProtected(@id, @path) = false() or umbraco.library:IsLoggedOn()) maybe.

     

    Thanks!

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Dec 11, 2010 @ 23:17
    Chriztian Steinmeier
    0

    Hi bfi,

    Sorry I haven't seen this post. Yes, It should be very easy to add that, though I'd say that the XML Dump should only be available to the developer and not on a public site. Ideally, you'd remove the functionality (by removing the template or at least the macro in it) when your site is ready for public launch.

    I'm working on some kind of built-in switch, so it will be easier to toggle XML Dump on/off for debugging purposes, just by flicking a checkbox in the backend.

    /Chriztian

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Mar 15, 2011 @ 01:10
    Chriztian Steinmeier
    1

    Hi bfi,

    I just released XMLDump version 0.8, which requires you to add a property somewhere above the node you're trying to output, so it's a matter of unchecking a box to disable XMLDump entirely.

    /Chriztian

Please Sign in or register to post replies

Write your reply to:

Draft