determine_protocol get_domain instance="${protocol}${domain}" channel=`echo $content | grep -Pzo '(?<=
)' | head -1 | tr '\0' '\n'` channel="${channel##/}" if [[ -n $channel ]] then page_ext="${instance}/feed/${channel}" fi