HTTrack Website Copier
Free software offline browser - FORUM
Subject: how to make pseudo-links (srcset tag) relative?
Author: Marcio
Date: 04/13/2016 16:22
 
Hi,

   HtTrack does a great job of transforming all links into relative links.
Unfortunately some are in non-standard tags (I suspect this is Wordpress
stuff) and they remain relative and the local site breaks. Example of the
markup:

<http://www.scaledagileframework.com/product-owner/> , the image "Release
content governance". It has markup like this:

<figure id="attachment_20592" style="width: 652px" class="wp-caption
aligncenter"><img class="size-full wp-image-20592"
src="/wp-content/uploads/2014/07/Fig-1-Release-Content-Governance.png"
alt="Figure 1. Release content governance " width="652" height="398"
srcset="/wp-content/uploads/2014/07/Fig-1-Release-Content-Governance-300x183.png
300w, /wp-content/uploads/2014/07/Fig-1-Release-Content-Governance.png 652w"
sizes="(max-width: 652px) 100vw, 652px" /><figcaption
class="wp-caption-text">Figure 1. Release content
governance</figcaption></figure>

The problem is the srcset tag. HTTrack does not patch it - even though I
enabled the feature that patches things that look like links in non-standard
tags.

Any hope to get this patched? Or do I need to run sed after the fact and patch
this myself?
Thanks!

 
Reply


All articles

Subject Author Date
how to make pseudo-links (srcset tag) relative?

04/13/2016 16:22
Re: how to make pseudo-links (srcset tag) relative?

04/14/2016 07:09




e

Created with FORUM 2.0.11