## 03 Dogma for SimpleWeb

* **Article 1** : SimpleWeb is not SlowWeb (1) because someone (2) used that as a trademark. It's not very far from smolweb (3) but not so precise on the code. It is a web designed for everyone, everywhere, even with a slow network and a small bandwidth. It is more a friend of Permacomputing (4) because you can use small or old terminals to do it....or a Keep It Simple, Stupid / KISS (5)  concept.
* **Article 2** : SimpleWeb can be created directly in HTML or with any Markdown editor, first. For example,  I used Zettlr (6) or Typora (7) but you can use Markor (8), Ghostwriter (9) or even a standard Notepad. Then you can use any HTML converter. I recommend Pandoc (10) but other tools are possible (for example Zettlr or Typora are using Pandoc tools), even online (11).
* **Article 3** : Think SWING : SimpleWeb Is Not Gemini (...or Gopher) ,but it is as simple as those two protocols for the result. And it's also secure and compatible with W3C Standards (12), the only ones not too screwed by Google. It doesn't need a specific server to configure, as any web hosting service does it for HTML.
* **Article 4** : SimpleWeb has no pictures. It is designed to promote love of writing and reading and the use of hypertext links. You can try to do ASCII art, if you want, that's fun !
* **Article 5** : SimpleWeb use no SEO (Search Engine Optimisation) because SEO is dependent on GAFAM, and Search Engines. Think simple when you write titles, chapters, etc...
* **Article 6** : SimpleWeb is independant of the Operating System. You can create your site on Windows, GNU/Linux, BSD, OSX, Android...Even MSDos if you find a way to convert markdown to HTML or if you write directly in HTML. And why not old computers like Amiga 500, Atari ST, Archimedes...
* **Article 7** : SimpleWeb don't need CSS but you can only use some attributes as :
   * title with a that type of element (13)
   * viewport with that type of Meta Name (14)
   * and if you want some other meta names as Keywords, Tags, you're free....I will show an example below
* **Article 8** : SimpleWeb don't use social networks or comments. It is a social network if you make links between other sites and create answers as new articles in your own blog.
* **Article 9** : SimpleWeb is not something new, it's something light and common sense. And it's something easy to learn and to improve.
* **Article 10** : SimpleWeb has no strict rules except to be understandable and usable by the greatest number of people.

### HowTo :
This is just an example :
Of course, the first page to create is the Index.html... You put a title and the list of articles with links (I know, it'd be like the gophermap or the index.gmi for gemini). I prefer to use the Markdown language because I used it with my former Jekyll blog and it's very simple to understand (15).

All your articles/posts can be in a separate folder, named for example "post" or with a year. The name of each article can be YYMMDD or what you want. I chose to create folders for each years to make archive by year, that's not mandatory.

You can also do pages like the about.hml in a separate folder to explain who you are, what you want…

Pandoc or Zettlr (with Pandoc inside) can use a file to put some HTML or CSS elements. It is useful to copy the same elements as you convert your markdown file to HTML. I can change my file if I'm doing a post, a page, another year if I want or to copy the same txt file everywhere....or not doing this and just put a Title and nothing else to my file. For example, I use the following code "header-includes: " in my file and then the < > to put the metaname I want to use. You can try to look my source code on that page, for example with your browser (a very useful way to learn...). The «Style» part is not mandatory.

I chose to add a small menu to navigate on the site with Home, About and Contact. It's your choice but it's only a line of code to copy in each .md or .html file.

When I convert all my markdown (.md) file to html, I just have to put it on the website. I can do it with ssh, sftp, or other tools, depending on the server you want to use. But for a new article, I just have to create HTML for the article and to add a new line into my index.html / index.md and upload those two files. It also works with github or gitlab pages.

So, if you think to all the time you spare with a wordpress CMS (especially to keet it secure and to make updates and backups) to do that or with a static site generator, that's far more simple and it's YOUR code. And you can improve it, keeping in mind that it must be....Simple !

And to have some figures, my old website was lower than 100kb. Now, it's lower than 10kb. Maybe too simple ?

2Dɛ

***Links :***

=> https://www.thestoryengine.co/slow-web-movement/ (1) : SlowWeb
=> https://www.slowweb.io/fr/ (2) : The Slowweb initiative
=> http://smolweb.org/ (3) : smolweb
=> https://permacomputing.net/Principles/ (4) : Permacomputing
=> https://en.wikipedia.org/wiki/KISS_principle (5) : KISS
=> https://www.zettlr.com/ (6) : Zettlr
=> https://typora.io/ (7) : Typora
=> https://gsantner.net/project/markor.html (8) : Markor
=> https://ghostwriter.kde.org/fr/ (9) : Ghostwriter
=> https://pandoc.org/ (10) : Pandoc
=> https://markdowntohtml.com/ (11) : online markdown converter
=> https://validator.w3.org/ (12) : W3C Standards
=> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title (13) : the Title element
=> https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag (14) : the Viewport Meta Name
=> https://www.markdownguide.org/ (15) : Markdown guide


=> mailto:[email protected] Comments by mail
or by a reply on your blog