Browse Source

add jp translation

made things a lot messier, but worth having. really do need to switch to
something other than php, though...
master
katherine 2 years ago
parent
commit
ddf584c719
  1. 97
      art/index.php
  2. 101
      blog/index.php
  3. 2
      errors/404.php
  4. 81
      index.php
  5. 32
      main.scss
  6. 40
      projects/digitise/index.php
  7. 249
      projects/index.php

97
art/index.php

@ -1,4 +1,10 @@
<?php
if (array_key_exists('l', $_GET) && $_GET['l'] == 'jp') {
$lang = 'jp';
} else {
$lang = 'en';
}
if(array_key_exists('p', $_GET)) {
$page = $_GET['p'];
}
@ -49,13 +55,13 @@
<header>
<nav id="header-links">
<span id="header-lhs">
<a id="lhs-main" href="/">隠語 Spoken Here</a>
<a id="lhs-mobile" href="/">about</a>
<a id="lhs-main" href=<?php echo ($lang == 'jp' ? '"/?l=jp"' : '"/"'); ?>>隠語 Spoken Here</a>
<a id="lhs-mobile" href=<?php echo ($lang == 'jp' ? '"/?l=jp" class="jp-small">ホーム</a' : '"/">about</a'); ?>>
</span>
<span id="header-rhs">
<a class="header-sel" href="/art/">art</a>
<a href="/projects/">projects</a>
<a href="/blog/">blog</a>
<span id="header-rhs"<?php if ($lang == 'jp') echo ' class="jp-small"'; ?>>
<a class="header-sel" href=<?php echo ($lang == 'jp' ? '"/art/?l=jp">画廊' : '"/art/">art'); ?></a>
<a href=<?php echo ($lang == 'jp' ? '"/projects/?l=jp">作品' : '"/projects/">projects'); ?></a>
<a href=<?php echo ($lang == 'jp' ? '"/blog/?l=jp">ブログ' : '"/blog/">blog'); ?></a>
</span>
</nav>
</header>
@ -74,20 +80,20 @@ if(isset($files)) {
$fslice = array_slice($files, $subpage * 15, 15);
/* try to display specific page of things here */
echo '<section>';
echo '<h2 class="centre">' . $page . "</h2>";
echo '<h2 class="font-centre">' . $page . "</h2>";
if(file_exists($_SERVER['DOCUMENT_ROOT'] . "/art/$page/desc")) {
$section_desc = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/art/$page/desc");
echo "<p class='centre'>$section_desc</p>";
echo "<p class='font-centre'>$section_desc</p>";
}
if(count($files) >= 15) {
if(count($files) > 15) {
echo '<p class="links">';
for($i = 0; $i < ceil(count($files) / 15); $i++) {
if($subpage != $i) {
echo "<a href='/art/?p=$page&amp;n=$i'>";
} else {
echo "<a class='sel' href='/art/?p=$page&amp;n=$i'>";
}
echo "<a "
. ($subpage == $i ? "class='sel' " : "")
. "href='/art/?p=$page&amp;n=$i"
. ($lang == 'jp' ? '&amp;l=jp' : '')
. "'>";
$upper = (($i + 1) * 15 - 1);
if($upper >= count($files)) {
@ -108,11 +114,11 @@ if(isset($files)) {
echo '<p class="links">';
for($i = 0; $i < count($dirs); $i+=5) {
foreach(array_slice($dirs, $i, $i+5) as $dir) {
if( !strcmp($dir, $page) ) {
echo "<a class='sel' href='/art/?p=$dir'>$dir</a>\n";
} else {
echo "<a href='/art/?p=$dir'>$dir</a>\n";
}
echo "<a "
. (!strcmp($dir, $page) ? "class='sel' " : "")
. "href='/art/?p=$dir"
. ($lang == 'jp' ? "&amp;l=jp" : "")
. "'>$dir</a>\n";
}
echo '<br>';
}
@ -153,7 +159,7 @@ if(isset($files)) {
echo '</a>';
}
echo '<p class="centre">';
echo '<p class="font-centre">';
if($is_image) {
$img_size = getimagesize($_SERVER['DOCUMENT_ROOT'] . "/art/$page/full/$file");
echo pathinfo($file)['filename'] . ": "
@ -169,14 +175,14 @@ if(isset($files)) {
echo "</p>\n";
}
if(count($files) >= 15) {
if(count($files) > 15) {
echo '<p class="links">';
for($i = 0; $i < ceil(count($files) / 15); $i++) {
if($subpage != $i) {
echo "<a href='/art/?p=$page&amp;n=$i'>";
} else {
echo "<a class='sel' href='/art/?p=$page&amp;n=$i'>";
}
echo "<a "
. ($subpage == $i ? "class='sel' " : "")
. "href='/art/?p=$page&amp;n=$i"
. ($lang == 'jp' ? '&amp;l=jp' : '')
. "'>";
$upper = (($i + 1) * 15 - 1);
if($upper >= count($files)) {
@ -197,11 +203,11 @@ if(isset($files)) {
echo '<p class="links">';
for($i = 0; $i < count($dirs); $i+=5) {
foreach(array_slice($dirs, $i, $i+5) as $dir) {
if( !strcmp($dir, $page) ) {
echo "<a class='sel' href='/art/?p=$dir'>$dir</a>\n";
} else {
echo "<a href='/art/?p=$dir'>$dir</a>\n";
}
echo "<a "
. (!strcmp($dir, $page) ? "class='sel' " : "")
. "href='/art/?p=$dir"
. ($lang == 'jp' ? "&amp;l=jp" : "")
. "'>$dir</a>\n";
}
echo '<br>';
}
@ -209,6 +215,19 @@ if(isset($files)) {
} else {
echo "
<section>
";
echo ($lang == 'jp'
? "
<h2>Art?</h2>
<p>交雑のものを作っている。それは、あっちこっちで拾った画像と自分で
撮った写真でリミックス作る意味なの。グリッチやdatabendingのような
技法を使って、それともコラージュもよく使っている。「dreams」 という
カテゴリで見て始まって方が良いのかも知れない</p>
<p>見本:</p>
"
: "
<h2>Art?</h2>
<p>i make “remix” stuff, which basically means hashing imagery from
@ -217,7 +236,9 @@ if(isset($files)) {
stuff. “dreams” is probably the best place to look.</p>
<p>ejemplos:</p>
");
echo "
<p class='thumb_strip'>
<a target='_blank' href='/art/dreams/full/nowhere.png'>
<img src='/art/dreams/thumbs/nowhere.jpg' />
@ -232,14 +253,16 @@ if(isset($files)) {
<img src='/art/dreams/thumbs/a backwards glance.jpg' />
</a>
</p>
";
<p class='links'>
</p>
</section>";
echo '</section>';
echo '<section>';
echo '<h2>Categories</h2>';
echo '<p>click on one of the categories below to start browsing!</p>';
echo '<h2>' . ($lang == 'jp' ? 'カテゴリ' : 'Categories') . '</h2>';
echo ($lang == 'jp'
? '<p>下のカテゴリの一つを選んで下さい</p>'
: '<p>click on one of the categories below to start browsing!</p>'
);
echo '<p class="links">';
for($i = 0; $i < count($dirs); $i+=5) {
@ -253,6 +276,8 @@ if(isset($files)) {
?>
<?php include $_SERVER['DOCUMENT_ROOT']."/lang-switch.php" ?>
</main>
</body>
</html>

101
blog/index.php

@ -1,4 +1,10 @@
<?php
if (array_key_exists('l', $_GET) && $_GET['l'] == 'jp') {
$lang = 'jp';
} else {
$lang = 'en';
}
if(array_key_exists('p', $_GET)) {
if(!is_numeric($_GET['p'])) {
header('Location: .');
@ -55,13 +61,13 @@
<header>
<nav id="header-links">
<span id="header-lhs">
<a id="lhs-main" href="/">隠語 Spoken Here</a>
<a id="lhs-mobile" href="/">about</a>
<a id="lhs-main" href=<?php echo ($lang == 'jp' ? '"/?l=jp"' : '"/"'); ?>>隠語 Spoken Here</a>
<a id="lhs-mobile" href=<?php echo ($lang == 'jp' ? '"/?l=jp" class="jp-small">ホーム</a' : '"/">about</a'); ?>>
</span>
<span id="header-rhs">
<a href="/art/">art</a>
<a href="/projects/">projects</a>
<a class="header-sel" href="/blog/">blog</a>
<span id="header-rhs"<?php if ($lang == 'jp') echo ' class="jp-small"'; ?>>
<a href=<?php echo ($lang == 'jp' ? '"/art/?l=jp">画廊' : '"/art/">art'); ?></a>
<a href=<?php echo ($lang == 'jp' ? '"/projects/?l=jp">作品' : '"/projects/">projects'); ?></a>
<a class="header-sel" href=<?php echo ($lang == 'jp' ? '"/blog/?l=jp">ブログ' : '"/blog/">blog'); ?></a>
</span>
</nav>
</header>
@ -88,45 +94,52 @@ if(isset($page) && array_key_exists($page, $entries) ) {
/* first */
if($page != key(array_slice($entries, 0, 1, TRUE)) ) {
echo '<a id="first" href=';
echo '"?p=' . key(array_slice($entries, 0, 1, TRUE));
echo '">&lt;&lt;</a>';
echo '<a id="first" href='
. '"?p='
. key(array_slice($entries, 0, 1, TRUE))
. ($lang == 'jp' ? '&amp;l=jp' : '')
. '">&lt;&lt;</a>';
} else {
echo '<span id="first">&lt;&lt;</span>';
}
/* prev */
if( array_key_exists($page, $entries) and array_key_exists($page - 1, $entries) ) {
echo '<a rel="prev" id="prev" href=';
echo '"?p=' . ($page - 1) . '">';
echo '&lt;</a>';
echo '<a rel="prev" id="prev" href='
. '"?p='
. ($page - 1)
. ($lang == 'jp' ? '&amp;l=jp' : '')
. '">&lt;</a>';
} else {
echo '<span id="prev">&lt;</span>';
}
/* index */
if( array_key_exists($page, $entries) ) {
echo '<a id="index" href=".">';
echo 'index';
echo '</a>';
} else {
echo '<span id="index">index</span>';
}
echo '<a id="index" href=".'
. ($lang == 'jp' ? '?l=jp' : '')
. '">'
. ($lang == 'jp' ? 'アーカイブ' : 'index')
. '</a>';
/* next */
if( array_key_exists($page, $entries) and array_key_exists($page + 1, $entries) ) {
echo '<a rel="next" id="next" href=';
echo '"?p=' . ($page + 1) . '">';
echo '&gt;</a>';
echo '<a rel="next" id="next" href='
. '"?p='
. ($page + 1)
. ($lang == 'jp' ? '&amp;l=jp' : '')
. '">'
. '&gt;</a>';
} else {
echo '<span id="next">&gt;</span>';
}
/* last */
if($page != key(array_slice($entries, -1, 1, TRUE)) ) {
echo '<a id="last" href=';
echo '"?p=' . key(array_slice($entries, -1, 1, TRUE));
echo '">&gt;&gt;</a>';
echo '<a id="last" href='
. '"?p='
. key(array_slice($entries, -1, 1, TRUE))
. ($lang == 'jp' ? '&amp;l=jp' : '')
. '">&gt;&gt;</a>';
} else {
echo '<span id="last">&gt;&gt;</span>';
}
@ -135,12 +148,23 @@ if(isset($page) && array_key_exists($page, $entries) ) {
echo '</footer>';
} else {
/* display the index */
echo '<h2>Blog!</h2>';
echo '<p>紀行無常: computer notes, music, book reviews, and blatherings</p>';
echo '<p class="links"><a href="https://airen-no-jikken.icu/blog/feed/">rss feed</a></p>';
echo '<h2>' . ($lang == 'jp' ? 'ブログ!' : 'Blog!') . '</h2>';
echo ($lang == 'jp'
? '<p>紀行無常(全て英語だけではごめんね…)</p>'
: '<p>紀行無常: computer notes, music, book reviews, and blatherings</p>'
);
echo '<p class="links"><a href="https://airen-no-jikken.icu/blog/feed/">';
echo ($lang == 'jp'
? 'RSSフィード'
: 'rss feed'
);
echo '</a></p>';
echo '</section>';
echo '<section>';
echo '<h2 class="centre">Blog index</h2>';
echo ($lang == 'jp'
? '<h2 class="centre">ブログアーカイブ</h2>'
: '<h2 class="centre">Blog index</h2>'
);
echo '<div id="blog-body">';
foreach(array_reverse($entries, true) as $key => $value) {
preg_match("/-.*$/", $value, $matches);
@ -152,14 +176,29 @@ if(isset($page) && array_key_exists($page, $entries) ) {
$content = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/blog/html/$value");
preg_match("/^([^\n]{30,80}[\s]|.*[\n])/", preg_replace('(<[^>]*>)', '', $content), $matches);
$description = substr($matches[0], 0, -1);
echo '<h3>' . $timestamp . ' - <a href="?p=' . $key . '">' . $title . '</a></h3>';
echo '<p>' . $description . ' <a href="?p=' . $key . '">...</a><p>';
echo '<h3>'
. $timestamp
. ' - <a href="?p='
. $key
. ($lang == 'jp' ? '&amp;l=jp' : '')
. '">'
. $title
. '</a></h3>';
echo '<p>'
. $description
. ' <a href="?p='
. $key
. ($lang == 'jp' ? '&amp;l=jp' : '')
. '">...</a><p>';
}
echo '</div>';
}
?>
</section>
<?php include $_SERVER['DOCUMENT_ROOT']."/lang-switch.php" ?>
</main>
</body>
</html>

2
errors/404.php

@ -20,7 +20,7 @@ $words = array(
"あたしたち、人間じゃないの?",
"あなたが世の中の最後のヤモリであれは<br>その考えていることも役に立たない。",
"Just what does she wish for?",
"ね、宇宙人て信じる?",
"ね、宇宙人て信じる?",
"もう目覚めなくていい?",
"I travelled through valleys and plains. I came to a station,<br>caught the first train, and was lost in the crowd.",
"「死ねとき?」<br>「いたかったよー(笑)」",

81
index.php

@ -1,3 +1,10 @@
<?php
if (array_key_exists('l', $_GET) && $_GET['l'] == 'jp') {
$lang = 'jp';
} else {
$lang = 'en';
}
?>
<!DOCTYPE html>
<html lang="en-GB">
<head>
@ -25,13 +32,13 @@
<header>
<nav id="header-links">
<span id="header-lhs">
<a id="lhs-main" href="/">隠語 Spoken Here</a>
<a id="lhs-mobile" class="header-sel" href="/">about</a>
<a id="lhs-main" href=<?php echo ($lang == 'jp' ? '"/?l=jp"' : '"/"'); ?>>隠語 Spoken Here</a>
<a id="lhs-mobile" href=<?php echo ($lang == 'jp' ? '"/?l=jp" class="header-sel jp-small">ホーム</a' : '"/">about</a'); ?>>
</span>
<span id="header-rhs">
<a href="/art/">art</a>
<a href="/projects/">projects</a>
<a href="/blog/">blog</a>
<span id="header-rhs"<?php if ($lang == 'jp') echo ' class="jp-small"'; ?>>
<a href=<?php echo ($lang == 'jp' ? '"/art/?l=jp">画廊' : '"/art/">art'); ?></a>
<a href=<?php echo ($lang == 'jp' ? '"/projects/?l=jp">作品' : '"/projects/">projects'); ?></a>
<a href=<?php echo ($lang == 'jp' ? '"/blog/?l=jp">ブログ' : '"/blog/">blog'); ?></a>
</span>
</nav>
</header>
@ -39,37 +46,69 @@
<main class="appear">
<section>
<h2>What is this page?</h2>
<h2><?php echo ($lang == 'jp' ? 'このページは?' : 'What is this page?'); ?></h2>
<p>hey!<br />so i'm called katherine, and i make <i>stuff</i>:<p>
<p><?php echo ($lang == 'jp'
? 'こんちわー<br />わたしはキャスリン(≠キャサリン)といって、色々と作っている'
: 'hey!<br />so i\'m called katherine, and i make <i>stuff</i>:'
); ?></p>
<ul>
<li>fiction and poetry writing</li>
<li>programming (primarily unix-y things)</li>
<li>a strange combination of visual collage and
algorithmically generated art</li>
<li><?php echo ($lang == 'jp'
? '著作(散文+韻文)'
: 'fiction and poetry writing'
); ?></li>
<li><?php echo ($lang == 'jp'
? 'プログラミング(unix的な物事)'
: 'programming (primarily unix-y things)'
); ?></li>
<li><?php echo ($lang == 'jp'
? 'コラージュとアルゴリズムで作る画像の変な交雑'
: 'a strange combination of visual collage and
algorithmically generated art'
); ?></li>
</ul>
<p>if any of that sounds at all interesting, feel free to poke
around in the header above!</p>
<p><?php echo ($lang == 'jp'
? '何か面白そうなら、上のリンクをクリックして下さい♪'
: 'if any of that sounds at all interesting, feel free to poke
around in the header above!'
); ?></p>
</section>
<section>
<h2>Contact</h2>
<h2><?php echo ($lang == 'jp' ? '連絡先' : 'Contact'); ?></h2>
<p><?php echo ($lang == 'jp'
? 'メールアドレスはageha@このドメイン。気軽に連絡してね<span class="mono">^_^</span>'
: 'email can be sent to the user “ageha” at this domain. would
love to hear from you!'
); ?></p>
<p>email can be sent to the user “ageha” at this domain. would
love to hear from you!</p>
<div class="bcentre mono"><p>
PGP EMAIL: E5746B325EA34FC564326BC0613A55134EB4F4E6<br />
PGP OTHER: 56706B8B811AD0B488E1FFD062E17859D559AEF3
</p></div>
<div class="bcentre mono"><p>PGP EMAIL:
E5746B325EA34FC564326BC0613A55134EB4F4E6<br />PGP OTHER:
56706B8B811AD0B488E1FFD062E17859D559AEF3</p></div>
</section>
<section>
<h2><?php echo ($lang == 'jp' ? 'リンク' : 'Links'); ?></h2>
<p class="links"></p>
<ul>
<li>git: <a href="https://git.airen-no-jikken.icu/ageha">git.airen-no-jikken.icu/ageha</a></li>
<li>彼氏: <a href="https://mikotoha.net">mikotoha.net</a></li>
</ul>
</section>
<?php include $_SERVER['DOCUMENT_ROOT']."/lang-switch.php" ?>
</main>
</body>

32
main.scss

@ -155,11 +155,14 @@ a {
color: $c_black;
border-bottom: $b_bdsh;
text-decoration: none;
border-bottom: $b_bdsh;
// text-decoration: underline dotted;
padding-bottom: 0;
&:hover {
border-bottom: $b_bsol;
text-decoration: none;
// text-decoration: underline solid;
}
&[class=sel] {
@ -299,6 +302,10 @@ section:last-of-type {
padding-bottom: 0;
}
body p {
display: flow-root;
}
.links {
text-align: center;
@ -323,6 +330,10 @@ section:last-of-type {
}
}
.project-table {
display: flow-root;
}
/* code blocks and syntax highlighting, for pandocs gfm-compat output */
code {
@ -525,7 +536,8 @@ section {
}
}
@media (min-aspect-ratio: 7/8) {
/* wide */
@media not all and (max-aspect-ratio: 7/8) {
/* font modifiers */
.font-left {
@ -669,10 +681,6 @@ section {
padding: 0;
}
body p {
display: flow-root;
}
/* end floats */
.project-table {
@ -697,10 +705,14 @@ section {
}
}
.jp-small {
font-size: 0.9em;
}
}
/* once supported, use (max-aspect-ratio: 7/8) and (not (aspect-ratio: 7/8)) */
@media (max-aspect-ratio: 7/8) {
/* narrow */
@media all and (max-aspect-ratio: 7/8) {
/* font modifiers */
.font-left {
@ -813,7 +825,7 @@ section {
display: none;
}
#prev, #next, #first, #last, #index{
#prev, #next, #first, #last, #index {
padding : {
left: .3em;
right: .3em;
@ -841,6 +853,10 @@ section {
font-weight: bold;
}
}
.jp-small {
font-size: 0.8em;
}
}
.appear {

40
projects/digitise/index.php

@ -1,6 +1,6 @@
<?php
if (!array_key_exists('p', $_GET)) {
header('Location: /projects/#digitise');
header('Location: /projects/#digitising');
die();
}
@ -10,14 +10,14 @@
|| !file_exists($_SERVER['DOCUMENT_ROOT'] . '/projects/digitise/' . $page . '/pages/')
|| !file_exists($_SERVER['DOCUMENT_ROOT'] . '/projects/digitise/' . $page . '/meta.php')
) {
header('Location: /projects/#digitise');
header('Location: /projects/#digitising');
die();
}
include $_SERVER['DOCUMENT_ROOT'] . '/projects/digitise/' . $page . '/meta.php';
if (!isset($title) || !isset($date) || !isset($author) ) {
header('Location: /projects/#digitise');
header('Location: /projects/#digitising');
die();
}
@ -45,19 +45,29 @@
<html lang="en-GB">
<head>
<?php
echo '<title>' . $title . ' - ' . $author . '</title>';
if (isset($chapter)) {
preg_match("/ - .*$/", $chapters[$chapter], $matches);
$tstr = substr($matches[0], 3) . ' - ' . $title . ' - ' . $author;
} else {
$tstr = $title . ' - ' . $author;
}
echo '<title>' . $tstr . '</title>';
echo '<meta name="description" content="' . $tstr . '" />';
echo '<meta name="keywords" content="' . $title . ',' . $author . ',writing" />';
echo '<meta property="og:title" content="' . $tstr . '" />';
echo '<meta property="og:description" content="' . $tstr . '" />';
echo '<meta property="og:type" content="book" />';
echo '<meta property="book:author" content="'.$author.'" />';
echo '<meta property="book:release_date" content="'.$date.'" />';
echo '<meta property="og:url" content="https://airen-no-jikken.icu/digitise/?p=' . $page . '" />';
echo '<meta name="description" content="' . $title . ' - ' . $author . '" />';
echo '<meta name="keywords" content="' . $title . ',' . $author . ',writing" />';
echo '<meta property="og:title" content="' . $title . ' - ' . $author . '" />';
echo '<meta property="og:description" content="' . $title . ' - ' . $author . '" />';
include $_SERVER['DOCUMENT_ROOT']."/meta.php";
include $_SERVER['DOCUMENT_ROOT']."/meta.php"
echo '<link href="/projects/digitise/book.css" rel="stylesheet" type="text/css" />';
?>
</head>
@ -65,11 +75,11 @@
<div id="bg-cover"></div>
<main class="appear">
<section>
<?php
if (isset($chapter)) {
echo '<section class="bookform">';
preg_match("/ - .*$/", $chapters[$chapter], $matches);
echo '<p class="font-centre font-verylarge">' . substr($matches[0], 3) . '</p>';
echo '<h1 class="font-centre font-verylarge">' . substr($matches[0], 3) . '</h1>';
include $_SERVER['DOCUMENT_ROOT'] . '/projects/digitise/' . $page . '/pages/' . $chapters[$chapter];
@ -117,7 +127,9 @@
}
echo '</div></footer>';
echo '</section>';
} else {
echo '<section>';
echo '<p class="font-centre">';
echo '<span class="font-centre font-huge">' . $title . '</span><br />';
echo '<span class="font-centre font-verylarge">' . $author . '</span><br />';
@ -128,11 +140,11 @@
echo '<div class="font-centre font-verylarge">contents</div>';
foreach ($chapters as $key => $value) {
preg_match("/ - .*$/", $value, $matches);
echo '<p class="font-centre"><a href="/projects/digitise/?p=' . $page . '&amp;n=' . $key . '">' . substr($matches[0], 3) . '</a></p>';
echo '<p class="font-centre contents-line"><a href="/projects/digitise/?p=' . $page . '&amp;n=' . $key . '">' . substr($matches[0], 3) . '</a><span></span><span>' . $key . '</span></p>';
}
echo '</section>';
}
?>
</section>
</main>
</body>
</html>

249
projects/index.php

@ -1,19 +1,35 @@
<?php
if (array_key_exists('l', $_GET) && $_GET['l'] == 'jp') {
$lang = 'jp';
} else {
$lang = 'en';
}
?>
<!DOCTYPE html>
<html lang="en-GB">
<head>
<title>projects - 哀憐の実験</title>
<meta name="description" content="katherine's internet presence - projects">
<meta name="keywords" content="katherine,ageha,shmibs,programming,writing">
<meta property="og:type" content="website" />
<meta property="og:title" content="projects - 隠語 spoken here" />
<meta property="og:description" content="katherine's internet presence - projects" />
<meta property="og:url" content="https://airen-no-jikken.icu/projects/" />
<?php
include $_SERVER['DOCUMENT_ROOT']."/meta.php"
?>
<?php
if ($lang == 'jp') {
echo '<title>作品 - 哀憐の実験</title>';
echo '<meta name="description" content="katherine\'s internet presence - 作品">';
echo '<meta property="og:title" content="作品 - 隠語 spoken here" />';
echo '<meta property="og:description" content="katherine\'s internet presence - 作品" />';
echo '<meta property="og:url" content="https://airen-no-jikken.icu/projects/?l=jp" />';
} else {
echo '<title>projects - 哀憐の実験</title>';
echo '<meta name="description" content="katherine\'s internet presence - projects">';
echo '<meta property="og:title" content="projects - 隠語 spoken here" />';
echo '<meta property="og:description" content="katherine\'s internet presence - projects" />';
echo '<meta property="og:url" content="https://airen-no-jikken.icu/projects/" />';
}
include $_SERVER['DOCUMENT_ROOT']."/meta.php"
?>
</head>
<body>
@ -22,13 +38,13 @@
<header>
<nav id="header-links">
<span id="header-lhs">
<a id="lhs-main" href="/">隠語 Spoken Here</a>
<a id="lhs-mobile" href="/">about</a>
<a id="lhs-main" href=<?php echo ($lang == 'jp' ? '"/?l=jp"' : '"/"'); ?>>隠語 Spoken Here</a>
<a id="lhs-mobile" href=<?php echo ($lang == 'jp' ? '"/?l=jp" class="jp-small">ホーム</a' : '"/">about</a'); ?>>
</span>
<span id="header-rhs">
<a href="/art/">art</a>
<a class="header-sel" href="/projects/">projects</a>
<a href="/blog/">blog</a>
<span id="header-rhs"<?php if ($lang == 'jp') echo ' class="jp-small"'; ?>>
<a href=<?php echo ($lang == 'jp' ? '"/art/?l=jp">画廊' : '"/art/">art'); ?></a>
<a class="header-sel" href=<?php echo ($lang == 'jp' ? '"/projects/?l=jp">作品' : '"/projects/">projects'); ?></a>
<a href=<?php echo ($lang == 'jp' ? '"/blog/?l=jp">ブログ' : '"/blog/">blog'); ?></a>
</span>
</nav>
</header>
@ -36,148 +52,179 @@
<main class="appear">
<section>
<h2>Categories</h2>
<h2><?php echo ($lang == 'jp' ? '部類' : 'Categories'); ?></h2>
<p class="links">
<a href="#programming">Programming</a>
<a href="#writing">Writing</a>
<a href="#language">Language</a>
<a href="#digitising">Digitising</a>
<a href="#programming"><?php echo ($lang == 'jp' ? 'プログラミング' : 'Programming'); ?></a>
<a href="#writing"><?php echo ($lang == 'jp' ? '著作' : 'Writing'); ?></a>
<a href="#language"><?php echo ($lang == 'jp' ? '言語' : 'Language'); ?></a>
<a href="#digitising"><?php echo ($lang == 'jp' ? '数字化' : 'Digitising'); ?></a>
</p>
</section>
<section id="programming">
<h2>Programming</h2>
<p>all programming projects are open-source licensed and can be downloaded from <a href="https://git.airen-no-jikken.icu/ageha/">git.airen-no-jikken.icu/ageha/</a></p>
<p>
<h3>programs</h3>
<table class="project-table">
<tr>
<td>C</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/confconf">confconf</a></td>
<td>utility for generating config file parsers</td>
</tr>
</table>
</p>
<h2><?php echo ($lang == 'jp' ? 'プログラミング' : 'Programming'); ?></h2>
<p>
<h3>libraries</h3>
<table class="project-table">
<tr>
<td>C</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/simple-opt">simple-opt</a></td>
<td>cli option parsing in a single header file</td>
</tr>
<tr>
<td>C</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/simple-test">simple-test</a></td>
<td>unit testing in a single header file</td>
</tr>
<tr>
<td>Crystal</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/xdg_basedir">xdg_basedir</a></td>
<td>interface to the <a target="_blank" href="https://specifications.freedesktop.org/basedir-spec/0.7/">XDG Base Directory Specification</a></td>
</tr>
</table>
</p>
<?php echo ($lang == 'jp'
? 'プロジェクトは全てオープンソースなのでここからダウンロードできる<span class="mono">^_^</span>'
: 'all programming projects are open-source licensed and can be downloaded from:'
); ?><br /><a href="https://git.airen-no-jikken.icu/ageha/">git.airen-no-jikken.icu/ageha/</a></p>
<h3><?php echo ($lang == 'jp' ? '実行可能' : 'programs'); ?></h3>
<table class="project-table">
<tr>
<td>C</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/confconf">confconf</a></td>
<td>
<?php echo ($lang == 'jp'
? '設定ファイル用パーサを作成ツール'
: 'utility for generating config file parsers'
); ?>
</td>
</tr>
</table>
<h3><?php echo ($lang == 'jp' ? 'ライブラリ' : 'libraries'); ?></h3>
<table class="project-table">
<tr>
<td>C</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/simple-opt">simple-opt</a></td>
<td>
<?php echo ($lang == 'jp'
? 'ファイルヘッダひとつだけのオプションパーサ'
: 'cli option parsing in a single header file'
); ?>
</td>
</tr>
<tr>
<td>C</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/simple-test">simple-test</a></td>
<td>
<?php echo ($lang == 'jp'
? 'ファイルヘッダひとつだけの単体テスト'
: 'unit testing in a single header file'
); ?>
</td>
</tr>
<tr>
<td>Crystal</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/xdg_basedir">xdg_basedir</a></td>
<td><?php echo ($lang == 'jp'
? '<a target="_blank" href="https://specifications.freedesktop.org/basedir-spec/0.7/">XDGベースディレクトリの仕様</a>のインターフェイス'
: 'interface to the <a target="_blank" href="https://specifications.freedesktop.org/basedir-spec/0.7/">XDG Base Directory Specification</a>'
); ?></td>
</tr>
</table>
</section>
<section id="writing">
<h2>Writing</h2>
<h2><?php echo ($lang == 'jp' ? '著作' : 'Writing'); ?></h2>
<p>
<h3>fiction</h3>
<div class="project-table">
<img class="left-thumb" alt="cover" src="/projects/files/thumbs/small_sad_people.jpg" />
<b>Small Sad People</b><br />
20xx (in progress)<br />
a collection of short stories and poems about growing
in the southwest US
</div>
</p>
<h3><?php echo ($lang == 'jp' ? '創作' : 'fiction'); ?></h3>
<div class="project-table">
<img class="left-thumb" alt="cover" src="/projects/files/thumbs/small_sad_people.jpg" />
<b>Small Sad People</b><br />
<?php echo ($lang == 'jp'
? '20xx(作成中)<br />メリカ南西部で生えたりについての短編や詩'
: '20xx (in progress)<br / >a collection of short stories and poems about growing in the southwest US'
); ?>
</div>
<p>
<h3>non-fiction</h3>
<table class="project-table">
<tr>
<td>computing</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/tutorials">tutorials</a></td>
<td>rambling introductions to different aspects of computing</td>
</tr>
</table>
</p>
<h3><?php echo ($lang == 'jp' ? 'ノンフィクション' : 'non-fiction'); ?></h3>
<div class="project-table">
<img class="left-thumb" alt="cover" src="/projects/files/thumbs/information_xor_consolidation.jpg" />
<b>information xor consolidation</b><br />
<?php echo ($lang == 'jp'
? '20xx(作成中)<br />観念や情報やデータについての考え'
: '20xx (in progress)<br / >ideas about data, knowledge, and ideas'
); ?>
</div>
</section>
<section id="language">
<h2>Language</h2>
<h2><?php echo ($lang == 'jp' ? '言語' : 'Language'); ?></h2>
<h3>galu</h3>
<p>
<h3>galu</h3>
<p>galu is a constructed language to be used in a joint game project with <a href="https://www.lianiis.com/">Kumi Togetsu</a></p>
<table class="project-table">
<tr>
<td>font</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/bachirulo-brush">bachirulo-brush</a></td>
<td>brush calligraphy font for the galu script</td>
</tr>
<tr>
<td>font</td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/bachirulo-type">bachirulo-type</a></td>
<td>computer font for the galu script</td>
</tr>
</table>
<?php echo ($lang == 'jp'
? 'galuとは<a href="https://www.lianiis.com/">兎月くみ</a>と二人で作ってるゲームのために考案された創作言語です'
: 'galu is a constructed language to be used in a joint game project with <a href="https://www.lianiis.com/">Kumi Togetsu</a>'
); ?>
</p>
<table class="project-table">
<tr>
<td><?php echo ($lang == 'jp' ? 'フォント' : 'font'); ?></td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/bachirulo-brush">bachirulo-brush</a></td>
<td>
<?php echo ($lang == 'jp'
? '筆と書いた書道フォント'
: 'brush calligraphy font for the galu script'
); ?>
</td>
</tr>
<tr>
<td><?php echo ($lang == 'jp' ? 'フォント' : 'font'); ?></td>
<td><a target="_blank" href="https://git.airen-no-jikken.icu/ageha/bachirulo-type">bachirulo-type</a></td>
<td>
<?php echo ($lang == 'jp'
? 'コンピュータための簡易体のフォント'
: 'computer font for the galu script'
); ?>
</td>
</tr>
</table>
</section>
<section id="digitising">
<h2>Digitising</h2>
<h2><?php echo ($lang == 'jp' ? '数字化' : 'Digitising'); ?></h2>
<h3>Stella Benson</h3>
<p>Stella Benson (1892-1933) was a traveller. beginning in a
pre-war london, her brief life saw several ocean crossings,
both atlantic and pacific, well as full-length runs of north
america and years spent deep in china, teaching, wandering, and
getting into trouble</p>
america and years spent deep away in china, teaching,
wandering, and getting into trouble</p>
<p>she also wrote a lot</p>
<p>short-stories, poems, novels, and travellogues, her
influences can be boiled to three essential elements, each of
which plays well into the others: Ocean, Faerie,
Being-Lost</p>
<p>stories, poems, novels, travelogues, her writing can be
boiled to three essential elements, those being: Ocean (vast).
Faerie (strange). and Severance (of self and from the
rest).</p>
<p>not so surprisingly, she was most recognised back then for
Tobit Transplanted, a novel which, in being tied to myth and an
existing structure, strayed the furthest from herself and
existing structuring, strayed off the furthest from herself and
nearer to the things that everyone expected (i.e. “plot”)</p>
<p>though mostly now forgotten, modern readers have at least,
it seems, taken some interest in one of her earlier works,
Living Alone, because it has, like, witches and stuff, and i'm
into that</p>
kind of into that</p>
<div class="project-table">
<img class="left-thumb" alt="cover" src="/projects/files/thumbs/the_little_world.jpg" />
<b>The little world</b><br />
1925<br />
a travellogue in snippets, skits, and sarcasm, detailing
time spent riding boats, walking a lot, and driving a poor,
mistreated model-T named Stephanie<br />
a travelogue in snippets, skits, and sarcasm, detailing
time spent riding boats, walking a lot, and slave-driving a
poor, mistreated Model T named Stephanie<br />
(in-progress) <a target="_blank"
href="/projects/digitise/?p=the-little-world">web</a>
</div>
</section>
<?php include $_SERVER['DOCUMENT_ROOT']."/lang-switch.php" ?>
</main>
</body>

Loading…
Cancel
Save