From fd5ca9551ce75d8856451de7928b000cb3b1c779 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Tue, 5 May 2026 21:42:52 +0200 Subject: update --- README.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100755 index 0000000..b2c9458 --- /dev/null +++ b/README.md @@ -0,0 +1,50 @@ + + ▗▄▄▖ ▗▖ ▗▄▖ ▗▄▄▖ + ▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ + ▐▛▀▚▖▐▌ ▐▌ ▐▌▐▌▝▜▌ + ▐▙▄▞▘▐▙▄▄▖▝▚▄▞▘▝▚▄▞▘ + + +## scripts for a simple blog + +[example: https://wittamore.com](https://wittamore.com) + +> git clone https://git.wittamore.com/blog + +## bash scripts +- **blogthis** creates a blog article +- **blogrss** creates the rss.xml file +- **blogsitemap** creates the sitemap.xml file +- **blogsend x** scp's the files modified in the past x hours to the web server (by default 1) + +**blogthis** sets up the article html header and footer and opens the editor. Articles are written in html. + +For example: + +

A paragraph

+ Bold text +

Header2

+ + +Typical use is **blogthis** followed by **blogrss;blogsitemap;blogsend** + +You can then just use **blogsend** after updating an article + +I use the [micro text editor](https://micro-editor.github.io/), but you can alter **blogthis** to use your favorite editor. + +## php files +- **index.php**, **sticky.php**, **search.php** are the files used to display the blog on the web server + +These files list and search the html files in the web site's "articles" and "sticky" directories + +## The basic web directory + +> /articles + +> /articles/2025 + +> /sticky + +> /images + +> /images/blog -- cgit v1.3-3-g829e