Skip to content

benjamingreenberg/newspack-efe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newspack EFE Integrator

WordPress plugin for the EFE news wire service.

The plugin retrieves articles from EFE's API in NewsML format, and then saves them to an XML file that can be imported using a generic/3rd-party WordPress RSS feed importer Plugin.This is being developed specifically for Automattic's Newspack, though it may work in non-Newspack WordPress sites.

A paid subscription from EFE is required for the Plugin to work.

This plugin is in the early stages of development, and should not be used in production.

Disclaimer

This plugin was not created by EFE, and is not affiliated, associated, endorsed by, or in any way officially connected with Agencia EFE, or any of its subsidiaries or affiliates.

Setup

After installing and enabling, go to Settings - EFE Importer to configure the plugin. Once you have finished setting it up, click Save Changes.

RSS file to save articles to: This is the name of the XML file that the plugin will save articles to.

Example: efe_articles.xml

The file will be saved to the site's wp-content/uploads directory. It should end in ".xml", not contain any spaces, or special characters other than hyphens ( - ), underscores ( _ ), or periods ( . ).

API Client ID / API Client Secret / Product ID: You will need to contact your EFE representative to get these values.

Fetch from API: This checkbox enables fetching from the API, and needs to be checked before you can test, manually fetch, or enable auto-fetch.

Usage

Manual fetching

You can click on the Fetch button to manually fetch articles. The plugin will download images, and save or overwrite the file you entered in RSS file to save articles to.

Automatic fetching

You can place a checkmark next to Auto-fetch every hour to have the plugin automatically fetch articles from EFE once every hour.

Testing

You can click the Test button to see if everything is set up correctly. The plugin will not download images, save or make changes to any files on your site.

About the NewsML Standard

NewsML is designed to provide a media-type-independent, structural framework for multi-media news. Beyond exchanging single items it can also convey packages of multiple items in a structured layout.

The /samples directory has a file with articles returned by the EFE API in the NewsML format (and files with articles returned in RSS and JSON formats).

Useful links:

About

Plugin for WordPress Newspack to import articles from the EFE news wire service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages