NODE JS SCRIPT txt to html for multiple files | URGENT

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

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

Nº del proyecto: #18255290

Sobre el proyecto

13 propuestas Proyecto remoto Activo hace 5 años

13 freelancers están ofertando un promedio de €103 por este trabajo

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 en 4 días
(1093 comentarios)
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 Más

€80 EUR en 3 días
(25 comentarios)
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 en 3 días
(9 comentarios)
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 en 3 días
(1 comentario)
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 Más

€133 EUR en 3 días
(0 comentarios)
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 en 30 días
(0 comentarios)
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 Más

€55 EUR en 20 días
(0 comentarios)
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 en 2 días
(0 comentarios)
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 Más

€44 EUR en 1 día
(0 comentarios)
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. Más

€30 EUR en 2 días
(0 comentarios)
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 Más

€50 EUR en 1 día
(1 comentario)
0.0