added diary entries; hard-coded most of snippet generation; gather all files in feature - reverse sort - make snippet with "title", "words" "11/22/33", "social" and "link" for each files gathered
This commit is contained in:
@@ -0,0 +1,103 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<head>
|
||||||
|
<title>chimchooree's dev space - blessfrey</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../res/styles/feature.css"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- Body -->
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="whitespace">
|
||||||
|
blessfrey.me<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blessfrey-logo"></div>
|
||||||
|
<div class="nav-row"></div>
|
||||||
|
|
||||||
|
<!--Navigation Bar-->
|
||||||
|
<div class="nav-grid">
|
||||||
|
<div class="nav-bar"></div>
|
||||||
|
<div class="nav-index">
|
||||||
|
<a href="index.html">
|
||||||
|
<div class="button">home</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-game">
|
||||||
|
<a href="game.html">
|
||||||
|
<div class="button">game</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-diary">
|
||||||
|
<a href="diary.php">
|
||||||
|
<div class="button">diary</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-presskit">
|
||||||
|
<a href="presskit.html">
|
||||||
|
<div class="button">presskit</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
|
<div class="diary-entry">
|
||||||
|
<h1>what is blessfrey? </h1>
|
||||||
|
august 10, 2020<br>
|
||||||
|
<br>
|
||||||
|
<b>Blessfrey</b> is a 2D action RPG developed for PC by me, chimchooree. <br>
|
||||||
|
<br>
|
||||||
|
The game is designed to pit your skill + creativity against a series of combat + puzzle challenges while exploring the depths of the downtown dungeon. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
Blessfrey has been lots of fun to work on. I hope you enjoy it once a demo and eventually a game drops. <br>
|
||||||
|
<br>
|
||||||
|
chimchooree<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--right column-->
|
||||||
|
<div class="about-box">
|
||||||
|
<h1>about blessfrey</h1>
|
||||||
|
It's a game.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="twitter-box">
|
||||||
|
<h1>follow on twitter</h1>
|
||||||
|
<a href="https://twitter.com/lilchimchooree">@lilchimchooree</a><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="latest">
|
||||||
|
<h1>latest</h1>
|
||||||
|
Some articles.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="disclosure">
|
||||||
|
<h1>disclosure</h1>
|
||||||
|
No sponsored posts or affiliate links appear in this blog. If they do, they will be <a href="https://www.ftc.gov/tips-advice/business-center/guidance/ftcs-endorsement-guides-what-people-are-asking">properly</a> <a href="https://www.ftc.gov/sites/default/files/attachments/press-releases/ftc-publishes-final-guides-governing-endorsements-testimonials/091005revisedendorsementguides.pdf">disclosed</a>.<br>
|
||||||
|
<br>
|
||||||
|
blessfrey.me does not collect personal information + has no cookies.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--Footer-->
|
||||||
|
<div class="footer-row">
|
||||||
|
<footer>
|
||||||
|
<div class="footer">
|
||||||
|
© chimchooree<br>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,132 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<head>
|
||||||
|
<title>chimchooree's dev space - blessfrey</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../res/styles/feature.css"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- Body -->
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="whitespace">
|
||||||
|
blessfrey.me<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blessfrey-logo"></div>
|
||||||
|
<div class="nav-row"></div>
|
||||||
|
|
||||||
|
<!--Navigation Bar-->
|
||||||
|
<div class="nav-grid">
|
||||||
|
<div class="nav-bar"></div>
|
||||||
|
<div class="nav-index">
|
||||||
|
<a href="index.html">
|
||||||
|
<div class="button">home</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-game">
|
||||||
|
<a href="game.html">
|
||||||
|
<div class="button">game</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-diary">
|
||||||
|
<a href="diary.php">
|
||||||
|
<div class="button">diary</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-presskit">
|
||||||
|
<a href="presskit.html">
|
||||||
|
<div class="button">presskit</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
|
<div class="diary-entry">
|
||||||
|
<h1>all weekly updates</h1>
|
||||||
|
august 13, 2020<br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
Meaningful discussions on design + process are expanded in separate feature articles. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
Weekly diary pages are below.
|
||||||
|
<br>
|
||||||
|
<?php
|
||||||
|
//Convert Weekly Summary to Snippet
|
||||||
|
function snip_post($file) {
|
||||||
|
$post = fopen($file, "r") or die("Unable to load articles.");
|
||||||
|
|
||||||
|
fgets($post);
|
||||||
|
echo "<h1>".fgets($post)."</h1>";
|
||||||
|
echo fgets($post)."<br>";
|
||||||
|
echo " ... <a href={$file}>Keep Reading</a>";
|
||||||
|
echo "<br><br>";
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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());
|
||||||
|
?>
|
||||||
|
<br><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--right column-->
|
||||||
|
<div class="about-box">
|
||||||
|
<h1>about blessfrey</h1>
|
||||||
|
It's a game.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="twitter-box">
|
||||||
|
<h1>follow on twitter</h1>
|
||||||
|
<a href="https://twitter.com/lilchimchooree">@lilchimchooree</a><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="latest">
|
||||||
|
<h1>latest</h1>
|
||||||
|
Some articles.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="disclosure">
|
||||||
|
<h1>disclosure</h1>
|
||||||
|
No sponsored posts or affiliate links appear in this blog. If they do, they will be <a href="https://www.ftc.gov/tips-advice/business-center/guidance/ftcs-endorsement-guides-what-people-are-asking">properly</a> <a href="https://www.ftc.gov/sites/default/files/attachments/press-releases/ftc-publishes-final-guides-governing-endorsements-testimonials/091005revisedendorsementguides.pdf">disclosed</a>.<br>
|
||||||
|
<br>
|
||||||
|
blessfrey.me does not collect personal information + has no cookies.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--Footer-->
|
||||||
|
<div class="footer-row">
|
||||||
|
<footer>
|
||||||
|
<div class="footer">
|
||||||
|
© chimchooree<br>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,93 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<head>
|
||||||
|
<title>chimchooree's dev space - blessfrey</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../res/styles/feature.css"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- Body -->
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="whitespace">
|
||||||
|
blessfrey.me<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blessfrey-logo"></div>
|
||||||
|
<div class="nav-row"></div>
|
||||||
|
|
||||||
|
<!--Navigation Bar-->
|
||||||
|
<div class="nav-grid">
|
||||||
|
<div class="nav-bar"></div>
|
||||||
|
<div class="nav-index">
|
||||||
|
<a href="index.html">
|
||||||
|
<div class="button">home</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-game">
|
||||||
|
<a href="game.html">
|
||||||
|
<div class="button">game</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-diary">
|
||||||
|
<a href="diary.php">
|
||||||
|
<div class="button">diary</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-presskit">
|
||||||
|
<a href="presskit.html">
|
||||||
|
<div class="button">presskit</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
|
<div class="diary-entry">
|
||||||
|
<h1>my favorite GDC talks </h1>
|
||||||
|
september 18, 2020<br>
|
||||||
|
<br>
|
||||||
|
I really should be keeping a list of these with descriptions, so why not keep them in an article?<br>
|
||||||
|
<br>
|
||||||
|
Work on it later.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--right column-->
|
||||||
|
<div class="about-box">
|
||||||
|
<h1>about blessfrey</h1>
|
||||||
|
It's a game.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="twitter-box">
|
||||||
|
<h1>follow on twitter</h1>
|
||||||
|
<a href="https://twitter.com/lilchimchooree">@lilchimchooree</a><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="latest">
|
||||||
|
<h1>latest</h1>
|
||||||
|
Some articles.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="disclosure">
|
||||||
|
<h1>disclosure</h1>
|
||||||
|
No sponsored posts or affiliate links appear in this blog. If they do, they will be <a href="https://www.ftc.gov/tips-advice/business-center/guidance/ftcs-endorsement-guides-what-people-are-asking">properly</a> <a href="https://www.ftc.gov/sites/default/files/attachments/press-releases/ftc-publishes-final-guides-governing-endorsements-testimonials/091005revisedendorsementguides.pdf">disclosed</a>.<br>
|
||||||
|
<br>
|
||||||
|
blessfrey.me does not collect personal information + has no cookies.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--Footer-->
|
||||||
|
<div class="footer-row">
|
||||||
|
<footer>
|
||||||
|
<div class="footer">
|
||||||
|
© chimchooree<br>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<h1>what is blessfrey? </h1>
|
||||||
|
august 10, 2020<br>
|
||||||
|
<br>
|
||||||
|
<b>Blessfrey</b> is a 2D action RPG developed for PC by me, chimchooree. <br>
|
||||||
|
<br>
|
||||||
|
The game is designed to pit your skill + creativity against a series of combat + puzzle challenges while exploring the depths of the downtown dungeon. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
Blessfrey has been lots of fun to work on. I hope you enjoy it once a demo and eventually a game drops. <br>
|
||||||
|
<br>
|
||||||
|
chimchooree<br>
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
<h1>all weekly updates</h1>
|
||||||
|
august 13, 2020<br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
Meaningful discussions on design + process are expanded in separate feature articles. <br>
|
||||||
|
<br>
|
||||||
|
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. <br>
|
||||||
|
<br>
|
||||||
|
Weekly diary pages are below.
|
||||||
|
<br>
|
||||||
|
<?php
|
||||||
|
//Convert Weekly Summary to Snippet
|
||||||
|
function snip_post($file) {
|
||||||
|
$post = fopen($file, "r") or die("Unable to load articles.");
|
||||||
|
|
||||||
|
fgets($post);
|
||||||
|
echo "<h1>".fgets($post)."</h1>";
|
||||||
|
echo fgets($post)."<br>";
|
||||||
|
echo " ... <a href={$file}>Keep Reading</a>";
|
||||||
|
echo "<br><br>";
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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());
|
||||||
|
?>
|
||||||
|
<br><br>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<h1>my favorite GDC talks </h1>
|
||||||
|
september 18, 2020<br>
|
||||||
|
<br>
|
||||||
|
I really should be keeping a list of these with descriptions, so why not keep them in an article?<br>
|
||||||
|
<br>
|
||||||
|
Work on it later.<br>
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
</div>
|
||||||
|
|
||||||
|
<!--right column-->
|
||||||
|
<div class="about-box">
|
||||||
|
<h1>about blessfrey</h1>
|
||||||
|
It's a game.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="twitter-box">
|
||||||
|
<h1>follow on twitter</h1>
|
||||||
|
<a href="https://twitter.com/lilchimchooree">@lilchimchooree</a><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="latest">
|
||||||
|
<h1>latest</h1>
|
||||||
|
Some articles.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="disclosure">
|
||||||
|
<h1>disclosure</h1>
|
||||||
|
No sponsored posts or affiliate links appear in this blog. If they do, they will be <a href="https://www.ftc.gov/tips-advice/business-center/guidance/ftcs-endorsement-guides-what-people-are-asking">properly</a> <a href="https://www.ftc.gov/sites/default/files/attachments/press-releases/ftc-publishes-final-guides-governing-endorsements-testimonials/091005revisedendorsementguides.pdf">disclosed</a>.<br>
|
||||||
|
<br>
|
||||||
|
blessfrey.me does not collect personal information + has no cookies.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--Footer-->
|
||||||
|
<div class="footer-row">
|
||||||
|
<footer>
|
||||||
|
<div class="footer">
|
||||||
|
© chimchooree<br>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<head>
|
||||||
|
<title>chimchooree's dev space - blessfrey</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../res/styles/feature.css"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- Body -->
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="whitespace">
|
||||||
|
blessfrey.me<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blessfrey-logo"></div>
|
||||||
|
<div class="nav-row"></div>
|
||||||
|
|
||||||
|
<!--Navigation Bar-->
|
||||||
|
<div class="nav-grid">
|
||||||
|
<div class="nav-bar"></div>
|
||||||
|
<div class="nav-index">
|
||||||
|
<a href="index.html">
|
||||||
|
<div class="button">home</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-game">
|
||||||
|
<a href="game.html">
|
||||||
|
<div class="button">game</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-diary">
|
||||||
|
<a href="diary.php">
|
||||||
|
<div class="button">diary</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-presskit">
|
||||||
|
<a href="presskit.html">
|
||||||
|
<div class="button">presskit</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
|
<div class="diary-entry">
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
import os
|
||||||
|
import glob
|
||||||
|
|
||||||
|
def file_to_string(f):
|
||||||
|
text = ""
|
||||||
|
with open(f, 'r') as n:
|
||||||
|
text = n.read()
|
||||||
|
n.close()
|
||||||
|
return text
|
||||||
|
|
||||||
|
def fill_text(f):
|
||||||
|
return file_to_string('../res/head.txt') + file_to_string(f) + file_to_string('../res/foot.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()
|
||||||
|
|
||||||
|
def collect_raw(d):
|
||||||
|
return glob.glob(d)
|
||||||
|
|
||||||
|
def clear_articles():
|
||||||
|
files = glob.glob('../../feature/*')
|
||||||
|
for f in files:
|
||||||
|
os.remove(f)
|
||||||
|
|
||||||
|
files = glob.glob('../../weekly/*')
|
||||||
|
for w in files:
|
||||||
|
os.remove(w)
|
||||||
|
|
||||||
|
def main():
|
||||||
|
clear_articles()
|
||||||
|
create_files(collect_raw('../feature/*'), '../../feature')
|
||||||
|
create_files(collect_raw('../weekly/*'), '../../weekly')
|
||||||
|
|
||||||
|
## Start Program ##
|
||||||
|
|
||||||
|
main()
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
<h1>weekly roundup</h1>
|
||||||
|
august 4-8, 2020
|
||||||
|
css, html, php, server, website<br>
|
||||||
|
<br>
|
||||||
|
<h2>tuesday, august 4</h2>
|
||||||
|
<ul>
|
||||||
|
<li>CentOS VPS obtained through OVH. Yay! We've always wanted a server.</li>
|
||||||
|
</ul>
|
||||||
|
<h2>wednesday, august 5</h2>
|
||||||
|
<ul>
|
||||||
|
<br>
|
||||||
|
<li>design the website</li>
|
||||||
|
<li>prototype of website running on the server</li>
|
||||||
|
<li>J set up automation with Jenkins + Ansible</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>thursday, august 6</h2>
|
||||||
|
<ul>
|
||||||
|
<li>create some placeholder graphics, articles + css</li>
|
||||||
|
<li>add a <a href="https://publish.twitter.com/#">Twitter timeline embed</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>friday, august 7</h2>
|
||||||
|
<ul>
|
||||||
|
<li>decide to use PHP for manage blessfrey's blog</li>
|
||||||
|
<li>set up a local Apache server for practice. <a href="200807.html">It was a little confusing!</a></li>
|
||||||
|
<li>wrote a vaguely functioning Hello, World! script in PHP
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>saturday, august 8</h2>
|
||||||
|
<ul>
|
||||||
|
<li>forgot to bid on the Skull of Death in the <a href="http://www.verpets.com/auctions/">Auction House</a>...aw man...</li>
|
||||||
|
<li>added images to live site <a href="200808.html">despite conflicts with Linux's security</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
<h1>weekly roundup</h1>
|
||||||
|
august 9-15, 2020
|
||||||
|
apache, automation, css, html, jenkins, nginx, php, server, website<br>
|
||||||
|
<br>
|
||||||
|
<h2>monday, august 9</h2>
|
||||||
|
<ul>
|
||||||
|
<li>second week of <a href="https://flightrising.com/main.php?p=dominance">dom</a>! yeah!</li>
|
||||||
|
<li>studied PHP with <a href="https://www.w3schools.com/php/php_intro.asp">W3Schools</a>
|
||||||
|
</ul>
|
||||||
|
<h2>wednesday, august 5</h2>
|
||||||
|
<ul>
|
||||||
|
<br>
|
||||||
|
<li>design the website</li>
|
||||||
|
<li>prototype of website running on the server</li>
|
||||||
|
<li><span class="J">set up automation with Jenkins + Ansible</span></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>thursday, august 6</h2>
|
||||||
|
<ul>
|
||||||
|
<li>create some placeholder graphics, articles + css</li>
|
||||||
|
<li>add a <a href="https://publish.twitter.com/#">Twitter timeline embed</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>friday, august 7</h2>
|
||||||
|
<ul>
|
||||||
|
<li>decide to use PHP for manage blessfrey's blog</li>
|
||||||
|
<li>set up a local Apache server with PHP for practice. <a href="200807.html">It was a little confusing!</a></li>
|
||||||
|
<li>wrote a vaguely functioning Hello, World! script in PHP
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>saturday, august 8</h2>
|
||||||
|
<ul>
|
||||||
|
<li>forgot to bid on the Skull of Death in the auction house...aw man...</li>
|
||||||
|
<li>added images to live site <a href="200808.html">despite conflicts with Linux's security</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
@@ -0,0 +1,122 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<head>
|
||||||
|
<title>chimchooree's dev space - blessfrey</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../res/styles/feature.css"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- Body -->
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="whitespace">
|
||||||
|
blessfrey.me<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blessfrey-logo"></div>
|
||||||
|
<div class="nav-row"></div>
|
||||||
|
|
||||||
|
<!--Navigation Bar-->
|
||||||
|
<div class="nav-grid">
|
||||||
|
<div class="nav-bar"></div>
|
||||||
|
<div class="nav-index">
|
||||||
|
<a href="index.html">
|
||||||
|
<div class="button">home</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-game">
|
||||||
|
<a href="game.html">
|
||||||
|
<div class="button">game</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-diary">
|
||||||
|
<a href="diary.php">
|
||||||
|
<div class="button">diary</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-presskit">
|
||||||
|
<a href="presskit.html">
|
||||||
|
<div class="button">presskit</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
|
<div class="diary-entry">
|
||||||
|
<h1>weekly roundup</h1>
|
||||||
|
august 4-8, 2020
|
||||||
|
css, html, php, server, website<br>
|
||||||
|
<br>
|
||||||
|
<h2>tuesday, august 4</h2>
|
||||||
|
<ul>
|
||||||
|
<li>CentOS VPS obtained through OVH. Yay! We've always wanted a server.</li>
|
||||||
|
</ul>
|
||||||
|
<h2>wednesday, august 5</h2>
|
||||||
|
<ul>
|
||||||
|
<br>
|
||||||
|
<li>design the website</li>
|
||||||
|
<li>prototype of website running on the server</li>
|
||||||
|
<li>J set up automation with Jenkins + Ansible</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>thursday, august 6</h2>
|
||||||
|
<ul>
|
||||||
|
<li>create some placeholder graphics, articles + css</li>
|
||||||
|
<li>add a <a href="https://publish.twitter.com/#">Twitter timeline embed</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>friday, august 7</h2>
|
||||||
|
<ul>
|
||||||
|
<li>decide to use PHP for manage blessfrey's blog</li>
|
||||||
|
<li>set up a local Apache server for practice. <a href="200807.html">It was a little confusing!</a></li>
|
||||||
|
<li>wrote a vaguely functioning Hello, World! script in PHP
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>saturday, august 8</h2>
|
||||||
|
<ul>
|
||||||
|
<li>forgot to bid on the Skull of Death in the <a href="http://www.verpets.com/auctions/">Auction House</a>...aw man...</li>
|
||||||
|
<li>added images to live site <a href="200808.html">despite conflicts with Linux's security</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--right column-->
|
||||||
|
<div class="about-box">
|
||||||
|
<h1>about blessfrey</h1>
|
||||||
|
It's a game.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="twitter-box">
|
||||||
|
<h1>follow on twitter</h1>
|
||||||
|
<a href="https://twitter.com/lilchimchooree">@lilchimchooree</a><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="latest">
|
||||||
|
<h1>latest</h1>
|
||||||
|
Some articles.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="disclosure">
|
||||||
|
<h1>disclosure</h1>
|
||||||
|
No sponsored posts or affiliate links appear in this blog. If they do, they will be <a href="https://www.ftc.gov/tips-advice/business-center/guidance/ftcs-endorsement-guides-what-people-are-asking">properly</a> <a href="https://www.ftc.gov/sites/default/files/attachments/press-releases/ftc-publishes-final-guides-governing-endorsements-testimonials/091005revisedendorsementguides.pdf">disclosed</a>.<br>
|
||||||
|
<br>
|
||||||
|
blessfrey.me does not collect personal information + has no cookies.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--Footer-->
|
||||||
|
<div class="footer-row">
|
||||||
|
<footer>
|
||||||
|
<div class="footer">
|
||||||
|
© chimchooree<br>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<head>
|
||||||
|
<title>chimchooree's dev space - blessfrey</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
|
||||||
|
<link rel="stylesheet" type="text/css" href="../../../res/styles/feature.css"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- Body -->
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<div class="whitespace">
|
||||||
|
blessfrey.me<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blessfrey-logo"></div>
|
||||||
|
<div class="nav-row"></div>
|
||||||
|
|
||||||
|
<!--Navigation Bar-->
|
||||||
|
<div class="nav-grid">
|
||||||
|
<div class="nav-bar"></div>
|
||||||
|
<div class="nav-index">
|
||||||
|
<a href="index.html">
|
||||||
|
<div class="button">home</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-game">
|
||||||
|
<a href="game.html">
|
||||||
|
<div class="button">game</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-diary">
|
||||||
|
<a href="diary.php">
|
||||||
|
<div class="button">diary</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="nav-presskit">
|
||||||
|
<a href="presskit.html">
|
||||||
|
<div class="button">presskit</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
|
<div class="diary-entry">
|
||||||
|
<h1>weekly roundup</h1>
|
||||||
|
august 9-15, 2020
|
||||||
|
apache, automation, css, html, jenkins, nginx, php, server, website<br>
|
||||||
|
<br>
|
||||||
|
<h2>monday, august 9</h2>
|
||||||
|
<ul>
|
||||||
|
<li>second week of <a href="https://flightrising.com/main.php?p=dominance">dom</a>! yeah!</li>
|
||||||
|
<li>studied PHP with <a href="https://www.w3schools.com/php/php_intro.asp">W3Schools</a>
|
||||||
|
</ul>
|
||||||
|
<h2>wednesday, august 5</h2>
|
||||||
|
<ul>
|
||||||
|
<br>
|
||||||
|
<li>design the website</li>
|
||||||
|
<li>prototype of website running on the server</li>
|
||||||
|
<li><span class="J">set up automation with Jenkins + Ansible</span></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>thursday, august 6</h2>
|
||||||
|
<ul>
|
||||||
|
<li>create some placeholder graphics, articles + css</li>
|
||||||
|
<li>add a <a href="https://publish.twitter.com/#">Twitter timeline embed</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>friday, august 7</h2>
|
||||||
|
<ul>
|
||||||
|
<li>decide to use PHP for manage blessfrey's blog</li>
|
||||||
|
<li>set up a local Apache server with PHP for practice. <a href="200807.html">It was a little confusing!</a></li>
|
||||||
|
<li>wrote a vaguely functioning Hello, World! script in PHP
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
<h2>saturday, august 8</h2>
|
||||||
|
<ul>
|
||||||
|
<li>forgot to bid on the Skull of Death in the auction house...aw man...</li>
|
||||||
|
<li>added images to live site <a href="200808.html">despite conflicts with Linux's security</a></li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--right column-->
|
||||||
|
<div class="about-box">
|
||||||
|
<h1>about blessfrey</h1>
|
||||||
|
It's a game.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="twitter-box">
|
||||||
|
<h1>follow on twitter</h1>
|
||||||
|
<a href="https://twitter.com/lilchimchooree">@lilchimchooree</a><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="latest">
|
||||||
|
<h1>latest</h1>
|
||||||
|
Some articles.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="disclosure">
|
||||||
|
<h1>disclosure</h1>
|
||||||
|
No sponsored posts or affiliate links appear in this blog. If they do, they will be <a href="https://www.ftc.gov/tips-advice/business-center/guidance/ftcs-endorsement-guides-what-people-are-asking">properly</a> <a href="https://www.ftc.gov/sites/default/files/attachments/press-releases/ftc-publishes-final-guides-governing-endorsements-testimonials/091005revisedendorsementguides.pdf">disclosed</a>.<br>
|
||||||
|
<br>
|
||||||
|
blessfrey.me does not collect personal information + has no cookies.<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--Footer-->
|
||||||
|
<div class="footer-row">
|
||||||
|
<footer>
|
||||||
|
<div class="footer">
|
||||||
|
© chimchooree<br>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
+31
-12
@@ -1,5 +1,4 @@
|
|||||||
import datetime
|
import datetime, os
|
||||||
from os import listdir
|
|
||||||
from bottle import route, run, template
|
from bottle import route, run, template
|
||||||
|
|
||||||
# diary
|
# diary
|
||||||
@@ -7,32 +6,52 @@ from bottle import route, run, template
|
|||||||
def build_nav():
|
def build_nav():
|
||||||
return "nav"
|
return "nav"
|
||||||
|
|
||||||
|
def make_latest():
|
||||||
|
# for article in array (just 5 or something)
|
||||||
|
# link to webpage
|
||||||
|
return "latest"
|
||||||
|
|
||||||
def list_snippets(articles):
|
def list_snippets(articles):
|
||||||
# take articles between 0-4, 5-8, 9-13,...) based on current page
|
# take articles between 0-4, 5-8, 9-13,...) based on current page
|
||||||
# for each one of those articles,
|
# for each one of those articles,
|
||||||
# snip_article(article)
|
# snip_article(article)
|
||||||
limit = 4
|
limit = 4
|
||||||
total = len(files)
|
total = len(articles)
|
||||||
|
head = count_lines('entries/raw/res/head.txt')
|
||||||
|
print(head)
|
||||||
|
result = []
|
||||||
|
|
||||||
|
for article in articles:
|
||||||
|
article = []
|
||||||
|
article.append("title")
|
||||||
|
article.append(snip_article("words words words"))
|
||||||
|
article.append("11/22/33")
|
||||||
|
article.append("social")
|
||||||
|
article.append("link")
|
||||||
|
result.append(article)
|
||||||
|
return result
|
||||||
|
|
||||||
|
def count_lines(fname):
|
||||||
|
with open(fname) as f:
|
||||||
|
for linenum, line in enumerate(f,1):
|
||||||
|
pass
|
||||||
|
return linenum
|
||||||
|
|
||||||
def snip_article(article):
|
def snip_article(article):
|
||||||
# read text in article
|
# read text in article
|
||||||
# clean 250 first characters
|
# clean 250 first characters
|
||||||
# add to snippet
|
# add to snippet
|
||||||
# add "read more" button that links to article to snippet
|
# add "read more" button that links to article to snippet
|
||||||
return "snippet"
|
return article
|
||||||
|
|
||||||
def make_latest():
|
|
||||||
# for article in array (just 5 or something)
|
|
||||||
# link to webpage
|
|
||||||
return "latest"
|
|
||||||
|
|
||||||
def sort_files(files):
|
def sort_files(files):
|
||||||
# sort array so articles are latest to earliest
|
# sort array so articles are latest to earliest
|
||||||
return list(reversed(files))
|
m = list(reversed(files))
|
||||||
|
return files
|
||||||
|
|
||||||
def gather_files():
|
def gather_files():
|
||||||
# directory to list
|
# directory to list
|
||||||
return os.listdir()
|
return os.listdir('entries/feature/')
|
||||||
|
|
||||||
# Webpages
|
# Webpages
|
||||||
|
|
||||||
@@ -57,7 +76,7 @@ def presskit():
|
|||||||
@route('/diary')
|
@route('/diary')
|
||||||
def diary():
|
def diary():
|
||||||
"""diary page"""
|
"""diary page"""
|
||||||
info = {'title': 'blessfrey - about the game', 'year': datetime.datetime.now(), 'snippets': make_snippets(), 'latest': make_latest()}
|
info = {'title': 'blessfrey - about the game', 'year': datetime.datetime.now(), 'snippets': list_snippets(sort_files(gather_files())), 'latest': make_latest()}
|
||||||
return template('diary.tpl', info)
|
return template('diary.tpl', info)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
+16
-1
@@ -7,7 +7,22 @@
|
|||||||
<!--left column-->
|
<!--left column-->
|
||||||
|
|
||||||
<div class="diary-pages">
|
<div class="diary-pages">
|
||||||
{{snippets}}
|
% for s in snippets:
|
||||||
|
<div class="snippet">
|
||||||
|
<div class="snippet-title">
|
||||||
|
{{s[0]}}
|
||||||
|
</div>
|
||||||
|
<div class="snippet-content">
|
||||||
|
{{!s[1]}}
|
||||||
|
</div>
|
||||||
|
<div class="snippet-info">
|
||||||
|
{{s[2]}} • {{s[3]}}
|
||||||
|
</div>
|
||||||
|
<div class="snippet-link">
|
||||||
|
<a href={{s[4]}}>{{s[4]}}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
% end
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--right column-->
|
<!--right column-->
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
% include('nav.tpl')
|
% include('nav.tpl')
|
||||||
<div class="body-row"> </div>
|
<div class="body-row"> </div>
|
||||||
|
|
||||||
|
|
||||||
{{!base}}
|
{{!base}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!--Snippet-->
|
||||||
|
<div class="snippet">
|
||||||
|
<div class="snippet-title">
|
||||||
|
{{title}}
|
||||||
|
</div>
|
||||||
|
<div class="snippet-content">
|
||||||
|
{{content}}
|
||||||
|
</div>
|
||||||
|
<div class="snippet-info">
|
||||||
|
{{date}} • {{social-link}}
|
||||||
|
</div>
|
||||||
|
<div class="snippet-link">
|
||||||
|
<a href={{link}}>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user