+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Comsume page content on another site

Comsume page content on another site

4 posts, 0 answered
  1. Ryan
    Ryan avatar
    3 posts
    Registered:
    23 Sep 2011
    08 Nov 2012
    Link to this post
    Working with SF 4.3

    I have a page, we will call it http://website.com/contact, and I want to display the content (one specific content block) of that page on another website (or make it possible for others to access my content).

    Is there a way to access SF content block contents from other sites with an external 'widget' or API that could be comsumed?
  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    21 Nov 2016
    13 Nov 2012
    Link to this post
    Hello,

    You can use iframe tag and place it inside a content block in your HTML code of your web site. Then add the URL of the Sitefinty page you want to display inside this iframe tag. Please review the following article where you can find additional information. Furthermore, there are some attributes described in the publication that might be useful. The iframe will display this Sitefinity page inside the newly created.

    Greetings,
    Stefani Tacheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Ryan
    Ryan avatar
    3 posts
    Registered:
    23 Sep 2011
    13 Nov 2012
    Link to this post
    Your iframe solution will work for a whole page, but I just want one Content Block from the page to display on another site.

    This would allow me to share content from my SiteFinity site to other websites.
  4. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    13 Nov 2012 in reply to Ryan
    Link to this post
    Ryan,

    You could write a custom service to pull back shared content blocks. Then you'd be able to access them by name, publish/unpublish...ya know, the good stuff.
4 posts, 0 answered