Skip to main content

Task for HTML editing in AMP templates

 

Hi, Thank you for joining us. My name is Sergio and today I will explain a simple task for students: HTML file editing for AMP templates.

We used Flutter to build our own small content management system for Firebase at this time.

But we have to test the first AMP pages generated from commands and let the author manually publish their content at this time. Usually, it will be done by the author himself through the content management system in the future. But it is currently under construction. So we want to manually start and generate AMP/HTML and the author only writes tekst in the documentation file.


We have already created some pages for a website and now we want to extend this site for more pages. See example of this site.

https://offerte-pvc-ramen-deuren-glazen-schuif.be/sitemap55-70.html 



That is how it works


You will receive a zip file from us. All generated templates for input will be there.

You will also get zip files with docs from writers so you can convert this text to HTML and put it in template files with text / HTML editor.

You have to take texts that are already written, convert them via online editor into HTML and paste them into template with text editor.

Steps overview

  1. Open doc file in folder in text editor.
  2. Copy text document file
  3. Past it in HTML online editor
  4. Format text with heading and bold
  5. Switch tab copy HTML
  6. Find template file with exact the same name as doc file
  7. Past HTML in that file and save.
  8. When you're ready, move the doc file in the subfolder “done”. So you can see which docs are already done.


Open doc file in folder in text editor


Copy text document file





Past text in HTML online editor

https://html-online.com/editor/ 



Format text with heading and bold

Remove all doc text. Remove any unnecessary formatting so that it starts from Zero.



Use heading 3 for all heads so that all texts remain consistent.



So this list of files you have to update and replace the comment tag <!-- Paste HTML here //→

With formatted HTML and text from documents.. Open template file from folder template with Sublime text editor.



Paste the content from the web HTML editor and save..

You can use every text editor you want or Download sublime from here if not installed. https://www.sublimetext.com/ 


This content in Dutch but it looks like English and readable. You don't have to change anything in text so it's easy and doable even if you don't know the language.

In total we have about 350 artikels which we should publish. I publish 50, sometimes 100 a day. I don't know if you are good with computers and texts. If you want I'll give you the first 50.

This is how you save documents with correct HTML and this is how you put all the files in the folder. When you're ready, move the doc file in the subfolder “done”

Comments

Popular posts from this blog

Pgpool PgBouncer Postgresql streaming replication, load balancing and administration

The term scalability refers to the ability of a software system to grow as the business that uses it grows. PostgreSQL provides some features to help you build scalable solutions, but strictly speaking, PostgreSQL itself is not scalable. It can effectively use the following resources from one computer. Now, we will show you some configurations that may be useful for your use case. However, this can be problematic when distributing the database solution to multiple computers, because the standard PostgreSQL server can only run on a single computer. In this article, we will study different extension schemes and their implementation in PostgreSQL. Replication can be used in many expansion scenarios. Its main purpose is to create and maintain a backup database when the system fails. This is especially true for physical replication. However, replication can also be used to improve the performance of PostgreSQL-based solutions. Sometimes third-party tools can be used to implement complex exp

Tekstverwerking python Text processing python SpaCy, TensorFlow, NLTK, Allen-NLP, Stanford-NLP

 Dit post maakt gebruik van spaCy, een populaire Python-bibliotheek die de taalgegevens en algoritmen bevat die je nodig hebt om teksten in natuurlijke taal te verwerken. Zoals u in dit post zult leren, is spaCy gemakkelijk te gebruiken omdat het containerobjecten biedt die elementen van natuurlijke taalteksten vertegenwoordigen, zoals zinnen en woorden. Deze objecten hebben op hun beurt attributen die taalkenmerken vertegenwoordigen, zoals delen van spraak. Op het moment van schrijven bood spaCy voorgetrainde modellen aan voor Engels, Duits, Grieks, Spaans, Frans, Italiaans, Litouws, Noors Bokmål, Nederlands, Portugees en meerdere talen gecombineerd. Bovendien biedt spaCy ingebouwde visualizers die u programmatisch kunt aanroepen om een grafische weergave van de syntactische structuur van een zin of benoemde entiteiten in een document te genereren.   De spaCy-bibliotheek ondersteunt ook native geavanceerde NLP-functies die andere populaire NLP-bibliotheken voor Python niet hebben. Spa

Elasticsearch install and configuration on Ubuntu

If you plan to use elastic integrated with Django then it would be better to use an old version of Elastic or replace Haystack with Django-Elasticsearch-DSL (Not tested) See old version install at bottom of this post.  New version Elasticsearch ( attention no haystack at this time )  The Elasticsearch components are not available in Ubuntu’s default package repositories. They can, however, be installed with APT after adding Elastic’s package source list. curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation apt-get install gnupg curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list apt update apt