set to true when item hasn't been published

Favorite-off Notification-off

3 comments

  • 0 points Thumb-up Thumb-down Favorite-off by roryreiff 8 months ago Permalink

    What populates the <is-published> tag? I created a dummy page that I did not publish, and on my site-map index block that same asset has it’s <is-published> tag set to yes. Am I missing something? How do we prevent our sitemap from indexing items not yet published?

  • 0 points Thumb-up Thumb-down Favorite-off by bradley.wagner 8 months ago Permalink
    Indexing and publishing are two properties on assets that are toggled independently of each other. The "is-published" value in the index block indicates whether the asset is capable of being published. The "last-published-on" and "last-published-by" elements indicate if/when/by who the asset was published. 

    You will have to do XSLT filtering to remove assets from an index that have not been published yet.

Rating-star-off Rating-star-off Rating-star-off Rating-star-off Rating-star-off (0 ratings)

No attachments


* Note - To input code samples, click the pencil icon (this will remove the WYSIWYG) then be sure to start and end code sections with @@@ (three '@' signs).  For more information on textile markup, click here.  

Sign in

Follow us on Twitter