Re: The Future of Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

As for reporting dead links, I've not tried it, but it can be done with wget:

https://www.digitalocean.com/community/tutorials/how-to-find-broken-links-on-your-website-using-wget-on-debian-7

It's easier on windoze, using wget and console cmd findstr

wget -r -nv -ologfile.txt http://google.com/qwkutyeiobeywfjsbu.html 
Will output lines such as
http://google.com/qwkutyeiobeywfjsbu.html: 
2017-04-09 13:27:25 ERROR 404: Not Found. 
Open the logfile in a text editor, search-replace the '/n' before the date, save file, then use
findstr "ERROR 404:" "e:\wget-11\logfile.txt" > e:\wget-11\l 
ogfile2.txt 
and you will have the missing pages in logfile2. If you do NOT use wget option "spider" you will have a copy of the page that's on the server, which may be different than what's in your local copy. So search the website as wget downloaded it for the bad link. Fix the pages wget downloaded, they will be .html pages(?), then search the top dir for ".html" names, sort by time, those after the date of logfile2 will be the ones you fixed and can re-up to the server.

I am sure i have said the creole on this site is borked.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu