Batch conversion of HTML + external images files into HTML files with embedded images [closed]











up vote
1
down vote

favorite












I have several 1000s of HTML files with their external images, which i need to batch convert into HTML files with the images embedded.
Meaning:
HTML file + external image in folder --> HTML file.



AFAIK from my try at google search, "BASE64 encoding" should be the solution. I know of a browser extension like "SingleFile", but for the 1000s of files, this would be madness.



I tried pandoc, got a shell script working for batch, but all my trials with specifiing HTML4/HTML5/HTML as output format were fruitless, and i can not find any reference to a HTML+BASE64 encoding output format.



If someone could offer any solution, i would be very grateful. A script, Linux or Windows Software, FOSS, freeware or paid.. I am desperate..










share|improve this question









New contributor




Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as too broad by Dave, harrymc, DavidPostill Nov 15 at 20:52


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
    – DavidPostill
    Nov 15 at 20:52










  • Welcome to Super User! You are asking an off-topic question. Questions seeking product, service, or learning material recommendations are off-topic. See On Topic. Try softwarerecs.stackexchange.com but please first read What is required for a question to contain "enough information".
    – DavidPostill
    Nov 15 at 20:52










  • I'm the author of SingleFile. You could use a tool like Selenium to automate Chrome navigation, and enable the auto-save in SingleFile. All you would have to do is enabling the auto-save in SingleFile and ask Chrome to open the pages you want to save one by one with the automation script. Alterntaively, you could save multiple tabs with SingleFile (it can save multiple tabs in one click) but I'm not sure Chrome or Firefox handles well 1,000 opened tabs...
    – check_ca
    Nov 16 at 15:15















up vote
1
down vote

favorite












I have several 1000s of HTML files with their external images, which i need to batch convert into HTML files with the images embedded.
Meaning:
HTML file + external image in folder --> HTML file.



AFAIK from my try at google search, "BASE64 encoding" should be the solution. I know of a browser extension like "SingleFile", but for the 1000s of files, this would be madness.



I tried pandoc, got a shell script working for batch, but all my trials with specifiing HTML4/HTML5/HTML as output format were fruitless, and i can not find any reference to a HTML+BASE64 encoding output format.



If someone could offer any solution, i would be very grateful. A script, Linux or Windows Software, FOSS, freeware or paid.. I am desperate..










share|improve this question









New contributor




Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as too broad by Dave, harrymc, DavidPostill Nov 15 at 20:52


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
    – DavidPostill
    Nov 15 at 20:52










  • Welcome to Super User! You are asking an off-topic question. Questions seeking product, service, or learning material recommendations are off-topic. See On Topic. Try softwarerecs.stackexchange.com but please first read What is required for a question to contain "enough information".
    – DavidPostill
    Nov 15 at 20:52










  • I'm the author of SingleFile. You could use a tool like Selenium to automate Chrome navigation, and enable the auto-save in SingleFile. All you would have to do is enabling the auto-save in SingleFile and ask Chrome to open the pages you want to save one by one with the automation script. Alterntaively, you could save multiple tabs with SingleFile (it can save multiple tabs in one click) but I'm not sure Chrome or Firefox handles well 1,000 opened tabs...
    – check_ca
    Nov 16 at 15:15













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have several 1000s of HTML files with their external images, which i need to batch convert into HTML files with the images embedded.
Meaning:
HTML file + external image in folder --> HTML file.



AFAIK from my try at google search, "BASE64 encoding" should be the solution. I know of a browser extension like "SingleFile", but for the 1000s of files, this would be madness.



I tried pandoc, got a shell script working for batch, but all my trials with specifiing HTML4/HTML5/HTML as output format were fruitless, and i can not find any reference to a HTML+BASE64 encoding output format.



If someone could offer any solution, i would be very grateful. A script, Linux or Windows Software, FOSS, freeware or paid.. I am desperate..










share|improve this question









New contributor




Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have several 1000s of HTML files with their external images, which i need to batch convert into HTML files with the images embedded.
Meaning:
HTML file + external image in folder --> HTML file.



AFAIK from my try at google search, "BASE64 encoding" should be the solution. I know of a browser extension like "SingleFile", but for the 1000s of files, this would be madness.



I tried pandoc, got a shell script working for batch, but all my trials with specifiing HTML4/HTML5/HTML as output format were fruitless, and i can not find any reference to a HTML+BASE64 encoding output format.



If someone could offer any solution, i would be very grateful. A script, Linux or Windows Software, FOSS, freeware or paid.. I am desperate..







conversion documents






share|improve this question









New contributor




Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 15 at 20:26









Dave

23.2k74361




23.2k74361






New contributor




Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 15 at 20:17









Stele77

61




61




New contributor




Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Stele77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




closed as too broad by Dave, harrymc, DavidPostill Nov 15 at 20:52


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as too broad by Dave, harrymc, DavidPostill Nov 15 at 20:52


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
    – DavidPostill
    Nov 15 at 20:52










  • Welcome to Super User! You are asking an off-topic question. Questions seeking product, service, or learning material recommendations are off-topic. See On Topic. Try softwarerecs.stackexchange.com but please first read What is required for a question to contain "enough information".
    – DavidPostill
    Nov 15 at 20:52










  • I'm the author of SingleFile. You could use a tool like Selenium to automate Chrome navigation, and enable the auto-save in SingleFile. All you would have to do is enabling the auto-save in SingleFile and ask Chrome to open the pages you want to save one by one with the automation script. Alterntaively, you could save multiple tabs with SingleFile (it can save multiple tabs in one click) but I'm not sure Chrome or Firefox handles well 1,000 opened tabs...
    – check_ca
    Nov 16 at 15:15


















  • Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
    – DavidPostill
    Nov 15 at 20:52










  • Welcome to Super User! You are asking an off-topic question. Questions seeking product, service, or learning material recommendations are off-topic. See On Topic. Try softwarerecs.stackexchange.com but please first read What is required for a question to contain "enough information".
    – DavidPostill
    Nov 15 at 20:52










  • I'm the author of SingleFile. You could use a tool like Selenium to automate Chrome navigation, and enable the auto-save in SingleFile. All you would have to do is enabling the auto-save in SingleFile and ask Chrome to open the pages you want to save one by one with the automation script. Alterntaively, you could save multiple tabs with SingleFile (it can save multiple tabs in one click) but I'm not sure Chrome or Firefox handles well 1,000 opened tabs...
    – check_ca
    Nov 16 at 15:15
















Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill
Nov 15 at 20:52




Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill
Nov 15 at 20:52












Welcome to Super User! You are asking an off-topic question. Questions seeking product, service, or learning material recommendations are off-topic. See On Topic. Try softwarerecs.stackexchange.com but please first read What is required for a question to contain "enough information".
– DavidPostill
Nov 15 at 20:52




Welcome to Super User! You are asking an off-topic question. Questions seeking product, service, or learning material recommendations are off-topic. See On Topic. Try softwarerecs.stackexchange.com but please first read What is required for a question to contain "enough information".
– DavidPostill
Nov 15 at 20:52












I'm the author of SingleFile. You could use a tool like Selenium to automate Chrome navigation, and enable the auto-save in SingleFile. All you would have to do is enabling the auto-save in SingleFile and ask Chrome to open the pages you want to save one by one with the automation script. Alterntaively, you could save multiple tabs with SingleFile (it can save multiple tabs in one click) but I'm not sure Chrome or Firefox handles well 1,000 opened tabs...
– check_ca
Nov 16 at 15:15




I'm the author of SingleFile. You could use a tool like Selenium to automate Chrome navigation, and enable the auto-save in SingleFile. All you would have to do is enabling the auto-save in SingleFile and ask Chrome to open the pages you want to save one by one with the automation script. Alterntaively, you could save multiple tabs with SingleFile (it can save multiple tabs in one click) but I'm not sure Chrome or Firefox handles well 1,000 opened tabs...
– check_ca
Nov 16 at 15:15















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

AnyDesk - Fatal Program Failure

How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

QoS: MAC-Priority for clients behind a repeater