Checking HTML code on website (to find placeholder problems)
Hi
On another thread I was informed about the problems of http:// links within a secure https:// website. So I am in the process of changing 500+ occurrences of http://... audio and video links held in placeholders to https://... These links are in a multitude of different Xara pages.
Xara doesn't check placeholder code so I'm wondering what's the best way to determine if I've missed any links that needed changing. There are so many I'm bound to miss some.
Any on-line html validator I've tried so far doesn't seem to spot the problem.
An indication of suitable software to help me check my website code would be appreciated.
Ian
Re: Checking HTML code on website (to find placeholder problems)
Ian, download a free copy of Notepad++, https://notepad-plus-plus.org.
Export your website to a local folder, say, C:\Export.
Use NotePad++ > Search > Find in files and input:
- Find what: http:
- Filters: *.*
- Directory: C:\Export
- Search Mode: Normal
All hits of 'http:' will be located to a file and line number and 'https:' will not.
All the files should have htm(l) extensions, so you know which <song>.htm(l) needs updating.
Filters could be set to *.htm or *.html when your website pages end in one or the other.
Acorn
Re: Checking HTML code on website (to find placeholder problems)
Thanks Acorn
I use Notepad++ all the time but never thought of using it like that.
Cheers
Ian