Spolier Alert

WARNING: Posts addressing individual campaigns contain spoilers, including: Lost Mine of Phandelver, Horde of the Dragon Queen, The Rise of Tiamat, Yawning Portal, Princes of the Apocalypse, and home-brew content.

Sunday, February 16, 2020

PDF Busting Links

Some of my documents include a reference to an internal portion of a page.  Something like this:

https://www.dndbeyond.com/sources/dmg/between-adventures#TrainingtoGainLevels
In teh original document will link to the file specified before the pound sign (hashtag for you young'ns) and then jump to the internal is that follows the pound sign. A problem occurs when converting to PDF format.  The above ends up like this:
https://www.dndbeyond.com/sources/dmg/between-adventures%23TrainingtoGainLevels
It's kind of the same, in that %23 is the code for our friend the pound sign, but it will get a 404 error when followed.

A quick workaround is to shorten the link with bitly.  Just pop the URL into the page at bitly.com and use the short form, which for this case will be:
  https://bit.ly/2UUq1VC
 That's it.

No comments:

Post a Comment