Update README.md

This commit is contained in:
manfromhuh 2022-06-30 09:07:59 -04:00
parent 7d02e64445
commit b1321e4e5c

View File

@ -0,0 +1,22 @@
# simple_blog_cms
A Content Management System (CMS) for [simple_blog](https://20xd6.net/git/20xd6/simple_blog).
## Process
1. Find the article to publish.
* This can be from a given path or by parsing the current directory for MarkDown files.
2. Find the article title.
3. Assembles a path to publish the article to from the current month, year, and title.
* The title has all spaces replaced with `_` and a numeral appended to the front for proper sorting.
4. The `index.php` located in the common files directory is then symlinked to all the directories down to the new article path.
5. Adds a date-stamp to the top of the article.
6. Copies all images to the appropriate folder under the publishing path.
7. Adds a file named `tags` to the publishing directory. This is parsed by simple_blog to display tags at the bottom of the page.
## TODO
- [ ] Tagging
- [ ] Update the `tags.csv` file
- [ ] Add a file named `tags` to the article directory
- [ ] Publish from compressed file