Browse Source

$zeeurl is IPFS / $zurl is IPNS

pull/32/head
qo-op 7 months ago
parent
commit
92b4ddb5ed
  1. 2
      zen/wordpress_channel.sh

2
zen/wordpress_channel.sh

@ -73,7 +73,7 @@ do
# 1=DIY, Habiter=2, Guerir=3, Divertir=4, Déplacer=5, Energie=6, Cultiver=7
cd /var/www/${channel}/
# isWPuser=$(wp user list | grep "$xzuid")
wp post create --post_author="$xzuid" --post_content="<h1><a href=\"$zurl\" target=\"_blank\" rel=\"noreferrer noopener\">VIDEO : $title</a></h1><center><video width='640' height='480'><source src=\"$zurl\"></video></center><p>$description</p>" --post_title="VIDEO : $title" --post_excerpt="$description" --post_category="105" --tags_input="$tags" --porcelain
wp post create --post_author="$xzuid" --post_content="<h1><a href=\"$zurl\" target=\"_blank\" rel=\"noreferrer noopener\">VIDEO : $title</a></h1><center><video width='640' height='480'><source src=\"$zeeurl\"></video></center><p>$description</p>" --post_title="VIDEO : $title" --post_excerpt="$description" --post_category="105" --tags_input="$tags" --porcelain
# REPLY IN ~/.zen/ipfs/.$ipfnodesource/astroport/${channel}/$mediakey/done
responsedir="$(echo "$wpcall" | sed 's/ipfs_swarm/ipfs/g')"

Loading…
Cancel
Save