Copied to clipboard

Flag this post as spam?

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


  • Tim 67 posts 90 karma points
    Jun 17, 2011 @ 19:29
    Tim
    0

    Possible to hide nodes?

    Hi great package firstly

    I have a content tree which has folders that are dates but of course they show up on the sitemap.xml similar to this

    <loc>http://localhost:60446/news/2010.aspx</loc>

    is there anyway to hide these? as my news sections are organised like so

    <loc>http://localhost:60446/news/2010/a-august-2010-article.aspx</loc> and i dont want 2010.aspx to show up

    Thanks

    Tim

  • Daniel Bardi 927 posts 2562 karma points
    Jun 18, 2011 @ 09:21
    Daniel Bardi
    0

    add a property with an alias of umbracoNaviHide and the sitemap package should ignore them.

    You could also edit the xslt that creates the sitemap and ignore the DateFolder doctype but still process it's children

  • Ben McKean 272 posts 549 karma points
    Jul 04, 2011 @ 12:22
    Ben McKean
    0

    I've just installed this package but I can't see the xslt that Daniel mentions?

    "You could also edit the xslt that creates the sitemap and ignore the DateFolder doctype but still process it's children"

    I need to make some amends to what is produced in the XML file. Is there any way to do this?

    Thanks in advance

    Ben

Please Sign in or register to post replies

Write your reply to:

Draft