Sharing Content Between Pages



A site should keep duplicated content to a minimum, if even duplicating content at all. As content is copied and pasted into other pages of a site, the job of updating that content becomes much more difficult and time consuming, not to mention less reliable.

Campusuite provides the ability for a page to share its content, as well as allowing other pages to import such content. Instead of linking to another page, this content is actually pulled into the page and looks as if it was originally there and not on some other page. Importing content this way is done by creating an XML feed of the original content.

This content can also be read and used in other websites or even desktop applications. Usually, this method involves creating an RSS feed of the original content. (The XML and RSS feeds can be both be used at the same time.)

As pages with such feeds are edited, upon being saved and made live, these feeds are updated, so they always contain the most current data.

It may also be useful to create an entire sub department for holding shared content (such a department may have already been setup for you). Here, you can place little snippets of content that will most likely be shared with other pages. Since you may not want to always share an entire page of content, you can store the shared pieces here, and then import them into all of the pages that need it.

For example, consider a table of tuition costs. It may be the case that the main page that stores the tuition costs may also contain other content that you would not necessarily want shared with the table. So, just the table itself can be stored on its own page in some kind of shared content section, and it can then be pulled into the main tuition page on the bursar's site, as well as anywhere else on the site that needs it.

Depending on the amount of shared content you will end up having, you may want to create a whole main department with multiple sub departments to accomplish this task; how this will all be set up is up to Administrators and the needs of the organization.


Sharing a Page's Content

Before being able to grab a page's shared content, the sharing feeds will need to be set up.

Since Writers can only create drafts, a Publisher or Administrator will need to setup the sharing, or a Writer will need to submit a draft with the sharing enabled.

  1. Navigate to the page you wish to share.
  2. Click the Edit Page button in the dashbar. The Page Editor will load.
  3. Near the top of the Page Editor is a Properties button; click this. The area containing the button will expand, and show additional fields.
  4. One of these is the Syndication Options field. Two items are associated with this: the XML option and the RSS option.
  5. Choose which sharing you want to enable. You can choose both if needed. XML is generally used to share content within Campusuite. RSS most likely will be needed for external applications or websites.
  6. After making your selection, click the Save Page button at the bottom of the page. The feeds will automatically be created, and will be updated whenever the page is saved.


Using a Page's Shared Content

After a page's content has been configured to be shared, this content can then be used on other pages in Campusuite. It is possible to use this content elsewhere on the web, however, that is outside the scope of this documentation.

A page will need the XML sharing feed setup in order to use its data in another page.

  1. Navigate to the page you want to use shared content in.
  2. Click the Edit Page button in the dashbar. The Page Editor will load.
  3. Click in the editor workspace where you want the content to be placed. Remember that importing content from another page in this manner will use the entire page's content.
  4. Near the top of the Page Editor is the Widget button (formerly Components); click this. The Widgets window (formerly Components) will open.
  5. Browse to the Syndication category and click to expand it. Choose the Get XML Feed component.
  6. You will be prompted with a wizard for the component. Use the dropdown to select under which department the shared content is located. When this is chosen, the wizard will populate a list of pages that have feeds sey up. Click the page that you wish to use.
  7. The component markup will be inserted into the page.
  8. Click the Save Page button at the bottom of the Page Editor to save this change. When the page refreshes in the non-editor view, you should see that the component markup is replaced with the actual content from the shared page.