Browse Source

| jq -Rr @uri = URLENCODE

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

+ 1
- 1
zen/wordpress_channel.sh View File

@ -58,7 +58,7 @@ do
# 1=DIY, Habiter=2, Guerir=3, Divertir=4, Déplacer=5, Energie=6, Cultiver=7
cd /var/www/wordpress/
# isWPuser=$(wp user list | grep "$xzuid")
wp post create --post_author="$xzuid" --post_content="<p><a href=\"https://$mynodename$(cat /tmp/filelink_$mediakey.txt)\" target=\"_blank\" rel=\"noreferrer noopener\">$title</a></p>" --post_title="$title" --post_excerpt="$g1pubsource" --post_category="105" --tags_input="$genres" --porcelain
wp post create --post_author="$xzuid" --post_content="<p><a href=\"https://$mynodename$(cat /tmp/filelink_$mediakey.txt | jq -Rr @uri)\" target=\"_blank\" rel=\"noreferrer noopener\">$title</a></p>" --post_title="$title" --post_excerpt="$g1pubsource" --post_category="105" --tags_input="$genres" --porcelain
# REPLY IN ~/.zen/ipfs/.$ipfnodesource/astroport/wordpress/$mediakey/done
responsedir="$(echo "$wpcall" | sed 's/ipfs_swarm/ipfs/g')"


Loading…
Cancel
Save