batch wizard and background images

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Daniel Lacroix
Rank III - Intermediate
Posts: 92
Joined: Sat Dec 11, 2004 2:38 pm

batch wizard and background images

Post by Daniel Lacroix »

Hi Albert,

While doing check links in batch I found the following:

Some bad links are not being found when they are background-images.
When checking the file individually, the bad links are found.

Unfortunately, I can't give you a link since they are on our intranet.
I will send you the HTML file for validation.

Thanks.

Daniel.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: batch wizard and background images

Post by Albert Wiersch »

Hi Daniel,

The 'Link check' tool or doing a 'Link check only' validation does not support links that are in CSS. Could this be the problem you are having?

I'll make a note to see if this can be addressed in a future update or release.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Daniel Lacroix
Rank III - Intermediate
Posts: 92
Joined: Sat Dec 11, 2004 2:38 pm

Re: batch wizard and background images

Post by Daniel Lacroix »

Albert,

In this case the background images are define on the page itself using the style="" like in the following example.

<td colspan="2" style="background-image: url('images/backgradient5.jpg'); background-repeat: repeat-y; padding: 3px; border: 1px solid black; width:60%;">

Daniel.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: batch wizard and background images

Post by Albert Wiersch »

Daniel Lacroix wrote:Albert,

In this case the background images are define on the page itself using the style="" like in the following example.

<td colspan="2" style="background-image: url('images/backgradient5.jpg'); background-repeat: repeat-y; padding: 3px; border: 1px solid black; width:60%;">
Yes, that is the problem. Link checking links in CSS requires CSS checking and when you do a "link check only" it doesn't do CSS checking and thus doesn't extract the links contained in CSS property values.

How important an issue is this for you? I can try to speed up implementation of a solution if this is a significant issue.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: batch wizard and background images

Post by Albert Wiersch »

UPDATE: The v11 next update (v11.0010), which will be out soon, will extract links from url()'s in "style" values when using the 'link check only' function.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Daniel Lacroix
Rank III - Intermediate
Posts: 92
Joined: Sat Dec 11, 2004 2:38 pm

Re: batch wizard and background images

Post by Daniel Lacroix »

Albert,

This is great!
The reason being I am doing separate reports for
- validation (using validation tool)
- internal link checks (using links check tool)
- external link checks (using links check tool)

Thanks again,
Daniel.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: batch wizard and background images

Post by Albert Wiersch »

Daniel Lacroix wrote:Thanks again,
Daniel.
Sure! You're very welcome. I just released v11.0010 today. Can you try it and let me know if it fixes this problem?
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Daniel Lacroix
Rank III - Intermediate
Posts: 92
Joined: Sat Dec 11, 2004 2:38 pm

Re: batch wizard and background images

Post by Daniel Lacroix »

Albert,

Can I download a trial version to test it, since we would need to upgrade our licenses to use V11.

Daniel.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: batch wizard and background images

Post by Albert Wiersch »

Daniel Lacroix wrote:Albert,

Can I download a trial version to test it, since we would need to upgrade our licenses to use V11.

Daniel.
Hi Daniel,

Yes, you can try the trial. I just updated it to v11.0011.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Daniel Lacroix
Rank III - Intermediate
Posts: 92
Joined: Sat Dec 11, 2004 2:38 pm

Re: batch wizard and background images

Post by Daniel Lacroix »

Albert,
The newest version is finding those links.

Note that I had to go to the primary alternate download site to get v11.0011.

Thanks.
Daniel.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: batch wizard and background images

Post by Albert Wiersch »

Daniel Lacroix wrote:The newest version is finding those links.
Great.
Daniel Lacroix wrote:Note that I had to go to the primary alternate download site to get v11.0011.
Not sure why... could be a cache issue as I just recently updated the trial to v11.0011.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial