NODE JS SCRIPT txt to html for multiple files | URGENT

Stängt Publicerat 5 år sedan Betalades vid leverans
Stängt Betalades vid leverans

Hi,

I'm working on an artist project with a large quantity of files that are to be prepared for print. Up to now I worked mostly alone, but I reached the part which i don't know how to solve. I would really like to get some help and that - as soon as possible.

Here is the task:

There are a total of 16000 files that are plain text in txt and need to be converted to html. The html output needs to have specific formatting where the filename of the txt file becomes <div class="head"> and the txt string becomes <div class="poem">

Very simply the structure of html should be:

<html>

<head>

<title></title>

</head>

<body>

<div id="content">

<div class="head">filename</div>

<div class="poem">

text from file*.txt with <br> preserved

</div>

</div>

</body>

</html>

After all the files have been converted and formatted they should be combined, so to make one single html of all 500 txt files where the hierarchy of div classes is preserved.

Up to now I succeeded in making the conversion from txt to html in shell and manually adjusting the html file to fit the purpose. However, this is not doable in this quantity of files so I need someone who can write this js script for me.

An example of txt file can be found in the attachment.

And as a reference all these files will be prepared for print using an open source html2print tool.

Looking forward to hearing from you!

HTML JavaScript Node.js

Projekt-id: #18255290

About the project

13 offerter Distansprojekt Aktivt 5 år sedan

13 frilansare har lagt bud på i genomsnitt €103 för det här jobbet

sapotacorp

Dear klikerica! After carefully reviewing the experience requirements for the job description, we feel that we are suitable for the job. Best regards,

€160 EUR inom 4 dagar
(1093 omdömen)
9.3
billinhit

Hi, I am a MEAN stack developer. I am strong on Nodejs. I have experience on using nodejs to parse file and html printing. I read your requirements, this can be resolved by using nodejs. I will use nodejs to read all Mer

€80 EUR inom 3 dagar
(25 omdömen)
5.4
Manavx

Hi, I have 3+ years of industry experience in HTML, CSS, php, node.js, JavaScript, C. I can do this project for you. Hope to hear from you.

€40 EUR inom 3 dagar
(9 omdömen)
3.8
mahios

Hi, I am good with NODE JS and javascript and able to write backend JS script to convert the text file into html as mentioned in the description format. Please text me for further discussion Thanks Mahendran

€155 EUR inom 3 dagar
(1 omdöme)
1.4
jongstar1995

Dear Hiring Manager. I am a full-stack developer with 6+ years of experience working professionally in this field. I am a Front-end Developer, CSS Expert, Vue.js, Vuex & React.js developer. I can not only code a proje Mer

€133 EUR inom 3 dagar
(0 omdömen)
0.0
vinoduk

I can do faster for you. I am living in UK and have 10 years of experience.I will meet your deadlines in time.

€30 EUR inom 30 dagar
(0 omdömen)
0.0
mmaruland

Hello, I'm a student of computing science looking for some experience for laboral world. if I am selected for this job, I am going to have it ready in a few weeks and such I am looking for experience I'll do it at a Mer

€55 EUR inom 20 dagar
(0 omdömen)
0.0
adilaasif

Hello! I can get started on this for you right away. It won't take very long, and I'll be more than happy to talk you through the code used so you can modify the script yourself in the future as needs change.

€100 EUR inom 2 dagar
(0 omdömen)
0.0
danielecr

I am a good software architect. But I can solve this task in few lines of javascript code. Specs: - 16k files (or more, or less) will become one - source folder that contains all the .txt files related, and not othe Mer

€44 EUR inom 1 dag
(0 omdömen)
0.0
mskyda

Hi, I'm ready to do it for you within 1-2 days. I'm a Javascript developer from Germany with 8+ years of experience. The rate I put is so low, because I'm new to freelancer.com and I need to gain reputation here. Mer

€30 EUR inom 2 dagar
(0 omdömen)
0.0
mkmranhaider

I have done same and I can understand your context well I am new here I don't have any review here but I have experience in NodeJS and javescript(ES5, ES6 and above) of expert level, can you please assign this project Mer

€50 EUR inom 1 dag
(1 omdöme)
0.0