%
% convert the html or htm content for the -cloud version
%
% stack: html-content
%
/*
replace src="/ with src="
replace src="./ with src="results/xact___xact___/
replace .src = "/ with .src = "
*/
'src="/' 'src="' replall
'.src = "/' ',src = "' replall
'src="./' 'src="results/xact' &_Xact &'/' replall
/*
replace url('/ with url('
replace href="/ with href="
replace window.location.origin + "/ with "
*/
"url('/" "url('" replall
'href="/' 'href="' replall
'window.location.origin + "/' '"' replall
/*
replace var SelfAbs = "/" + with var SelfAbs =
use the line
first line after
*/
'var SelfAbs = "/" +' 'var SelfAbs = ' replall
''
'
' replall
/*
use gshow instead of show and use the chuutz.cloud Tell
replace "/Tell?command=show with "http://textmyphotos.com
----Arching.Command---- gshow
replace "w.js with "https://textmyphotos.com/w.js
replace Teller with "http://textmyphotos.com" + Teller
*/
'"/Tell?command=show' '"http://textmyphotos.com'
&_Arching.Command
&'gshow' replall
'"/Sell?command=show' '"http://textmyphotos.com'
&_Arching.Command
&'gshow' replall
'"w.js' '"https://textmyphotos.com/w.js' replall
'Teller' '"http://textmyphotos.com" + Teller' replall
/*
replace
document.all.ifrvProdPad.src = "/ProdPadX" + AllParams.prodbar + "
with
document.all.ifrvProdPad.src = "/ProdPadX" + AllParams.prodbar + "-cloud
replace
document.all.ifrvProdPad.src = "/ProdPadX.html"
with
document.all.ifrvProdPad.src = "/ProdPadX-cloud.html"
*/
'document.all.ifrvProdPad.src = "/ProdPadX" + AllParams.prodbar + "'
'"/ProdPadX" + AllParams.prodbar + "-cloud' replall
'document.all.ifrvProdPad.src = "/ProdPadX.html"'
'document.all.ifrvProdPad.src = "/ProdPadX-cloud.html"' replall