The situation where this reprocessing fails is when files are taken from
the output of the RSS aggregator rawdog. I've attached an example
source file here.
$ pandoc -o Feeds-reprocessed.html -f html -t html5 --self-contained
Feeds.html
pandoc: Could not fetch
https://2.bp.blogspot.com/-Bnny6lL9DkY/V67nsSYFLMI/BmU/vII8_kOujh8ujsy6OamtcvNtL_E-8vzUACLcB/s640/ADDX.jpg
TlsExceptionHostPort (HandshakeFailed Error_EOF) "2.bp.blogspot.com" 443
In contrast, if I attempt instead:
$ pandoc -o Feeds-reprocessed.epub -f html -t epub --self
-contained Feeds.html
pandoc: Could not find media
`https://2.bp.blogspot.com/-Bnny6lL9DkY/V67nsSYFLMI/BmU/vII8_kOujh8ujsy6OamtcvNtL_E-8vzUACLcB/s640/ADDX.jpg',
skipping...
pandoc: Could not find media
`https://4.bp.blogspot.com/-18CvlS_4n8o/V66lnPeUbXI/New/ZOHUdJ-C9O4_nIMjcXxzF0OzbNfKDg4yQCLcB/s320/samurai.png',
skipping...
pandoc: Could not find media
`https://1.bp.blogspot.com/-L_wwB-xz9Jw/V66ceT9fyEI/Neg/MWU1HetVZ_4ubL1rc2FUqcFt0r5EJcOqQCLcB/s320/hillary%2Bwall.png',
skipping...
pandoc: Could not find media
`https://2.bp.blogspot.com/-MT4dyuHl0nY/V6z92fpQGhI/Ago/_5XZQoat46w8_QYHSvPYtsBxBaZA-Io0gCLcB/s1600/clockboyhonda.jpg',
skipping...
pandoc: Could not find media
`https://2.bp.blogspot.com/--RayZ7bxBQ0/V6z_fUp6JlI/Ag0/kvPgPYP-kN0ghfgQBct_mH_wUVEcJZ1HwCLcB/s320/balloonboytrump.PNG',
skipping...
pandoc: Could not find media
`https://2.bp.blogspot.com/-ObMhaEUnAuw/V60CZUnpofI/AhQ/tjAq6TBcMwsSga-ewoOZBvWVwN53C8zWgCLcB/s320/batboy_1_2.jpg',
skipping...
pandoc: Could not find media
`https://1.bp.blogspot.com/-pIqJp7lHVfU/V60Cs1PUkTI/AhU/Oe1JQZOAUcAJVU4JL0m5m0bXkmBofOnLwCLcB/s1600/spacealienbill.jpg',
skipping...
pandoc: Could not find media
`https://4.bp.blogspot.com/-7auuE8vY4sQ/V60CuVJVW4I/AhY/e8UNIgHCn44eSQuTC9kHHY8wvtOSl8vdQCLcB/s1600/spacealienhillary.jpg',
skipping...
pandoc: Could not find media
`https://4.bp.blogspot.com/-0MQp4idRRR4/V60CwBQzapI/Ahc/Jw8l3jei7wYah33g_lFPylXWmsK6fExwACLcB/s1600/spacealienobama.jpg',
skipping...
pandoc: Could not find media
`https://1.bp.blogspot.com/-JhSifWBK1pI/V6byCGJV9cI/AdY/Tm7ud8FOvpArQPbuht7-HwLGdSK8VleSQCLcB/s1600/icon_neutral.gif',
skipping...
pandoc: Could not find media
`http://www.blazingcatfur.ca/wp-content/plugins/add-to-any/icons/facebook.png',
skipping...
pandoc: Could not find media
`http://www.blazingcatfur.ca/wp-content/plugins/add-to-any/icons/twitter.png',
skipping...
pandoc: Could not find media
`http://www.blazingcatfur.ca/wp-content/plugins/add-to-any/icons/google_plus.png',
skipping...
pandoc: Could not find media
`http://www.blazingcatfur.ca/wp-content/plugins/add-to-any/icons/reddit.png',
skipping...
pandoc: Could not find media
`http://www.blazingcatfur.ca/wp-content/plugins/add-to-any/icons/linkedin.png',
skipping...
pandoc: Could not find media
`http://www.blazingcatfur.ca/wp-content/plugins/add-to-any/icons/tumblr.png',
skipping...
pandoc: Could not find media
`http://www.blazingcatfur.ca/wp-content/plugins/add-to-any/icons/whatsapp.png',
skipping...
And a somewhat usable EPUB is generated.
** Attachment added: "An example file being used for reprocessing to being
self-contained"
https://bugs.launchpad.net/ubuntu/+source/pandoc/+bug/1610722/+attachment/4720770/+files/Feeds.html
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610722
Title:
When using --self-contained option in writing HTML pandoc cannot
download materials accessible only via HTTPS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pandoc/+bug/1610722/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs