Link Checking using amended path mapping

For technical support for all editions of CSE HTML Validator. Includes bug reports.

Link Checking using amended path mapping

Postby Rowdyed » Wed May 18, 2011 8:51 am

I have many many text files that on the site are converted to HTML files using a php program.
On the local copy, the link within the html page is to d:\dir1\dir2\..\file.html since this is the name of the file that is generated by the php program.
But on the local d drive, the file is actually d:\dir\dir2\..\file.txt.

I have tried to use the path mapping facility in the following way :

Map from d:\dir1\dir2\*\file.html Map to d:\dir1\dir2\*\*.txt so that when the validator sees the an html reference in certain folders, it checks for the equivalent txt file. However, I do not seem to have been able to make this work.

Have I got the syntax wrong or can this not be done with path mapping.

Any help appreciated. (version 10.0204 std)
Rowdyed
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 2
Joined: Wed May 18, 2011 8:30 am

Re: Link Checking using amended path mapping

Postby Albert Wiersch » Wed May 18, 2011 11:08 am

Hello,

It looks like you want to check a *.txt link when there's a *.html link. Sorry, the path mapping feature does not work this way, it only makes path corrections, not filename corrections.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: Link Checking using amended path mapping

Postby Rowdyed » Wed May 18, 2011 11:44 am

Thank you for the reply.

Maybe a future development ?
Rowdyed
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 2
Joined: Wed May 18, 2011 8:30 am

Re: Link Checking using amended path mapping

Postby Albert Wiersch » Wed May 18, 2011 1:03 pm

Rowdyed wrote:Maybe a future development ?


It's always possible, but I do not think many people would use something like this, and it seems rather strange to change the link in that manner.

Though it may be possible with some advanced additional configuration options I am looking into for the next major release.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest