diff options
author | B Stack <bgstack15@gmail.com> | 2020-06-16 13:40:39 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-06-16 13:40:39 -0400 |
commit | 0ca931489f98b65e1025a4c4f00ae9eb8484dc27 (patch) | |
tree | 231f9fa86e40a62ef59ca0cc1ba81d52086b3597 /flow-part2.sh | |
parent | initial commit (diff) | |
download | glip-0ca931489f98b65e1025a4c4f00ae9eb8484dc27.tar.gz glip-0ca931489f98b65e1025a4c4f00ae9eb8484dc27.tar.bz2 glip-0ca931489f98b65e1025a4c4f00ae9eb8484dc27.zip |
add minor fixes and major image fixes
perform better unicode removal/conversion
fix image retrieval, including svg and minor graphics assets
remove even more html elements not necessary for archival display
Diffstat (limited to 'flow-part2.sh')
-rwxr-xr-x | flow-part2.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/flow-part2.sh b/flow-part2.sh index db27d98..e56bdf2 100755 --- a/flow-part2.sh +++ b/flow-part2.sh @@ -3,7 +3,7 @@ # Startdate: 2020-05-30 16:46 # Purpose: automate the post-download components of the issue-saving process -OUTDIR=/mnt/public/www/issues +OUTDIR=/mnt/public/www/gitlab-issues cd /mnt/public/work/devuan @@ -12,10 +12,10 @@ sed -i -r -e 's/\\n/\n/g;' "${OUTDIR}"/*.html ls -1 "${OUTDIR}"/*.html > output/files-for-timestamps.txt ./fix-timestamps.py -./fetch-images.sh +DEBUG=1 ./fetch-images.sh 2>~/log/flow-part2.$( date "+%FT%H%M%S" ).log sed -i -f fix-images-in-html.sed "${OUTDIR}"/*.html -mkdir -p /mnt/public/www/issues/css +mkdir -p "${OUTDIR}/css" ./fetch-css.sh sed -i -f fix-css-in-html.sed "${OUTDIR}"/*.html @@ -24,3 +24,7 @@ sed -i -f remove-useless.sed "${OUTDIR}"/*.html ./remove-useless.py sed -i -r -f fix-without-systemd-links.sed "${OUTDIR}"/*.html + +./conversion.sh "${OUTDIR}"/*.html + +./use-datasrc-instead-src.py |