Reference:External Data and SocialEntity:156: Difference between pages

(Difference between pages)
(Created page with "{{BSExtensionInfobox |desc=allows for using and displaying values retrieved from various sources: external URLs, local wiki pages and local files (in CSV, GFF, JSON and XML fo...")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
{{BSExtensionInfobox
{
|desc=allows for using and displaying values retrieved from various sources: external URLs, local wiki pages and local files (in CSV, GFF, JSON and XML formats), database tables, and LDAP servers.
    "wikipageid": 1068,
|status=stable
    "namespace": 0,
|developer=Yaron Koren, and others
    "titletext": "Reference:External Data",
|type=MediaWiki
    "description": "",
|edition=BlueSpice pro
    "parentid": 0,
|active=Yes
    "id": 156,
|compatible=MediaWiki
    "ownerid": 6,
|category=Infrastructure
    "type": "wikipage",
|license=GPL v2+
    "archived": false,
|docu=https://www.mediawiki.org/wiki/Extension:External_Data
    "tags": [
|package=SemanticData
        "Reference:External Data"
}}
    ],
'''ExternalData''' extension allows MediaWiki pages to retrieve, filter, and format structured data from one or more sources. These sources can include external URLs, regular wiki pages, uploaded files, files on the local server, databases or LDAP directories.
    "resolved": false
 
}
 
==Parser functions==
The extension has nine parser functions:
 
*'''#get_web_data''' retrieves CSV, GFF, JSON or XML data from a URL and assigns it to variables that can be accessed on the page.
*'''#get_soap_data''' retrieves data from a URL via the [https://en.wikipedia.org/wiki/SOAP SOAP] protocol.
*'''#get_file_data''' retrieves data from a file on the local server, in the same formats as #get_web_data.
*'''#get_db_data''' retrieves data from a database.
*'''#get_ldap_data''' retrieves data from an LDAP server.
*'''#external_value''' displays the value of any such variable.
*'''#for_external_table''' cycles through all the values retrieved for a set of variables, displaying the same "container" text for each one.
*'''#store_external_table''' cycles through a table of values, storing them as semantic data via the [https://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki Semantic MediaWiki] extension, by mimicking a call to SMW's #subobject function for each row.
*'''#display_external_table''' cycles through all the values retrieved for a set of variables, displaying each "row" using a template.
*'''#clear_external_data''' erases the current set of retrieved data.
 
{{translation}}

Latest revision as of 10:30, 10 January 2022

No categories assignedEdit

Discussions