sciolism

Playing around with technology

Category archive: Projects


Projects

Simple Chart.js

Please see Version 1.0 in the WordPress.org repository for current version of enigma Chart.js!

The plugin is no longer maintained and is removed from the WordPress.org repository.

Introduction

As I was searching for a wordpress plugin, offering an easy implementation plotted data I found many different approaches. However, those were on the one hand commercially available or on the other hand hard to work with. The Simple Chart.js plugin offers you a simple way to include and plot your data with six different kind of graphs. The plugin itself is based on the famous Chart.js library by Nick Drownie.

Read more…

Diary, Projects

Aktuelles Gedankengut

Mein Blog lebt! In den letzten Tagen habe ich hier und da noch einige Kleinigkeiten hinzugefügt. Es gibt nun bspw. in der rechten Sidebar eine Übersicht über alle zur Verfügung stehenden Feeds. Insgesamt geht es gut voran: die Einträge häufen sich und alles wächst und gedeiht.


App.net ist für mich immer noch eines der besten Social Networks aller Zeiten. Es macht richtig Spaß dort mit Leuten zu kommunizieren. Ich kann jedem nur ans Herz legen reinzuschauen. Im Zuge dessen droht sich mein Twitter-account leider in Luft aufzulösen.


Und weil mir ADN so gut gefällt, habe ich auch versucht einen Teil zu diesem Netzwerk beizutragen. Wie man in den letzten Tagen gesehen hat, habe ich eine API programmiert, welche das ADNCC-Spreadsheet von @nhk im JSON-Format zugänglich macht. Für mich ist es das erste Projekt dieser Art und ich bin froh, dass bisher alles so gut geklappt hat. An dieser Stelle vielen Dank für die Unterstützung!


Projects

ADNCC API Version 0.7b

This post only describes changes compared to ADNCC API Version 0.6b. Further details can be found here. Additionally a first version of the promised search engine is out and can be found here.

Changes

There were several changes made for this version, so here is the most important one: no filters will be ignored randomly anymore. This means the API can now be used with so many filters as needed.

Disclaimer

The provided data is neither collated by myself, nor by the developer of the clients. Therefore I'm not responsible for the accurateness of the provided information.

Feature requests, bug reporting etc.

Please report any feature requests and bugs, which were not mentioned in the known issues paragraph, to my ADN account.


Projects

ADNCC API Version 0.6b

A new Version of the API (0.7b) is available here.

Description

The ADN-client-comparison (ADNCC) API enhances the “ADN-Client Feature Matrix” by @nhk in order to offer an API, which makes information about the clients accessible, in a different way then the original Spreadsheet. In detail, The data is pulled from the original spreadsheet and released as an JSON object. This data then can be used in any way.

Features

Beside pulling the whole data, the pull request can be modified. For instance if you would like to pull information about a certain client only, you can limit the number of results by adding the clients name to the URL:

http://adn-client-comparison.nigma.de/pull.php?name=Felix

Another example would be that you only want to fetch all android clients. This could be realized by calling:

http://adn-client-comparison.nigma.de/pull.php?platform=Android

Indeed, this concept assigned to every key available in the data (e.g. stream_marker_support, interactions_view etc.).

Known Issues

As the API is in beta phase there are several things that need to be fixed, or are not as solid as they should be. It is known that if applying more than two filters, in some cases filters will be ignored randomly. However, the data obtained if using two or no filters worked fine for all performed tests.

Future development

In the near future it is planned use this API in order to build a website, which suggests suitable clients for the user, based on several choosable filters and criteria. It is not known yet if the API filter-options are further developed, because this strongly depends on if it is necessary to build the mentioned website.

Implementation

PHP is known to decode and encode JSON to and from arrays. An example would be:

The database contains <?php echo count(json_decode(file_get_contents("http://adn-client-comparison.nigma.de/pull.php"))); ?> entries.

Which would result in: The database contains 58 entries.

As the results of the request are in JSON-Format no further explanation for JavaScript-implementation should be needed ;-)

Disclaimer

The provided data is neither collated by myself, nor by the developer of the clients. Therefore I'm not responsible for the accurateness of the provided information.

Feature requests, bug reporting etc.

Please report any feature requests and bugs, which were not mentioned in the known issues paragraph, to my ADN account.