Contributors: @WezoAlves
Tested up to: 6.5
Requires at least: 6.2
Stable tag: 1
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html#license-text
Tags: feed, rss, google news, sitemap, wordpress
Feed is a comprehensive solution for integrating WordPress content with multiple platforms, including Google News, ICARO (Tim News), Sitemap Index, and Portal R7 (in development). This plugin creates REST API endpoints to list the latest articles from your site, formatted according to each platform's specifications, ensuring smooth and efficient integration.
- Creates REST API endpoints in WordPress to provide articles in formats expected by Google News, ICARO (Tim News).
- Example endpoints include:
/apifeed/googlenews/v1/feed/articles?output=xml
for Google News/apifeed/icaro/v1/feed/articles?output=xml
for ICARO (Tim News)/apifeed/sitemap/index?output=xml&type[]=TYPE_A&type[]=video&type[]=post
for Sitemap Index/apifeed/sitemap/posts?output=xml&limit=1000&page=1
for Sitemap
- Allows URL parameter configuration to define the number of articles to be listed, making it easy to customize the response according to user needs.
The GoogleNews supports the following parameters for configuring the feed:
Parameter | Type | Description |
---|---|---|
output |
string |
Suported: xml. |
limit |
int |
Specifies the number of articles to be listed. Default is 30. |
type |
string|array |
Specifies the type of articles to retrieve. Supports single or multiple types. Possible values include 'post', 'video', 'offer', etc. |
category |
string|array |
Specifies the category of posts to retrieve. Supports single or multiple categories. Categories should be specified by slug. |
-
Default limit 30 articles
/apifeed/googlenews/v1/feed/articles
-
limit - value between 0 ~ 500
/apifeed/googlenews/v1/feed/articles?output=xml&limit=[limit articles]
-
type - value default post
/apifeed/googlenews/v1/feed/articles?output=xml&type=post
-
type - multiple values
/apifeed/googlenews/v1/feed/articles?output=xml&type[]=post&type[]=video
-
category - value eg: news
/apifeed/googlenews/v1/feed/articles?output=xml&category=news
-
category - multiple values eg: news, local, guide...
/apifeed/googlenews/v1/feed/articles?output=xml&category[]=news&category[]=local
- Formats the article response following the specifications required by each platform, ensuring compatibility and compliance.
- Google News format includes elements like title, publication date, author, and keywords.
- ICARO (Tim News) format follows the RSS 2.0 standard and includes detailed specifications such as title, publication date, author, image, description, and content.
- Ensures all articles meet the quality criteria of each platform, such as minimum image size, appropriate title length, and absence of prohibited hyperlinks.
- Includes detailed information about the articles, such as GUID, title, publication date, author, image credit, link, description, content, and thumbnail, ensuring a rich and informative integration.
- Facilitates the integration of WordPress content with multiple platforms, allowing partners to quickly send feeds and receive quality feedback to ensure the content is ready for publication.
- Supports the inclusion of images, videos, and social media embeds in the article body, following each platform's formatting guidelines.
- Allows generated feeds to be sent for evaluation by platform teams, ensuring any issues are quickly identified and resolved for a continuous and efficient publication flow.
-
Install and activate Amazing Feed on your WordPress site.
-
Access the endpoint relevant to the platform you are integrating with, such as:
/apifeed/googlenews/v1/feed/articles?output=xml
for Google News/apifeed/icaro/v1/feed/articles?output=xml
for ICARO (Tim News)/apifeed/sitemap/index?output=xml
for Sitemap
-
Send the generated feed for evaluation and integration on the respective platform.