Commit 352d0ee6 authored by remy's avatar remy
Browse files

adding a rule for hesk (deleting a specific line b/c there is no HTML special...

adding a rule for hesk (deleting a specific line b/c there is no HTML special attr/label on this line but an increasing number over the time, not correlated to any key/value (only with the numer of views).
parent 5457afcd
......@@ -74,6 +74,7 @@ function remove_dyn_elems {
typesetter_regexp_arr=("wgBackendResponseTime" "wgRequestId" "time" "[0-9]{1,3}\.[0-9]{1,2}+%\s+[0-9]{1}\.[0-9]{3}")
nextcloud_regexp_arr=("token" "nonce")
gitbook_regexp='data-revision'
hesk_rule='165d'
while read name website type product plugins activity owner
do
......@@ -123,6 +124,9 @@ function remove_dyn_elems {
"gitbook" )
sed -ri -e /$gitbook_regexp/d $name.index.html
;;
"hesk" )
sed -i -e ${hesk_rule} $name.index.html
;;
"nextcloud" )
for nextcloud_regexp in ${nextcloud_regexp_arr[@]}
do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment