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. Generate page lists and user lists with full control of what information is displayed.
  7. Pull files of data from anywhere on the web or from the concrete5 file Manager.
  8. Show JSON data as formatted lists or tables.
  9. Embed JSON data in a page for use with your own JavaScript.
  10. Extract data from XML or RSS feeds and show it in lists or tables.
  11. Pull using SQL from any database - requires Universal Content Puller XX Sources (Free)
  12. Do any of the above with AJAX.
  13. Pull anything into a dropdown, lightbox or slideout using Button Nav templates for UCP

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

Easy Setup

  1. On this site find an example similar to what you require, click the View settings button, copy the settings JSON.
  2. On your page, add a block. On the Support tab click the button to Import settings, paste the settings JSON and import,
  3. Edit the settings to what you require. Most importantly, in the Content Source tab, adjust any concrete5 Page, File or User Selection as IDs will change between sites.

Detailed Setup 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
  • From a page list or user list
  • Files from anywhere by path or URL
  • Query any database with SQL - requires Universal Content Puller XX Sources (Free)

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.

Universal Content Puller

jl_universal_content_puller - v8.0.5 - resources v2.8.15*

Pull content from many sources and display it in many ways.

Block Types Single Pages
  • Universal Content Puller /dashboard/​blocks/​universal_content_puller Pull content from many sources and display it in many ways.
  • Plugins /dashboard/​blocks/​universal_content_puller/​plugins Plugins for the Universal Content Puller block
  • Global Settings /dashboard/​blocks/​universal_content_puller/​global_settings Edit global settings and defaults for the Universal Content Puller block.

Universal Content Puller XX Sources

jl_universal_content_puller_xx_sources - v8.0.2

Sources extension for Universal Content Puller. The sources in this extension are XX because they are the kind of source you may not want to let just anyone loose with, hence a separate package so they don't have to be installed with less sensitive sources.

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.