*/ public static function sections(): array { return array( 'getting-started' => __( 'Getting Started', 'feedweaver' ), 'field-mapping' => __( 'Understanding Field Mapping', 'feedweaver' ), 'xml-examples' => __( 'XML Examples', 'feedweaver' ), 'json-examples' => __( 'JSON Examples', 'feedweaver' ), 'rss-output' => __( 'RSS Output', 'feedweaver' ), 'advanced-xml' => __( 'Advanced XML', 'feedweaver' ), 'content-selection' => __( 'Content Selection', 'feedweaver' ), 'taxonomies' => __( 'Taxonomies', 'feedweaver' ), 'date-formats' => __( 'Date Formats', 'feedweaver' ), 'feed-urls' => __( 'Feed URLs', 'feedweaver' ), 'access-control' => __( 'Access Control', 'feedweaver' ), 'security' => __( 'Security', 'feedweaver' ), 'troubleshooting' => __( 'Troubleshooting', 'feedweaver' ), 'limitations' => __( 'Current Limitations', 'feedweaver' ), ); } /** * Prints a code sample. * * @param string $code Sample. */ private function code( string $code ): void { echo '
' . esc_html( trim( $code ) ) . '';
}
/**
* Renders the page.
*/
public function render(): void {
$sections = self::sections();
?>
in XML or "headline" in JSON.', 'feedweaver' ); ?>
Advanced options > Empty values.', 'feedweaver' ); ?>
Advanced options, "Top-level name" is the outer element (articles above) and "Name of each item" is the element repeated for every post (article above). Change them to match what the receiving service expects, for example items and item.', 'feedweaver' ); ?>
code( 'title | |
link | |
description | |
pubDate | |
guid |
Advanced XML. Each section is collapsed until you open it. Ordinary feeds never need them, and JSON feeds ignore them.', 'feedweaver' ); ?>
media | http://search.yahoo.com/mrss/ |
dc | http://purl.org/dc/elements/1.1/ |
content | http://purl.org/rss/1.0/modules/content/ |
Filter by Taxonomy, FeedWeaver lists the taxonomies used by the content types you chose. The list updates as soon as you tick or untick a content type; you do not need to save. Choices that still apply are kept. Choices for a taxonomy that the new selection does not use are removed, and a message tells you which ones.', 'feedweaver' ); ?>
d j D l N S w z | |
W | |
m n M F t | |
Y y o L | |
a A g G h H i s u v | |
e T Z O P p I | |
c r U B |
code( 'https://example.com/feedweaver/partner-feed/?access_key=EXAMPLE-FICTIONAL-TOKEN-0000000000000000' ); ?>
code( 'curl -H "Authorization: Bearer EXAMPLE-FICTIONAL-TOKEN-0000000000000000" https://example.com/feedweaver/partner-feed/' ); ?>