Content viewer and importer for OKHub content
For installation information, see https://github.com/oriel-hub/OKHub-Content-WordPress/blob/master/okhub/README-FIRST.txt
Content viewer and importer for OKHub content
License: GNU General Public License v2.0
Content viewer and importer for OKHub content
For installation information, see https://github.com/oriel-hub/OKHub-Content-WordPress/blob/master/okhub/README-FIRST.txt
Content items from OKhub (output in the WP widget) link to the item on data.okhub.org.
The links should go either to:
a) website_url
b) urls
c) a modal pop up like on the HTML widget (http://data.okhub.org/apps/widget/)
Plugin lacks the option to be able to import whole datasets, either as an import greater than 100 records (the maximum setting) or via incremental importing.
Currently, you can import 100 records. If you then do another manual import, you get the same 100 records, unless a new record has been added to the source dataset since the last import, then you get 1 new record and 99 updated records. In this way, you can never get beyond that batch of 100.
There is a separate issue (enhancement) for allowing batch importing of older content. See #8
@joe-mcpherson extended the Drupal content modules (for the IDS API and OKhub API) to enable this incremental updates to occur. Example commit/code is IDS-API/Drupal-modules@641ec85
He also made a change to the Admin UI to allow the administrator to control this import http://wordpress.dev.ids.ac.uk/wp-content/uploads/2016/01/Screenshot.png
"Uncaught TypeError: Cannot read property 'length' of undefined"
Categories do not load to enable selection.
Think this appears to be a timing out issue. The issues with each taxonomy for each source are not generally repeatable, so could just be multiple jquery threads running at the same time.
From testing, there were issues with displaying pick lists for the following Source/Category:
Eldis / Themes
Open Docs / Themes
BRIDGE / All categories
HEART / All categories
IGIDR / Doc types
Observ Action / Themes, Countries, Doc types
3ie, CCCCC, ELLA, SERPP, Soulbeat / Themes
Imports in reverse alphabetical order.
Should this be by most recently updated instead?
Example:
This is probably not ideal behaviour.
Am not sure what plan we have for handling versions in WP, so may be easier to add a new "Preferred source" function/filter that imports by preferred source over other sources, where two versions exist.
Initially tried to import from single sources (10 records, no other filtering). For he sources BRIDGE, IGIDR and HEART I was not able to import any record ("Nothing imported from Heart" message).
Then attempted to add all sources to the Import filter and was able to import from the above sources (along with all the other sources).
Then deselected all sources, and reselected just HEART. Manual import - 10 records updated.
Increased filtering to import 20 records. Manual import - "Nothing imported from Heart"
Get Request failed error
"Output {"readyState":0,"responseText":"","responseJSON":null,"status":0,"statusText":"error"}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.