forked from STI/Astroport.ONE
log better
This commit is contained in:
parent
2c999133ca
commit
0f6bef8b9e
|
@ -54,6 +54,7 @@ for yurl in $(cat ~/.zen/tmp/tiddlers.json | jq -r '.[].text' | grep 'http'); do
|
||||||
TEXT="<video controls width=360><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><h1>"${FILE}"</h1>"
|
TEXT="<video controls width=360><source src='/ipfs/"${ILINK}"' type='"${MIME}"'></video><h1>"${FILE}"</h1>"
|
||||||
|
|
||||||
echo "Creating Youtube tiddler"
|
echo "Creating Youtube tiddler"
|
||||||
|
echo $TEXT
|
||||||
|
|
||||||
echo '[
|
echo '[
|
||||||
{
|
{
|
||||||
|
@ -71,7 +72,9 @@ for yurl in $(cat ~/.zen/tmp/tiddlers.json | jq -r '.[].text' | grep 'http'); do
|
||||||
|
|
||||||
rm -f ~/.zen/tmp/newindex.html
|
rm -f ~/.zen/tmp/newindex.html
|
||||||
|
|
||||||
tiddlywiki --verbose --load $INDEX \
|
echo "importing $HOME/.zen/tmp/$FILE.TW.json"
|
||||||
|
|
||||||
|
tiddlywiki --load $INDEX \
|
||||||
--import "$HOME/.zen/tmp/$FILE.TW.json" "application/json" \
|
--import "$HOME/.zen/tmp/$FILE.TW.json" "application/json" \
|
||||||
--deletetiddlers '[tag[tube]]' \
|
--deletetiddlers '[tag[tube]]' \
|
||||||
--output ~/.zen/tmp --render "$:/core/save/all" "newindex.html" "text/plain"
|
--output ~/.zen/tmp --render "$:/core/save/all" "newindex.html" "text/plain"
|
||||||
|
|
Loading…
Reference in New Issue