Raise Datasets Marketplace
Raise Datasets Marketplace is a WordPress plugin that adds the [raise_datasets] shortcode. It lets you embed the public marketplace datasets hosted on the RAISE Science platform directly WordPress websites, complete with search, pagination, and links back to the canonical dataset records.
by Ilyo D'Urso · github.com/lilium360/wp-raise-datasets · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/lilium360/wp-raise-datasets/archive/refs/heads/main.zipReadme
Raise Datasets Marketplace
Raise Datasets Marketplace is a WordPress plugin that adds the [raise_datasets] shortcode. It lets you embed the public marketplace datasets hosted on the RAISE Science platform directly WordPress websites, complete with search, pagination, and links back to the canonical dataset records.
Features
- Fetches live dataset information from the RAISE marketplace API and exposes it through a WordPress REST endpoint (
/wp-json/raise/v1/datasets). - Responsive, accessible listing with client-side search controls, pagination, and status messaging handled in vanilla JavaScript.
- Automatic normalization of dataset fields (title, description, organization) and direct links to each dataset detail page on the RAISE portal.
- Lightweight caching layer using WordPress transients to minimise repeated calls to the remote API.
- Translation ready: all user-facing strings are wrapped with WordPress internationalization helpers.
Requirements
- WordPress 6.0 or newer.
- PHP 7.4 or newer with
curl/wp_remote_getsupport. - Network access from your WordPress host to
https://api.portal.raise-science.eu.
Installation
- Download or clone this repository into your WordPress installation under
wp-content/plugins/raise-datasets-marketplace. - Alternatively, create a ZIP archive of the repository and upload it from Plugins → Add New → Upload Plugin within the WordPress dashboard.
- Activate Raise Datasets Marketplace from the Plugins screen.
Usage
Insert the shortcode into any post, page, or block that accepts shortcodes:
[raise_datasets]
Optional Parameters
per_page— Number of datasets to display on each page (default50, minimum1, maximum50). Example:[raise_datasets per_page="20"].
Once the shortcode renders, visitors can search the dataset catalogue, paginate through the results, and open the official dataset detail pages in a new tab.
How It Works
- The frontend JavaScript (
assets/js/raise-datasets-frontend.js) initializes each shortcode container, handles search submissions, pagination, and renders dataset cards. - Each interaction calls the plugin's REST proxy (
/wp-json/raise/v1/datasets) which, in turn, requests data from the official RAISE marketplace API endpoint:https://api.portal.raise-science.eu/dataset/marketplace. - Query parameters map as follows:
search→searchQuerypage→ translated intoskip = (page - 1) * per_pageper_page→take
- The response is normalized, cached for five minutes, and sent back to the browser together with pagination hints (
has_more). - Each dataset card includes a View details button that links to
https://portal.raise-science.eu/dataset-marketplace/{id}using the dataset ID provided by the API.
License
This plugin is licensed under the GPL-2.0-or-later.