Local Syndication

Description

Insert the content of any page/file/script output on the Internet into any WordPress post or page, or to a text widget.

Content can be published directly on the page or published in an iframe.

Examples of use:

  • Frequently updated or time-sensitive content.

  • Automated content generated from software.

  • Content provided by other websites or remote services.

The plugin is especially useful when you have more than one WordPress installation, perhaps on several domains. Common content across each installation can be pulled in with the URL of one central file – contact information, special sales, political notices, daily quotes, any content can be provided by a central file or script.

More information about the Local Syndication plugin can be found here: https://www.willmaster.com/software/WPplugins/go/lshome_lsplugin

Instructions

Note: This plugin requires WordPress version 3.0 or higher. (Yes, this plugin has been around that long, and still works a treat.)

After uploading the Local Syndication plugin to the plugins directory and activating it:

A. Insert the following shortcode on a line by itself at the point where you want the content to be inserted.

[syndicate_local url="https://example.com/page.html"]

B. Replace https://example.come/page.html with the URL to the content.

That is the minimum you need to know to use the Local Syndication plugin. With that knowledge, you are good to go.

Yet, there is more. There are advanced features and information about what to do when a page does not publish correctly.

Advanced features include:

  • The ability to insert plain text content with optional CSS formatting, with or without making HTML tags visible.

  • The ability to insert the content into an iframe instead of publishing it directly on the post or page.

  • The ability to convert the content into JavaScript before publishing (to discourage spiders/robots from reading the content).

  • The ability to import JavaScript directly to be published as live code.

Implementation instructions for all features and other good-to-know information are found here: https://www.willmaster.com/software/WPplugins/go/lsinstructions_lsplugin

Installation

Either install the plugin from WordPress.org via your WordPress dashboard and activate it or, optionally, follow these steps to obtain the plugin from the author’s website:

  1. Download local-syndication-plugin.zip from https://www.willmaster.com/download/DownloadHandlerLink.php?file=local-syndication.zip (direct download link)

  2. Decompress the downloaded file.

  3. Upload the local-syndication folder to your WordPress plugins directory (/wp-content/plugins/).

  4. Activate the Local Syndication plugin from the WordPress Dashboard.

FAQ

What if the web page I’m syndicating has relative URLs?

Unless the content is published in an iframe, relative URLs from an external site will not work. Neither will relative URLs published from your own site when the relative directory is different than where your WordPress page is displayed.

If links and external content (like images) need to work, the URLs of the href and src attributes need to be absolute https:// or https:// URLs – unless, as noted, the content is published in an iframe where relative URLs are relative to the URL of the content rather than the URL of the WordPress page.

Why would I want to convert content into JavaScript before publishing it?

One reason for using this optional feature would be to discourage robots and spiders from reading the content. It may be desirable to keep ads out of search engine indexes, for example, and perhaps also off-topic content so SE’s do not come to wrong conclusions regarding a page’s topic.

What would importing live JavaScript do for me?

Some ads are delivered with JavaScript. Some regular content, such as the Spam-free Form, are delivered with JavaScript.

There are developers who have determined that syndicated or remotely delivered content provided as JavaScript is desirable because it makes their content accessible by more websites – as compared to requiring specific types of web pages, like PHP (for example).

As with all content pulled in from remote websites, not only JavaScript code and not only into WordPress, there must be trust that the provider won’t send nefarious content or code to your page. Otherwise, it may be prudent to just not do it.

Contributors & Developers

“Local Syndication” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Local Syndication” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.5a

Tested to WordPress version 5.0

1.5

Added JavaScript code import and publishing.
Added optional visible HTML tags for plain text publishing.
Removed relative-to-absolute URL conversion within imported content.
Tested to WordPress version 4.9.8.

1.4

Tested to WordPress version 3.6.1

1.3

Changed to use wp_remote_get() instead of creating new instance of WP_Http

1.2

Added the ability to publish syndicated content in an iframe.

1.1

First public distribution version.