Browse Source

description & tags

master
qo-op 1 month ago
parent
commit
ba7032af98
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      zen/wordpress_channel.sh

+ 2
- 2
zen/wordpress_channel.sh View File

@ -50,10 +50,10 @@ do
mynodename=$(cat ~/.zen/ipfs_swarm/.$IPFSNODEID/G1SSB/_nodename)
genres="$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/ajouter_video.txt | cut -d ';' -f 6 | sed 's/|/,/g' | awk '{print tolower($0)}')"
tags="$tags,$genres"
tags="$genres,$tags"
description=$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/video.json | jq -cr .description)
description=$(echo "${description//$'\n'/<br>}") # replace new line with <br>
[[ $description ]] && description=$(echo "${description//$'\n'/<br>}") || description="VIDEO"
## USE .ipns.link
# ipnsid=$(cat ~/.zen/ipfs_swarm/.$ipfnodesource/KEY/$mediakey/$g1pubsource/.ipns.link)


Loading…
Cancel
Save