CWP Grab Content
Grab content from a URL and add it to your WordPress site.
by Robert Andrews · github.com/robertandrews/cwp-post-fetch-grab · website
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/robertandrews/cwp-post-fetch-grab/archive/refs/heads/master.zipFrom the readme
CWP Grab Content Plugin
This is a WordPress plugin that allows you to grab content from a URL and add it to your site.
Plugin Information
- Plugin Name: CWP Grab Content
- Plugin URI: http://www.contexthq.com
- Description: This plugin will grab the content from a URL and add it to your site.
- Version: 1.0.0
- Author: Robert Andrews
- Author URI: http://www.contexthq.com
Setup Instructions
1. Set the maximum execution time and time limit in the plugin using the following code:
2. Override the default HTTP request timeout using the httprequesttimeout filter:
3. Include the required autoload file:
4. Register the Content Grabber page in the WordPress admin menu:
5. Implement the contentgrabberadminmenu and contentgrabberadminpage functions to handle the content grabbing process and display the plugin page.
Usage
1. Access the "Grab New" page in the WordPress admin menu.
2. Enter the URL of the article you want to grab in the provided input field.
3. Click the "Fetch Post/s" button to initiate the content grabbing process.
Note: The plugin uses either the WordPress API or Graby parsing to retrieve the content from the URL, depending on whether the URL