Convert HTML link values containing relative URLs to use absolute URLs with the cheerio npm package. This isn't a full HTML document, only a fragment that represents a sample of what may be contained ...
When you link to an item on your own weblog, it would be convenient to use a relative rather absolute URL. For example: There are two advantages to the relative approach. First, it's more concise, so ...