From d4e820b3939c7a93ef28e2ef4af4254a6d7dbaff Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 22 Apr 2022 17:24:29 +0200 Subject: [PATCH] more detailed tiddler --- zen/new_file_in_astroport.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zen/new_file_in_astroport.sh b/zen/new_file_in_astroport.sh index 14984f3..83b20ff 100755 --- a/zen/new_file_in_astroport.sh +++ b/zen/new_file_in_astroport.sh @@ -418,12 +418,15 @@ echo '[ { "text": "", "title": "'${TITLE}'", - "type": "'$MIME'", + "type": "'${MIME}'", + "cat": "'${CAT}'", + "mediakey": "'${MEDIAKEY}'", + "ipns": "'${IPNS}'", "tags": "$:/isAttachment $:/isIpfs", - "_canonical_uri": "/ipfs/'$IPFSREPFILEID'/'$URLENCODE_FILE_NAME'" + "_canonical_uri": "/ipfs/'${IPFSREPFILEID}'/'${URLENCODE_FILE_NAME}'" } ] -' > ~/astroport/${TYPE}/${REFERENCE}/${MEDIAKEY}.tiddler.json +' > ~/astroport/${TYPE}/${REFERENCE}/${MEDIAKEY}.dragdrop.json fi