@tjanos wrote:
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:
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)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.)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.
Copy the text with your right click appeared menu into the mouse buffer.
Copy the buffer contents into the online jason viewer working space, here:
http://jsonviewer.stack.hu/Change the Text view to the Viewer tab.
{"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
Posts: 4
Participants: 2