Online json viewer

Simple tipps:
All the downloaded outernet materials have a json record in the own dirs.
Sometimes it is usefull to browse this records. The most simple way, I found this:, using an online json viewer:

  1. Navigate into the directory in the ssh terminal windows. It uses long names with spaces, not really linux-friendly, but its working in this form as appears in this example:
    outernet@orxpi:/mnt/data/downloads/News/Malawi> cd Capital\ Radio\ Malawi/
    (before the spaces were inserted \ and at the end is a / character, signs it is a dir.)
    navigate into the next dir:
    outernet@orxpi:/mnt/data/downloads/News/Malawi/Capital Radio Malawi> cd APAM\ appeal\ for\ attention\ on\ matters\ affecting\ its
    members/
    (In this example not too confortable to write all of this. You can use the linux background help-tool: after the first word - APAM - push the tab key: it will be inserted all the dir or file name)

  2. Dislpays the default json record,s contents:
    outernet@orxpi:/mnt/data/downloads/News/Malawi/Capital Radio Malawi/APAM appeal for attention on matters affecting its members> cat info.json
    (the cat command display the info.json in a “simple, poor” format.)

  3. Mark with your mouse left click the json record. Be carefull, its end is the last }. In the example:

    … main": “index.html”}}, “language”: “en”}ORxPi v2.0.002 | … the ORxPi v2 not part of it, it is the beginning of the console promt.

  4. Copy the text with your right click appeared menu into the mouse buffer.

  5. Copy the buffer contents into the online jason viewer working space, here:
    http://jsonviewer.stack.hu/

  6. Change the Text view to the Viewer tab.
    =======
    This is a sample info.json record to try it:

{“url”: “http://www.capitalradiomalawi.com/news/local-news/item/5415-apam-appeal-for-attention-on-matters-affecting-its-members”, “broadcast”: “2015-12-03”, “is_sponsored”: false, “is_partner”: false, “gen”: 1, “title”: “APAM appeal for attention on matters affecting its members”, “partner”: “Capital Radio Malawi”, “archive”: “ephemeral”, “timestamp”: “2015-12-03 17:37:14 UTC”, “publisher”: “Capital Radio Malawi”, “license”: “ARL”, “content”: {“html”: {“keep_formatting”: false, “main”: “index.html”}}, “language”: “en”}
t.janos

1 Like

Here are the full specs of that JSON file. We’re currently shipping v0.8 specs even though v0.9 is the latest. Incidentally, we’re probably getting rid of this partially or completely next year.

branko,
thank you the info.
Browse it, appeared the first question:
removed the url item in the next versions, means, in the future we havenot info about the place on the internet of the broadcasted materials?
See:
v0.9 (GEN1)

deprecated archive key
made license key optional
removed images key
removed index key
removed keep_formatting key
removed multipage key
removed app content type
added appdata content type
added app key for appdata content type
version key is now used by appdata
removed url key

t.janos

In future, we will open the preparation of content and uploading to wider community. Users will upload prepared files directly, so there is no URL. If user wants to indicate the source, they may do some in the content. Also, for our main target group (people who do not have Internet), URL is meaningless.

Yes that was my question. For the whole point of this Project Outernet, we need a .json file viewer that is OFFLINE. Especially due to the interface of Outernet In A Box.