1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- /**
- * <https://y.st./>
- * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org./licenses/>.
- **/
- $xhtml = array(
- 'title' => 'I never want to give up being me!',
- 'body' => <<<END
- <img src="/img/CC_BY-SA_4.0/y.st./weblog/2017/07/16.jpg" alt="ALEX YST IS A MUTANT FREAK WITH A HODGEPODGE BRAIN" class="weblog-header-image" width="800" height="480" />
- <section id="general">
- <h2>General news</h2>
- <p>
- I should've gotten a lot more coursework done today, but I didn't.
- I was too busy enjoying being me.
- It was a good day, and I get the feeling there's going to be a lot of good days ahead.
- </p>
- <p>
- It seems <a href="/en/domains/morgan.local.xhtml"><code>morgan</code></a> has slowed down.
- Previously, it was faster at compiling my website than <a href="/en/domains/newdawn.local.xhtml"><code>newdawn</code></a> was, completing the task in about half the time.
- Now, it completes it in about the same amount of time as <code>newdawn</code>.
- Additionally, it seems <code>morgan</code>, unlike any laptop I've had in ages, is able to go to sleep and wake up without issues.
- I can start actually sleeping my laptop when not in use!
- </p>
- <p>
- Someone that prefers to remain unnamed was asking about my website, but I had no answers as to time frame.
- I think Ellenor overheard, as we now moved to the next step.
- We now have a test page!
- Because of the structure of my website though, a subdirectory of a website can't play proper host to my pages.
- My pages use absolute paths, not relative paths.
- This is a feature, not a bug, and I don't plan to change it.
- However, I do plan to get at least some of my non-journal pages up in a modified form when time allows.
- The other thing worth noting is that files named <code>index.xhtml</code> are not treated by the server as index pages.
- The index pages will need to be renamed <code>index.html</code>.
- I'd already considered the possibility of this, and started planning a command line option for my build script that will allow the index file name to be specified at build time.
- I don't have time to work on this today though.
- I'm also going to need to find a way to account for the fact that with the wrong file extension, the Web server is sending the wrong <code>Content-Type</code> header.
- It causes the pages to display as blank.
- <del>I might experiment with frames to try to combat this.</del>
- <ins>Never mind.
- It seems the server's running Apache and the <code>.htaccess</code> file is enabled.
- Score!
- A one-liner in that file cleans up the entire mess.</ins>
- </p>
- <p>
- My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
- </p>
- </section>
- <section id="mental">
- <h2>Mental health watch</h2>
- <p>
- I spent the day smiling and laughing about what I am.
- There were even some tears of joy on occasion.
- It seems I've come to the point that I not only accept myself for what I am, but also <strong>*embrace*</strong> it.
- I can be me and I can love being me.
- Every fibre of my being is gay!
- I've always been gay.
- How could I have never noticed?
- I guess between the wretched living conditions and the lack of information I had, I can't really be blamed for not knowing, but it all seems so obvious in retrospect.
- This is what I am and this is what I want to be.
- I never want to become sane if it means giving this up.
- </p>
- <p>
- Speaking of sanity, I think the time has come to stop discussing it.
- It's obvious to me now that I'm not losing my lucidity as I feared I would.
- I'm still aware that I'm utterly insane, and now, I'm loving it.
- My descent into madness is complete.
- Let a new chapter of my story begin, an era of enjoyment of life and an era of lunacy!
- </p>
- </section>
- END
- );
|