Writing the Json Lines file editor script
I need to write a script to edit the articles obtained as a result of the parsing.Articles are stored in the Json Lines file format.The file structure is described here: https://docs.zyte.com/zyte-data/schemas/article/1.0.html
The file example is attached to the task.The task is as follows: it is necessary to bring raw data into the ready for publication form.I think the script should consist of two pages:
The first page:
List of articles (Titles)
The column “probability” describes the degree of relevance of the article.Edit and removal buttons.Filter that allows you to indicate the probability value, and when you press the sorting button.Page of article editing:
All data from the file structure.At the bottom and top of the page you need to add the buttons:
- "Forget" (transition to the next article without saving)
- "Save" (Save the article and stay on this page)
- “Save and move” (to the following article).It is necessary to keep the results in a separate file to save the finished results with the following fields:
The headline (the headline)- "short text" (short text) - it is not, on the editing page make such a field so that you can add several paragraphs
The full text (the full text).The “language” (language)“URL” is a link.Due to the large number of articles, it is necessary to develop the script in such a way that it verifies and saves the results after they are edited.This will prevent re-working of articles.You can enter a note or note indicating that this article has already been processed to prevent its re-editing.The source file should be placed on the server (ideally - uploaded through FTP) so that I can change it.Off your options, I will be happy to have feedback!It would be great to realize this using the Laravel framework on the server and Bootstrap on the front-tend.
Applications 3
-
1161 29 1 3 Good day !
I realize a convenient script for editing records on laravel. You just need to discuss in what form you want to import and export records.
-
3340 101 4 3 I can do on the Laravel + bottstrap on the finished admin, with the replacement of the files on the edited as you wrote.
When storing files in json can be problems with a large number of files will work bad filter and sorting in the ideal still migrating these data into the base and then, already working with them, but you can only with files without the base.
About the tag you can add some additional field to the json and remove it into the base, or to add some symbol in front of the file name (so it will be more convenient to sort them on the disk rather than through the editor).
In general, there are quite a lot of options for implementation, depending on your specificity, we can choose the most convenient and optimal.
Write it.
In general it is necessary
-
696 35 3 2 Welcome, ready to perform on the system.
_________________________________________________________
-
1066 25 4 1 Hello to you. I specialize in CRM, dashboard, databases and WEB processing, accounting and analytics services. Comfortable and modern design. The development is completely key. turn to
Vue JS + Bootstrap + PHP
-
12437 600 0 Hello, I can implement a cast solution under your task.
Node JS or PHP
-
Есть разница "написать скрипт" и "сделать сайт". Соответственно это влияет и на ценообразование.
-
Current freelance projects in the category Web Programming
Update of the one-page website for construction services
22 USD
Updating the existing one-page self-written website for construction services Task: -Redesign of the website -Adding service categories by creating a multi-landing page for 6 categories -Adding photos and descriptions of work to each category -Optimization of the website's… Web Programming ∙ 4 hours 30 minutes back ∙ 47 proposals |
Refinement of the Front-end e-commerce site on OpencartNeed to refine the front-end of an e-commerce site on OpenCart. Main tasks: fix visual bugs, ensure responsiveness for mobile devices, improve the display of product cards, categories, cart, and checkout page. Neat layout is expected, maintaining the current design, and correct… Content Management Systems, Web Programming ∙ 6 hours 19 minutes back ∙ 37 proposals |
Development of a lead collection form before program upload (MODX)Website: bricscad-ukraine.com.uaCMS: MODXGoal: Create a lead collection mechanism before downloading software for 3 versions: Windows, MacOS, Linux from the site for further processing by the sales department. Web Programming ∙ 9 hours 48 minutes back ∙ 27 proposals |
Remove viruses from the site and update plugins (Wordpress)Need a WordPress specialist for technical refinement of the website Task: Clean the website https://www.mast-agency.com/ from viruses/malicious code, files; (there is a virus on the site that creates pages and redirects to someone else's store) Update plugins so that the… Content Management Systems, Web Programming ∙ 13 hours 20 minutes back ∙ 68 proposals |
Make sure that order emails from the store do not go to spam.Currently, there is a store on OpenCart, and order emails are landing in spam. We need to ensure they go to Inbox (ukr.net gmail) and check it. The hosting provider wrote: Poor email delivery may be related to a low sender reputation - IP or domain. In this case, we can advise… PHP, Web Programming ∙ 14 hours 24 minutes back ∙ 45 proposals |