blob: 68287c2d415e387d84dd109f62560a2988de14b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# A collection of scripts to manage my simple blog
> 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)
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 -> /(year)
> /sticky
> /images -> /blog
|