Linux 软件免费装
Banner图

Get Use APIs - JSON Content Importer

开发者 berkux
更新时间 2024年11月15日 05:44
PHP版本: 7.0 及以上
WordPress版本: 6.7
版权: GPLv3
版权网址: 版权信息

标签

connect json api data endpoint

下载

1.2.13 1.5.6 1.3.0 1.2.15 1.2.16 1.2.17 1.2.18 1.2.2 1.2.20 1.2.3 1.2.4 1.2.6 1.2.7 1.2.8 1.4 1.4 .1 1.5.0 1.2.0 1.2.14 1.3.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.2.9 1.3.10 1.3.13 1.3.14 1.3.3 1.3.6 1.3.7 1.0.2 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.1 1.2.10 1.3.11 1.3.12 1.3.15 1.3.16 1.3.2 1.2.11 1.3.17 1.3.4 1.3.8 1.2.12 1.2.5 1.0.3 1.2.19 1.3.1 1.3.9 1.6.0 1.6.1

详情介绍:

The simplest method to link WordPress with external APIs JCI simplifies the task of retrieving data from a third-party REST API. The returned data can be neatly arranged and showcased on your WordPress site via a shortcode or a JCI Block. Generate a template with the JCI Block. 20 seconds: Load API and display data https://www.youtube.com/watch?v=RBlrAUVywAk 7 minutes: Basic intro to JCI free https://www.youtube.com/watch?v=SDUj1teNG2s Examples, Preview Check out the live demonstration to explore how we're interfacing with various APIs LIVE PREVIEW - WordPress and a external API Video: How to use the Wikipedia API Main Plugin Features Documentation There's a wealth of resources and support at your fingertips. Explore the articles listed below to begin your journey: You need more? JSON Content Importer PRO Both the free and PRO JCI Plugins serve the same purpose: retrieving data, transforming it, and publishing the results. However, while the free Plugin can only handle basic challenges, the PRO JCI Plugin offers nearly full control over WordPress, the database, and applications. Compare: Free vs. JCI PRO Plugin PRO features:

屏幕截图:

  • Check your JCI installation and its requirements.
  • Configure your JCI settings: SSL? Cache? Gutenberg?
  • Step 1: Retrieve data. Highly recommended: Use the JCI Block.
  • Step 2: Use data. Generate a template with the JCI Block and try it out.
  • Locate the JCI Block.
  • JCI Block: Welcome to the JCI Block. Familiarize yourself with the JSON example.
  • JCI Block: Turn debug mode on to see what is happening.
  • JCI Block: Generate a template from JSON.

升级注意事项:

1.6.1
  • Plugin OK with WordPress 6.6
  • Bugfix: Relevant when using oneofthesewordsmustbein and similar

常见问题:

Help! I need more information!

Check the JCI manual, please = Where to start? Give it a try: The JCI plugin's block comes with a simple, easy-to-understand example. This lets you learn how JCI works without any risk.

What does this plugin do?

This plugin enables you to insert a WordPress shortcode or a Gutenberg Block within any page, post, or Custom Post Type (CPT). This facilitates the retrieval of data from an API, which you can then manipulate, such as converting it to HTML for display purposes. Connecting an API to WordPress offers enhanced content management, extended functionality, personalization and scalability. It enables real-time data display, third-party service integration, and process automation, making your website dynamic and powerful. The plugin parses almost any JSON-feed and allows you to display all data on your website: Import data from an API or Webservice to display it on your website.

How can I make sure the plugin works?

Select the 'JSON Content Importer' option from the Admin Menu. Upon doing so, you'll be presented with various tabs, one of which is labeled 'Check Installation.' Ensure all the tests conducted here are successfully passed for the optimal functioning of the plugin. Then use the Shortcodes from Tab "Step 1: Get data" and if successful "Step 2: Use data". If that does not work, check Tab "Support".

Where is this plugin from?

This plugin is made in munich, bavaria, germany! Famous for Oktoberfest, FC Bayern Munich, AllianzArena, TUM, BMW, Siemens, seas, mountains and much more...

Basic structure of a JCI Shortcode (use the JCI Block to generate such a shortcode and a template):

Shortcode

'[jsoncontentimporter * url="http://...json" * numberofdisplayeditems="number: how many items of level 1 should be displayed? display all: leave empty or set -1" * urlgettimeout="number: who many seconds for loading url till timeout?" * basenode="starting point of datasets, the base-node in the JSON-Feed where the data is" * oneofthesewordsmustbein="default empty, if not empty keywords spearated by ','. At least one of these keywords must be in the created text (here: text=code without html-tags)" * oneofthesewordsmustbeindepth="default: 1, number: where in the JSON-tree oneofthesewordsmustbein must be?" ] This is the template: Any HTML-Code plus "basenode"-datafields wrapped in "{}" {subloop:"basenode_subloop":"number of subloop-datasets to be displayed"} Any HTML-Code plus "basenode_subloop"-datafields wrapped in "{}". If JSON-data is HTML add "html" flag like "{fieldname:html}" {/subloop:"basenode_subloop"} [/jsoncontentimporter]' * templates like "{subloop-array:AAAA:10}{text}{subloop:AAAA.image:10}{id}{/subloop:AAAA.image}{/subloop-array:AAAA}" are possible: one is the recursive usage of "subloop-array" and "subloop". the other is "{subloop:AAAA.image:10}" where "AAAA.image" is the path to an object. This is fine for some JSON-data.

Some special add-ons for datafields

  • "{street:purejsondata}": Default-display of a datafield is NOT HTML, but HTML-Tags are converted : use this to use really the pure data from the JSON-Feed
  • "{street:html}": Default-display of a datafield is NOT HTML: "<" etc. are converted to "&amp,lt;". Add "html" to display the HTML-Code as Code.
  • "{street:htmlAndLinefeed2htmlLinefeed}": Same as "{street:html}" plus "\n"-Linefeeds are converted to HTML-Linebreak
  • "{street:ifNotEmptyAddRight:,}": If datafield "street" is not empty, add "," right of datafield-value. allowed chars are: "a-zA-Z0-9,;_-:<>/ "
  • "{street:html,ifNotEmptyAddRight:extratext}": you can combine "html" and "ifNotEmptyAdd..." like this
  • "{street:purejsondata,ifNotEmptyAddLeftRight:LEFT##RIGHT##}": If datafield "street" is not empty, add text on the left and right
  • "{street:ifNotEmptyAdd:,}": same as "ifNotEmptyAddRight"
  • "{street:ifNotEmptyAddLeft:,}": If datafield "street" is not empty, add "," left of datafield-value. allowed chars are: "a-zA-Z0-9,;_-:<>/ "
  • "{locationname:urlencode}": Insert the php-urlencoded value of the datafield "locationname". Needed when building URLs

更新日志:

1.6.1 1.6.0 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.1 1.4 1.3.17 1.3.16 1.3.15 1.3.14