16.xhtml 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. /**
  3. * <https://y.st./>
  4. * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <https://www.gnu.org./licenses/>.
  18. **/
  19. $xhtml = array(
  20. 'title' => 'I never want to give up being me!',
  21. 'body' => <<<END
  22. <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" />
  23. <section id="general">
  24. <h2>General news</h2>
  25. <p>
  26. I should&apos;ve gotten a lot more coursework done today, but I didn&apos;t.
  27. I was too busy enjoying being me.
  28. It was a good day, and I get the feeling there&apos;s going to be a lot of good days ahead.
  29. </p>
  30. <p>
  31. It seems <a href="/en/domains/morgan.local.xhtml"><code>morgan</code></a> has slowed down.
  32. 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.
  33. Now, it completes it in about the same amount of time as <code>newdawn</code>.
  34. Additionally, it seems <code>morgan</code>, unlike any laptop I&apos;ve had in ages, is able to go to sleep and wake up without issues.
  35. I can start actually sleeping my laptop when not in use!
  36. </p>
  37. <p>
  38. Someone that prefers to remain unnamed was asking about my website, but I had no answers as to time frame.
  39. I think Ellenor overheard, as we now moved to the next step.
  40. We now have a test page!
  41. Because of the structure of my website though, a subdirectory of a website can&apos;t play proper host to my pages.
  42. My pages use absolute paths, not relative paths.
  43. This is a feature, not a bug, and I don&apos;t plan to change it.
  44. However, I do plan to get at least some of my non-journal pages up in a modified form when time allows.
  45. The other thing worth noting is that files named <code>index.xhtml</code> are not treated by the server as index pages.
  46. The index pages will need to be renamed <code>index.html</code>.
  47. I&apos;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.
  48. I don&apos;t have time to work on this today though.
  49. I&apos;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.
  50. It causes the pages to display as blank.
  51. <del>I might experiment with frames to try to combat this.</del>
  52. <ins>Never mind.
  53. It seems the server&apos;s running Apache and the <code>.htaccess</code> file is enabled.
  54. Score!
  55. A one-liner in that file cleans up the entire mess.</ins>
  56. </p>
  57. <p>
  58. My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
  59. </p>
  60. </section>
  61. <section id="mental">
  62. <h2>Mental health watch</h2>
  63. <p>
  64. I spent the day smiling and laughing about what I am.
  65. There were even some tears of joy on occasion.
  66. It seems I&apos;ve come to the point that I not only accept myself for what I am, but also <strong>*embrace*</strong> it.
  67. I can be me and I can love being me.
  68. Every fibre of my being is gay!
  69. I&apos;ve always been gay.
  70. How could I have never noticed?
  71. I guess between the wretched living conditions and the lack of information I had, I can&apos;t really be blamed for not knowing, but it all seems so obvious in retrospect.
  72. This is what I am and this is what I want to be.
  73. I never want to become sane if it means giving this up.
  74. </p>
  75. <p>
  76. Speaking of sanity, I think the time has come to stop discussing it.
  77. It&apos;s obvious to me now that I&apos;m not losing my lucidity as I feared I would.
  78. I&apos;m still aware that I&apos;m utterly insane, and now, I&apos;m loving it.
  79. My descent into madness is complete.
  80. Let a new chapter of my story begin, an era of enjoyment of life and an era of lunacy!
  81. </p>
  82. </section>
  83. END
  84. );