Fetch & Display HTML with a Simple Shortcode

Effortlessly integrate external content into your WordPress site with Curlest. Our free plugin lets you fetch and display HTML from any URL using a simple shortcode. Enhance your site with dynamic, real-time content seamlessly and efficiently. Download Curlest today and transform your content management.

 
 
Website products mainaproducts mainshortcode editor

Key Plugin Features

Discover how Curlest can transform your WordPress site. With powerful content injection, flexible caching, custom timeout settings, and precise CSS selector support, Curlest offers a secure, open-source solution for seamless integration of dynamic external content.

Content Injection

Fetch and display HTML content from any URL directly within your WordPress posts and pages using a simple shortcode.

Flexible Caching Options

Optimise performance and content freshness with various caching intervals, from no caching to specific time-based caching (seconds, minutes, hours, days).

Custom Timeout Settings

Define how long to wait for a response when fetching URLs, ensuring your site remains responsive even if external sources are slow.

CSS Selector Support

Use any valid CSS selector to pinpoint and display specific parts of the fetched HTML document, giving you precise control over the content displayed.

No Third-Party Services

Operates independently without relying on any third-party services, ensuring complete privacy and security for your site.

Transparent and Open Source

The plugin’s source code is open for verification, allowing you to review and understand its functionality and ensure it meets your security standards.

Setup & Usage

Install and activate the plugin.

Installation

  1. Download and Install: Download the Curlest plugin from the WordPress Plugin Repository or upload the plugin files to your /wp-content/plugins/ directory.
  2. Activate the Plugin: In your WordPress dashboard, navigate to the Plugins menu and activate the Curlest plugin.

Confirming Setup
After inserting the shortcode with your desired parameters, visit the post or page to confirm the content is displayed correctly. Adjust the parameters as needed to achieve the desired output.

Undoing Changes
To remove the effects of the plugin, simply delete the shortcode from your post or page. Deactivating the plugin will also stop it from fetching and displaying external content.

Usage of the plugin.

Using the Curlest Shortcode

1. Basic Shortcode Usage:
Insert the following shortcode into a WordPress post or page to fetch and display content from a URL:

[curlest url="https://example.com/index.html"]

2. Caching Options:

Control how the fetched content is cached with the cache parameter:

    • nocache: Always fetch new content on each request.
    • N s: Cache for N seconds.
    • N m: Cache for N minutes.
    • N h: Cache for N hours.
    • N d: Cache for N days.
[curlest url="https://example.com/index.html" cache="10 m"]

3. Fresh Caching Options

Ensure fresh content with the fresh option:

    • N s fresh: Never use stale data, fetch new content after N seconds.
    • N m fresh: Never use stale data, fetch new content after N minutes.
    • N h fresh: Never use stale data, fetch new content after N hours.
    • N d fresh: Never use stale data, fetch new content after N days.
[curlest url="https://example.com/index.html" cache="10 m fresh"]

4. Timeout Setting:
Define how long to wait for a response with the timeout parameter:

[curlest url="https://example.com/index.html" timeout="30"]

5. CSS Selector:
Specify a CSS selector to display specific content from the fetched HTML:

[curlest url="https://example.com/index.html" selector="div.a div.b.c .d-e"]

As Used on these sites.

CNC Shop Buythis.co.za LogoCNC Blog CornerstoneCNC Blog BatesAftermarket CNC Machine partsAmbitious Academy - Master CNC Machineam.co.za We sell CNC machinesMachine Africa We fix CNC Machines 060 600 7000

FAQs

Have a look at our plugin’s frequently asked question section – we don’t offer direct one-on-one support but feel free to leave a comment on the support page – we will help where we can.