NODE JS SCRIPT txt to html for multiple files | URGENT

Imefungwa Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

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

Kitambulisho cha Mradi: #18255290

Kuhusu mradi

13 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

13 wafanyakazi huru wanazabuni wastani wa €103 kwa kazi hii

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 kwa siku 4
(Maoni 1093)
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 Zaidi

€80 EUR kwa siku 3
(Maoni 25)
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 kwa siku 3
(Maoni 9)
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 kwa siku 3
(Maoni 1)
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 Zaidi

€133 EUR kwa siku 3
(Maoni 0)
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 kwa siku 30
(Maoni 0)
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 Zaidi

€55 EUR kwa siku 20
(Maoni 0)
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 kwa siku 2
(Maoni 0)
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 Zaidi

€44 EUR kwa siku 1
(Maoni 0)
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. Zaidi

€30 EUR kwa siku 2
(Maoni 0)
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 Zaidi

€50 EUR kwa siku 1
(Maoni 1)
0.0