Universal Content Puller

Universal Content Puller can pull content from a range of Content Sources, transform that pulled content using a range of Content Transforms, then display the transformed content using a range of Content Displays.

Once installed, you will have:

  • A Universal Content Puller block in the Basic block group.
  • Dasboard pages at Dashboard > Stacks & Blocks > Universal Content Puller

Some of the things you can do with Universal Content Puller:

  1. Use Parent Area to implement a set of common sidebars for each region of your site, in the same way as UCP has been used to provide a common sidebar for these documentation pages. 
  2. Use Child Area to prepended a blog list with some actual content from the most recent blog post.
  3. Show third party CSV files as formatted tables.
  4. Show CSV files in the concrete5 file manager as formatted tables.
  5. Pull in snippets of content and tables from other sites.
  6. Pull files of data from anywhere on the web or from the concrete5 file Manager.
  7. Show JSON data as formatted lists or tables.
  8. Embed JSON data in a page for use with your own JavaScript.
  9. Extract data from XML or RSS feeds and show it in lists or tables.
  10. Do any of the above with AJAX.

Have a look through the available Content Sources, Content Transforms and Content Displays. These can be mix and matched for boundless possibilities.

Workflow

1. Select a Content Source to pull

  • Stacks and Global Areas
  • Areas of pages in the site (by page, parent or child)
  • Files from the file manager
  • Files from anywhere by path or URL

2. Transform it with a Content Transform

  • Markdown to HTML
  • Add line breaks
  • Table from CSV, HTML, XML, JSON or Text lines
  • Extract from CSS or XML by selectors into text or multi-dimensional array

3. Display it with a Content DIsplay

  • Multi Level List
  • Table
  • Paragraphs
  • Serialized Data
  • HTML
  • Text
  • Embedded JSON data

4. When displaying array data

  • Add Headings
  • Filter
  • Shuffle
  • Paginate

5. Advanced 

  • Direct or AJAX and AJAX marker
  • Direct or Cache
  • Autolink and Auto-Image
  • Block wrapper element and class
  • Edit mode and recursion markers
UCP Workflow Diagram

Extension

Universal Content Puller is designed for extension. Content sources, transforms and displays follow a pluggable and extensible architecture for easy integration of further sources, transforms and displays from within UCP or provided by third party packages or your own application specific plugins.

Additional Pages

About this Sidebar

Creating a sidebar for a group of pages without messing about with stacks is an easy use-case for Universal Content Puller.

This sidebar is edited once, within the main addon page for Universal Content Puller.

It is then pulled into all UCP sub-pages using a UCP block.

The Content Source is Parent Page, set to pull the Sidebar area from 2 pages from the top. The Content Transform is Selector, set to remove container and row classes that, when unnecessarily nested, could mess up the Bootstrap grid. The Content Display is Plain, which just outputs the transformed text.

In the advanced settings, sanitization is disabled as we trust the source page and don't want to strip out any formatting or functionality from the pulled sidebar.