From 768a5da121e9d22a56ab4933faea3572ee343644 Mon Sep 17 00:00:00 2001 From: Mimi Momo Date: Thu, 1 Oct 2020 09:29:47 -0500 Subject: [PATCH] article-to-html script working with new file hierarchy (combined feature + weekly) --- src/entries/200808.html | 122 ++++++++++++++++ src/entries/200810.html | 103 ++++++++++++++ src/entries/200813.html | 132 ++++++++++++++++++ src/entries/200815.html | 124 ++++++++++++++++ src/entries/200918.html | 93 ++++++++++++ .../raw/{tools => }/article-to-html.py | 7 +- 6 files changed, 577 insertions(+), 4 deletions(-) create mode 100644 src/entries/200808.html create mode 100644 src/entries/200810.html create mode 100644 src/entries/200813.html create mode 100644 src/entries/200815.html create mode 100644 src/entries/200918.html rename src/entries/raw/{tools => }/article-to-html.py (69%) diff --git a/src/entries/200808.html b/src/entries/200808.html new file mode 100644 index 0000000..4ef254b --- /dev/null +++ b/src/entries/200808.html @@ -0,0 +1,122 @@ + + + + + + chimchooree's dev space - blessfrey + + + + + + + +
+
+ blessfrey.me
+
+ + + + + + + +
+ +
+

weekly roundup

+ august 4-8, 2020 + css, html, php, server, website
+
+

tuesday, august 4

+
    +
  • CentOS VPS obtained through OVH. Yay! We've always wanted a server.
  • +
+

wednesday, august 5

+
    +
    +
  • design the website
  • +
  • prototype of website running on the server
  • +
  • J set up automation with Jenkins + Ansible
  • +
+
+

thursday, august 6

+ +
+

friday, august 7

+
    +
  • decide to use PHP for manage blessfrey's blog
  • +
  • set up a local Apache server for practice. It was a little confusing!
  • +
  • wrote a vaguely functioning Hello, World! script in PHP +
+
+

saturday, august 8

+ +
+
+ + +
+

about blessfrey

+ It's a game.
+
+ + + +
+

latest

+ Some articles.
+
+ +
+

disclosure

+ No sponsored posts or affiliate links appear in this blog. If they do, they will be properly disclosed.
+
+ blessfrey.me does not collect personal information + has no cookies.
+
+ + + +
+ + + + diff --git a/src/entries/200810.html b/src/entries/200810.html new file mode 100644 index 0000000..e5abbe9 --- /dev/null +++ b/src/entries/200810.html @@ -0,0 +1,103 @@ + + + + + + chimchooree's dev space - blessfrey + + + + + + + +
+
+ blessfrey.me
+
+ + + + + + + +
+ +
+

what is blessfrey?

+august 10, 2020
+
+Blessfrey is a 2D action RPG developed for PC by me, chimchooree.
+
+The game is designed to pit your skill + creativity against a series of combat + puzzle challenges while exploring the depths of the downtown dungeon.
+
+Class progression is freeform, and virtually no decision is permanent. At character creation, you will choose a permanent First Class, but you can unlock several new classes for multiclassing through gameplay. Through swapping out Second Classes, you can find a combination to express your playstyle.
+
+Each class has its own style of skills associated with it. Skills are individual powers gained through gameplay which give specific effects according to their rules. Your skillbar only has 8 skill slots and can only be edited in safe areas. The challenge comes from building winning strategies + synergies against the next area.
+
+Skills are gained through exploration of the game world. As you encounter enemies, meet people, and reach new areas, you will translate those experiences into new skills.
+
+Blessfrey has been lots of fun to work on. I hope you enjoy it once a demo and eventually a game drops.
+
+chimchooree
+
+ + +
+

about blessfrey

+ It's a game.
+
+ + + +
+

latest

+ Some articles.
+
+ +
+

disclosure

+ No sponsored posts or affiliate links appear in this blog. If they do, they will be properly disclosed.
+
+ blessfrey.me does not collect personal information + has no cookies.
+
+ + + +
+ + + + diff --git a/src/entries/200813.html b/src/entries/200813.html new file mode 100644 index 0000000..579b3c3 --- /dev/null +++ b/src/entries/200813.html @@ -0,0 +1,132 @@ + + + + + + chimchooree's dev space - blessfrey + + + + + + + +
+
+ blessfrey.me
+
+ + + + + + + +
+ +
+

all weekly updates

+august 13, 2020
+
+I've kept a more or less consistent private development diary for blessfrey since 2018. Here are the bulleted highlights, broken into weekly portions. I mostly keep it for myself to track progress.
+
+Meaningful discussions on design + process are expanded in separate feature articles.
+
+As a note, Blessfrey's working name is Dungeon Girls, but there's other projects floating around in there. Also, names of people are usually changed for privacy.
+
+Weekly diary pages are below. +
+".fgets($post).""; + echo fgets($post)."
"; + echo " ... Keep Reading"; + echo "

"; +} + +// Iterate over Diary Pages + Snip +function convert_files($files) { + rsort($files); + foreach ($files as $file) { + snip_post($file); + } +} + +// Collect files +function gather_files() { + $files = array(); + foreach (glob("../weekly/*.*") as $file) { + $files[] = $file; + } + return $files; +} + +// Flow - collect files + convert to snippets +// it should be reverse order..newest first +convert_files(gather_files()); +?> +

+
+ + +
+

about blessfrey

+ It's a game.
+
+ + + +
+

latest

+ Some articles.
+
+ +
+

disclosure

+ No sponsored posts or affiliate links appear in this blog. If they do, they will be properly disclosed.
+
+ blessfrey.me does not collect personal information + has no cookies.
+
+ + + +
+ + + + diff --git a/src/entries/200815.html b/src/entries/200815.html new file mode 100644 index 0000000..7b1b228 --- /dev/null +++ b/src/entries/200815.html @@ -0,0 +1,124 @@ + + + + + + chimchooree's dev space - blessfrey + + + + + + + +
+
+ blessfrey.me
+
+ + + + + + + +
+ +
+

weekly roundup

+august 9-15, 2020 +apache, automation, css, html, jenkins, nginx, php, server, website
+
+

monday, august 9

+ +

wednesday, august 5

+
    +
    +
  • design the website
  • +
  • prototype of website running on the server
  • +
  • set up automation with Jenkins + Ansible
  • +
+
+

thursday, august 6

+ +
+

friday, august 7

+
    +
  • decide to use PHP for manage blessfrey's blog
  • +
  • set up a local Apache server with PHP for practice. It was a little confusing!
  • +
  • wrote a vaguely functioning Hello, World! script in PHP +
+
+

saturday, august 8

+ +
+ +
+ + +
+

about blessfrey

+ It's a game.
+
+ + + +
+

latest

+ Some articles.
+
+ +
+

disclosure

+ No sponsored posts or affiliate links appear in this blog. If they do, they will be properly disclosed.
+
+ blessfrey.me does not collect personal information + has no cookies.
+
+ + + +
+ + + + diff --git a/src/entries/200918.html b/src/entries/200918.html new file mode 100644 index 0000000..9382d16 --- /dev/null +++ b/src/entries/200918.html @@ -0,0 +1,93 @@ + + + + + + chimchooree's dev space - blessfrey + + + + + + + +
+
+ blessfrey.me
+
+ + + + + + + +
+ +
+

my favorite GDC talks

+september 18, 2020
+
+I really should be keeping a list of these with descriptions, so why not keep them in an article?
+
+Work on it later.
+
+ + +
+

about blessfrey

+ It's a game.
+
+ + + +
+

latest

+ Some articles.
+
+ +
+

disclosure

+ No sponsored posts or affiliate links appear in this blog. If they do, they will be properly disclosed.
+
+ blessfrey.me does not collect personal information + has no cookies.
+
+ + + +
+ + + + diff --git a/src/entries/raw/tools/article-to-html.py b/src/entries/raw/article-to-html.py similarity index 69% rename from src/entries/raw/tools/article-to-html.py rename to src/entries/raw/article-to-html.py index 5dba0e6..33dcdaa 100644 --- a/src/entries/raw/tools/article-to-html.py +++ b/src/entries/raw/article-to-html.py @@ -9,12 +9,11 @@ def file_to_string(f): return text def fill_text(f): - return file_to_string('../res/head.txt') + file_to_string(f) + file_to_string('../res/tail.txt') + return file_to_string('res/head.txt') + file_to_string(f) + file_to_string('res/tail.txt') def create_files(files, directory): for f in files: print(f) -# t = open(f, "r") n = open(directory + '/' + os.path.basename(f), "w") n.write(fill_text(f)) n.close() @@ -23,13 +22,13 @@ def collect_raw(d): return glob.glob(d) def clear_articles(): - files = glob.glob('../../entries/*') + files = glob.glob('../*.html') for f in files: os.remove(f) def main(): clear_articles() - create_files(collect_raw('../entries/*'), '../../entries') + create_files(collect_raw('entries/*.html'), '..') ## Start Program ##