Copied to clipboard

Flag this post as spam?

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


  • Dan 3 posts 23 karma points
    Jan 22, 2010 @ 15:09
    Dan
    0

    Deploying a 'read-only' site separate from Umbraco admin backend

    Hi Everyone,

    I'm not sure if this is the right place to post this.

    I am new to Umbraco, but I'm keen to use it in our company.  I have been trawling around these forums and the internet for some time to find an answer to this, but so far no luck.  I apologise if I have missed the solution!

    We have an existing .net site that I would like to modify to present Umbraco-stored content.  First of all, what is the best way to integrate Umbraco content retrieval into an existing site?  I don't really want to 'import' the site into Umbraco because the Umbraco admin backend (content management) needs to be hosted on a separate machine.

    From what I have read, I think this would be possible if some content retrieval libraries were included in our site that will enable the use of <umbraco:> content tags in our master page templates.  The problem is, I don't know how to do this.  I stumbled across a post of a user that tried this some time ago with Umbraco 3.something, who talked about including cms.dll, businesslogic.dll, etc into the existing app to enable Umbraco content retrieval.  Is there a definitive guide on how to do this for Umbraco 4?

    I realise this may effect caching, but I read somewhere that simply copying some xml file(?) to the existing site will solve this.

    Any help would be greatly appreciated!

    Thanks,

    Dan

     

  • Dan 3 posts 23 karma points
    Jan 22, 2010 @ 15:24
    Dan
    0

    This is a post on the old forum, which is something like what I am after.

    http://forum.umbraco.org/yaf_postst9827_Loading-Umbracomanaged-content-in-an-external-NET-site.aspx

    Thanks,

    Dan

  • Seth Niemuth 275 posts 397 karma points
    Jan 22, 2010 @ 15:46
    Seth Niemuth
    0

    To include the dll's in your own app, you just need to add those references in your visual studio (if you don't know how to do this, then you can just do a google search on adding references in your particular version of VS), then you can begin to use the classes and methods from those dlls.

    To find what methods you want, you could take a look at the API docs:

    http://umbraco.org/apiDocs/index.html

    I would take look at umbraco.cms.businessLogic. That has the Content class.

    If you figure out how to do it with the use of <umbraco:> content tags in our master page templates, that would be interesting.

    Another option is that the whole published umbraco site will be in /data/umbraco.config as an xml file, so you could just parse that in order to find what you want.

  • Dan 3 posts 23 karma points
    Jan 22, 2010 @ 19:02
    Dan
    0

    Hi,

    Thanks for the reply, I'll give it a go and report back.

    One thing - do you know which of the httpHandles deals with parsing the <umbraco:> tag?  Or how else is it done?

    Thanks,

    Dan

     

  • Seth Niemuth 275 posts 397 karma points
    Jan 26, 2010 @ 13:04
    Seth Niemuth
    0

    I am not sure about the httpHandle but here is another forum thread about this exact topic: http://our.umbraco.org/forum/developers/extending-umbraco/6674-Pulling-data-from-Umbraco-database---how-easy?p=1.

    It seems they take the XML approach. 

Please Sign in or register to post replies

Write your reply to:

Draft