Checking links generated by JavaScript
-
- Rank III - Intermediate
- Posts: 54
- Joined: Sat Dec 11, 2004 2:17 pm
Checking links generated by JavaScript
Hi Albert,
The recent discussions about link checking have prompted me to start one more thread about it. I sometimes use programs, often by Likno, to generate different kinds of JavaScript menus. An example of which can be seen at the link below where I'm using their Accordion Builder. The only problem I've had with these programs is CSE can't check the JavaScript code to verify the links are valid. Is there a current setting I could change or is this something that could be addressed in a future version?
Link to example page: http://www.visitwesterniowa.com/links.html
Thanks,
John
The recent discussions about link checking have prompted me to start one more thread about it. I sometimes use programs, often by Likno, to generate different kinds of JavaScript menus. An example of which can be seen at the link below where I'm using their Accordion Builder. The only problem I've had with these programs is CSE can't check the JavaScript code to verify the links are valid. Is there a current setting I could change or is this something that could be addressed in a future version?
Link to example page: http://www.visitwesterniowa.com/links.html
Thanks,
John
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Checking links generated by JavaScript
Hi John,
Sorry, there is currently no option or ability to check links that are constructed by running JavaScript code. It's always possible a solution could be implemented for a future version, but none is currently planned for v11.
You may want to check your menu builder program as it may implement its own link checker for the menus you build with it.
Sorry, there is currently no option or ability to check links that are constructed by running JavaScript code. It's always possible a solution could be implemented for a future version, but none is currently planned for v11.
You may want to check your menu builder program as it may implement its own link checker for the menus you build with it.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank III - Intermediate
- Posts: 54
- Joined: Sat Dec 11, 2004 2:17 pm
Re: Checking links generated by JavaScript
Thanks Albert,
That's kind of what I thought. I did check and Likno doesn't have a link validator but I just thought of a kludge I can do to check the links with CSE another way.
FWIW I store all the links in a non JavaScript text file before I insert them into the JavaScript program. I can just copy and paste those links into a blank html document and have CSE check them that way.
John
That's kind of what I thought. I did check and Likno doesn't have a link validator but I just thought of a kludge I can do to check the links with CSE another way.
FWIW I store all the links in a non JavaScript text file before I insert them into the JavaScript program. I can just copy and paste those links into a blank html document and have CSE check them that way.
John
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Checking links generated by JavaScript
Hi John,John Zeman wrote:FWIW I store all the links in a non JavaScript text file before I insert them into the JavaScript program. I can just copy and paste those links into a blank html document and have CSE check them that way.
You can also check a list of links in CSE HTML Validator. Use this as the very first line in a text file of links:
Code: Select all
CSEJOBTYPELINKCHECKTEXTLIST
Here's an example file with 3 links:
Code: Select all
CSEJOBTYPELINKCHECKTEXTLIST
https://www.htmlvalidator.com/
https://www.freehtmlvalidator.com/
https://www.cssvalidator.com/
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank III - Intermediate
- Posts: 54
- Joined: Sat Dec 11, 2004 2:17 pm
Re: Checking links generated by JavaScript
Hey thanks for that Albert, I'll give that method a try tomorrow morning.
John
John
-
- Rank III - Intermediate
- Posts: 54
- Joined: Sat Dec 11, 2004 2:17 pm
Re: Checking links generated by JavaScript
Hi again Albert,
I dredging this topic up again because I have a follow up question/feature request. After sending a text file of links to CSE which validates them, is there a way I can copy or somehow output the list of bad links to the clipboard or external file? That would be handy because then I could just send that list of bad URLs to my client who provides the URLs in the first place.
Thanks,
John
I dredging this topic up again because I have a follow up question/feature request. After sending a text file of links to CSE which validates them, is there a way I can copy or somehow output the list of bad links to the clipboard or external file? That would be handy because then I could just send that list of bad URLs to my client who provides the URLs in the first place.
Thanks,
John
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Checking links generated by JavaScript
Hi John,
Do you mean something like Links->Export Links to Text from the Results Window's popup menu but that only shows the error/warning links? If so, then I can try to add this for the next major release.
Also, you may want to try the Batch Wizard and send the report to your client.
Do you mean something like Links->Export Links to Text from the Results Window's popup menu but that only shows the error/warning links? If so, then I can try to add this for the next major release.
Also, you may want to try the Batch Wizard and send the report to your client.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank III - Intermediate
- Posts: 54
- Joined: Sat Dec 11, 2004 2:17 pm
Re: Checking links generated by JavaScript
Yes, that's exactly what I'd like Albert.
I'm afraid the majority of my clients wouldn't understand the results of a batch wizard report though. They depend upon me to break every single technical anything down into plain simple English for them. "You have a bad link, and this is it" they understand, anything beyond that they tend to ignore or send back to me for translation. lol
Thanks,
John
I'm afraid the majority of my clients wouldn't understand the results of a batch wizard report though. They depend upon me to break every single technical anything down into plain simple English for them. "You have a bad link, and this is it" they understand, anything beyond that they tend to ignore or send back to me for translation. lol
Thanks,
John
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Checking links generated by JavaScript
Great. I'll put that on my to-do list and see if I can get that in there.John Zeman wrote:Yes, that's exactly what I'd like Albert.
UPDATE: Added for v11.
If you check a text file of links with the Batch Wizard, then you should only get a link report, so they may be able to understand that easily.John Zeman wrote:I'm afraid the majority of my clients wouldn't understand the results of a batch wizard report though. They depend upon me to break every single technical anything down into plain simple English for them. "You have a bad link, and this is it" they understand, anything beyond that they tend to ignore or send back to me for translation. lol
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial