483 |
|
printHTMheader |
484 |
|
|
485 |
|
# Attempt to download file at LINKS_URL, then check that it succeeded |
486 |
+ |
valPrint t "Config:" |
487 |
+ |
valPrint r "\b1 Config \b0" |
488 |
+ |
valPrint hn "<h3>Config</h3>" |
489 |
|
valPrint cwtrh "Downloading list of external links from $LINKS_URL." |
490 |
|
LINKS_FILE_NAME=$(echo "$LINKS_URL" | sed 's/.*\///') |
491 |
|
LINKS_FILE="$OUTPUT_PATH/$LINKS_FILE_NAME" |
556 |
|
|
557 |
|
|
558 |
|
### MAIN LOOP ### |
559 |
+ |
valPrint t "Links:" |
560 |
+ |
valPrint r "\b1 Links \b0" |
561 |
+ |
valPrint hn "<h3>Links</h3>" |
562 |
|
START_RUN=$(date +%s) |
563 |
|
# Process each line of the .csv in LINKS_FILE |
564 |
|
for LINE in `cat "$LINKS_FILE"`; do |