Copied to clipboard

Flag this post as spam?

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


  • Mike Thomas 3 posts 23 karma points
    Nov 23, 2010 @ 18:52
    Mike Thomas
    0

    Can Umbraco be used to publish to XML files instead of the Umbraco front end?

    My company has an existing site (large, quasi-ecommerce) and want to start CMSifying it.  A paradigm we've seen in the past (particularly in the Java world) is to have a CMS stand totally separate from the primary site and publish to XML files that the site then pulls from.

    Can Umbraco be used in this fashion?

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Nov 23, 2010 @ 19:12
    Morten Bock
    1

    You could indeed do that. There are several ways of going about it, but for a start, all the content is already cached as xml, so outputting it to a page is very simple.

    Just create a simple template that contains a (xslt) macro that outputs whatever xml you desire.

  • Mike Thomas 3 posts 23 karma points
    Nov 23, 2010 @ 19:31
    Mike Thomas
    0

    Is Umbraco able to interact with a file system? That is, I understand it can generate the XML, but could it output that XML to a filesystem?

    Thank you so much for the quick response!

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Nov 23, 2010 @ 20:22
    Morten Bock
    0

    I have seen a few people doing stuff like that. Though they usually want to publish the website as .html or .aspx files. Snapshot from the guys at The Farm is a sample of this:

    http://www.farmcode.org/page/Snapshot.aspx

    That will actually produce a full working file based .aspx site for you, but my guess is that it would be possible to modify it to make xml files instead. Go read about it and see if that is sort of what you had in mind?

  • Mike Thomas 3 posts 23 karma points
    Nov 23, 2010 @ 20:45
    Mike Thomas
    0

    Thanks -- that really helps!

Please Sign in or register to post replies

Write your reply to:

Draft