You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
4.6 KiB
Plaintext

<!--200930,201130-->
<h1>october 2020: a blog that works</h1>
november 1, 2020<br>
#css #html #python #webdev #website<br>
<br>
<h2>week 1 </h2><br>
#bottle #python #regularexpression #website <br>
<br>
<h3>thursday, october 1 </h3><br>
<ul>
<li>blessfrey.me's diary properly displays snippets for all articles: a header taken from the title, a truncated view of the article, the date + a place for social media share links, and a link to the article.</li>
<li>Cleaning the snippets enough to look okay and not break the page was a challenge. I used regular expressions to remove HTML link + header tags, <a href="https:/git sta/stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags">which is apparently a lost cause Stack Overflow users stand against daily, hourly even</a>. It's not so bad if it's not user content and the content is pretty predictable, right?
<li><a href="https://pythex.org/">Pythex</a> is useful for checking whether your regular expression will catch your target strings</li>
<li>First command line git merge. I usually do it on the website. It's really simple - switch to the branch you're merging the second branch into, type '<code>git merge second-branch</code>' (<code>second-branch</code> = name of the second branch obviously), and fix any conflicts.</li>
</ul>
<br>
<h3>friday, october 2 </h3><br>
<ul>
<li>All articles are kept in the same folder. There's really no reason to split them up. If I want to differentiate types of articles, I can use tags or something.</li>
<li>Set up blog navigation</li>
</ul>
<br>
<h3>saturday, october 3 </h3><br>
<ul>
<li>Blog removes HTML tags through regex patterns.</li>
<li>Fixed footer strangely appearing in the middle of the body on pages.</li>
</ul>
<br>
<h2>week 2 </h2><br>
#bottle #python #website<br>
<br>
<h3>sunday, october 4 </h3><br>
<ul>
<li>Started using absolute paths when needed. Diary snippet links to articles work now. Articles use CSS now.</li>
<li>Improved navigation for diary. The number link cluster around the current page stays static in length - very early pages compensate by adding more links to the right</li>
</ul>
<br>
<h3>monday, october 5 </h3><br>
<ul>
<li>made 'latest' box in sidebar of diary + articles with working links to the 5 latest articles</li>
</ul>
<br>
<h3>tuesday, october 6 </h3><br>
<ul>
<li>researched + added a robots.txt, sitemap, nofollow links</li>
<li>added social media share links to all snippets that allow you to share the title and a link to Twitter, Facebook, or email. Not sure if Facebook or email work because I don't feel like getting Facebook or connecting email to my browser.</li>
</ul>
<br>
<h3>wednesday, october 7 </h3><br>
<ul>
<li>Added a simple Contact page.</li>
<li>Moved diary entries under a diary directory for that /diary/whatever-entry URL, so people like me can backspace on that URL to get to the higher level page.</li>
</ul>
<br>
<h3>saturday, october 10 </h3><br>
<ul>
<li>For testing, all colors were taken from the latest colors on random color websites, and all divs are stark. Instead, I have added margins, padding, sans-serif font choices, and an okay color palette. I'll pick something more true-to-brand later, but at least it isn't embarrassing now.</li>
</ul>
<br>
<h3>tuesday, october 13</h3><br>
<ul>
<li>updated site skillbar nav background art.</li>
<li>continue working on CSS files.</li>
<li>made Twitter timeline's background transparent on index page</li>
</ul>
<br>
<h3>tuesday, october 16</h3><br>
<ul>
<li>edit game and presskit pages and some diary entries</li>
<li>for site navigation, CSS buttons are now image links with superimposed text. I think keeping text as text instead of part of images helps with accessibility. I use a lot of foreign websites, so personally, I like websites where I can copy + paste.</li>
</ul>
<br>
<h3>saturday, october 17 </h3><br>
<ul>
<li>worked at the cafe today. Since my husband's battery is dead, he finally read some May I Ask For One Final Thing? I love that manga!!</li>
<li>Refactored the main Bottle script. Before, I wrote it hard and fast, so it was reading all the diary entries multiple times per refresh. It's not only cleaner now, it also only reads the files twice.</li>
</ul>
<br>
<h3>monday, october 19 </h3><br>
<ul>
<li>did some sketches for the story slideshow for the game page. they are an iteration of some cg art for the real game, too. I really don't draw enough...</li>
<li>added the 'recommended articles' section to the bottom of diary entries.</li>
<li>added 'extra' articles, for articles that are unlisted from the main directory. I'm using it to include more GDC talk notes per talk while keeping the GDC talk article general and summarized.</li>
</ul>
<br>