getBodyHTML
method to get a Post's body with the replacers already replaced. I should add that the reason the replacers don't do anything before calling getArticle
is for speed?
Don't know how much it really changes, but there's a lot of iterating that goes on during the replacing process (especially if you have a long list of shortcuts), so I tried to reserve this part for only the posts that are actually getting shown.
Once Post.getBodyHTML()
is used, the Post will gain a new String property called visible_body
, but you can just call getBodyHTML
again and it'll return the value (Which is pretty much the same thing happens with the Post.getArticle
method).
Same story with the blog post title. Blog posts don't get a visible_title
unless the title is nonempty when trimmed, or until Post.getArticle()
is called. Post.getTitleHTML()
uses newTitle
, which a blogger can define in their MY_BLOG
, to give the Post a visible title.
##
2024-12-21T05:03:52.749Z
# do_blog, js
Omigosh I feel like I haven't slept in a week. I finally understand how writers feel when they want to write a short story and it turns into s novel. I just wanted to write a short script but I keep finding things to add. What if it makes the page load slower? What's the point then?? Bluh.
##
2024-12-20:13:00-05:00
# do_blog, js
Blogs with no title work now, baby~ Too bad there's no link to the article now TTwTT
EDIT: It's there. The link is there. Also, now I can choose whether the title is a link or if the link is separate. Nice nice nice. Also, titles can make themselves now, if one doesn't want to give their post one, just like this one did!
And here I thought I was finished with do_blog :/ I kinda wanna include previous and next links in the article page.
## Untitled
2024-12-20T01:18:25.507Z
# do_blog, js
I spent a week straight on [do_blog.js](/do_blog)
I'm really really super proud of that [example blog](/do_blog/example-blog) too, hahaha. Wow, I completely left my ROTTMNT obsession in the dust just to focus on something that feels illegal to even have. Also, your poor browser has to do the same thing over and over again every time you click on a link because it's like refreshing the page. I feel kind of bad for it, but then I think... isn't it the same with getting data from a server?
Like, you'd normally have all your blog stuffs in a table that can only be accessed by the blogging site, right? Or does each blog post seriously get its own page? I guess it must, right? Wow, that's a whole lotta files, I can't even imagine.
I can't imagine a lot of things about websites. It's such a strange world inside the internet. There's addresses and mail and landscapes and third placed, but it's all virtual so it's weird.
Okay, I just made this blog to test if I could have a title-less post (I cannot), but I guess I'm keeping it anyway.
## Mom, I'm famous
1734447375380
# rottmnt, tumblr, js
I've gotta go be rich and famous now. My fanart got over 200 notes on tumblr overnight, so I'm clearly destined for greatness.
Showcase of my talent, which is actually on display in the homepage for all Risecember December:
![retail](/risecember2024/06Retail.webp) ![grinch](/risecember2024/12Grinch.webp) I have, however, pretty much come to a halt with the Risecember stuff. I swear, there's always some other thing getting in my way >:( Mostly myself. I've been working hard and hardly working all to get this whole [do_blog.js](/do_blog) mess under control, but I think I'm finally getting it wrapped up. Well, maybe it's the sort of thing that never really gets wrapped up, so much as it stands in glory for all of a month before fading into the background because I forgot it needed wrapping. ## Oh geez, life is full of stuff 1734370302418 Life is full of so much. There's school and work and hobbies and projects and friends and family and pets and sleep and eating and hygiene and chores. How is one meant to do all these things in one week, let alone a day? # life hard ## Hello again, I like Reddit 2024-11-20T03:43-05:00 Morning, or good night depending on what you think 03:43 is. I just now remembered I have a guestbook, if you can believe it. It's got two new signatures! If the one from June still counts as new. It's so easy to get sidetracked making web-things. I have projects underway, right? And it's not like I get nowhere with them. I do, in fact, finish stuff. I just don't post it, or if I do put it up on neocities, it's more like an unlisted YouTube video. I guess you could say it's the true and tried method of working on hobbies just for myself and then sharing *the thing* directly with other people when they ask. I've been a little too into Reddit lately, and of course I'm in r/neocities because I thought it'd be a place to hang out. It's mostly people asking for help with their site, so it's actually better because I never get tired of sidequests, but I *can* get tired of politics (which is the other thing I expect of r/neocities, yet I don't see it very much at all). All to say... I've been on this website with my phone. It's a disgrace, I'm gonna revamp it. Don't worry though, the Main Site aesthetic should remain. I have made other version of a webpage that are much more fun, but it's kinda like a tattoo. I would really like it for the time being, but I just know I'd regret not getting that other cool design. These colorful pages can stay side projects until I find one that clicks, but for now, the black and white is well within my league. ## I made Lazy Susan 2024-03-05T16:44-04:00 # lazy susan, nom nom nom I'll temporarily drop the pie analogy I've been playing with for the sake of explaining what [Lazy Susan](../lazysusan/index.html) is: it's just a wheel to spin. Lazy susans are for spinning food, so I figured it was a cute name for the page. I think I've pretty much given up on giving every page a header, it's so tiring. I haven't even updated Main Site since...well, since the Dragonese Dictionary. Which, now that I think about it, isn't that old. Lazy Susan was a surprisingly easy project! I thought it would be more complicated, but computers make it surprisingly easy to bake pies and spin 'em around. SVG was a savior for this. I can't imagine how I would even begin this using canvas, though surely the text would be even more of a hassle. As it is, the hardest part of the project was finding enough colors (it's only got 30, though you could make your own using hex colors). I just got a row of Google's Material and Flat from [htmlcolorcodes.com/color-chart](https://htmlcolorcodes.com/color-chart/). That site is awful full of ads according to my adblocker, by the way. Just wow. Okay, I'm done now. PS: You know what? I may as well add that TicTacToe game to the site... ## I meant to write a story but instead I made boustrophedon.html 2023-05-27T09:13-04:00 # js I was super excited about it and everything. My heart did a cute little jump at the thought of it, and I skipped straight to bed where my laptop lay open, and there, in the tabs, I saw... A video about boustrophedon :( And I thought, well, I meant to work on this a few hours ago. I should do it now. And then I did it now—I mean then. Forgetting to write the story absolutely. Don't worry, though. I haven't forgotten it. It's a story I've been thinking about for forever yet have only rarely thought about. It happens a lot. So many tales to tell, so few tellings told. I'm going to sleep, but as soon as I wake up, I hope to write. ## I was working on an RSS feed for my blog 2023-05-26T20:56-04:00 # js, rss no longer available :( And I think I figured out the simplest way to do it without relying on something other than Javascript. I have very strict standards for myself when it comes to my website designs: accept no help. Not because I think my js and css skillz are superior or anything. I work on these things as a hobby. It's like the difference between cutting out a bunch of paper to create a scrapbook or downloading a template online. Everything on this site is entirely me, and as you may see, me right now is bland as hell.
![screenshot of homepage](bland-website.jpeg)
Main Site May 2023 I don't think this entirely captures my essence, but...at the same time...is my essence even colorful? What do I even mean by essence? It's whatever. My point is, that if you open up the console and `getRSS()`, then badabing bada boom, you got yourself my RSS feed. Is this...is this okay? I feel like I'm definitely doing something wrong. Well, for now, [here's an RSS](https://metemo.neocities.org/blog/rss.xml). Very experimental. Would not recommend following. I myself follow it only to beta, if I could dislike every post, I would. ## My computer popped. Just...POP 2023-05-24T16:53-04:00 # oof I was doing my typical lazying about, grabbed it, and the frame around the screen just popped out. The innards. They are exposed!!! Bluhh, this is suck. My mom has a laptop that she's never used, so I'm backing up all my shit and throwing it in there. Sigh, I never thought it would come to this... This computer sure has been through thick and thin with me. For a few years. It's NOT THAT OLD. I can't tell if I should be sad or angry. It's not even slow, the frame just popped out and I'm worried it'll start janking now that it has exposed wiring. Hopefully I can continue to use it for a few more years, but at least I've got my mom's, admittedly newer, laptop just in case. Hers is small though. No keypad (unless we're counting the monstrosity on the touchpad). And worst of all, it don't have my apps :( I'm typing this on my now janky top though, so it still works as intended. The physical screen does shake a bit now though, it seems whatever was keeping the hinges from going wild just fucked right off. ## Zzzzzz 2023-05-23T03:21-04:00 # sleepy, js I didn't sleep all night making a script that I completely deleted after I finished because I realized it would be much less complicated to just...ug bluh Do you see that new Sort button there in the Blog Links menu? That thing used to not do shit. It just made all the lists flexboxes and reversed their order (which does NOT actually change the order, so when I tab through the links, it just starts me at the bottom instead of at the oldest link). I thought, Yeah, that sucks, but it's so hard to reverse the actual order of the lists, so why don't I just add arrow key controls instead? I must be stupid. It may be obvious, but for those who don't know, there's a lot of layers in those links. Theres lists within list items within details within list items within lists. The easiest way to do the thing, I decided, was to specify in each link where up and where down is (which changes depending on whether the details is open!) I think I was probably right. It just took a lotta while loops, specifying whether a link was inside a summary tag or not, and many many many many many references to parentElements of parentElements. In the end it seemed simple, but it took the whole night (I guess 'cause I overcomplicate things to start with and then take the time later to simplify some task or another). The penultimate 30 minutes of that brain workout were spent reminding myself how tf removeChild() and append() work before the 20 minutes it took to just make the stupid button do what it says. I didn't include the arrow key controls, fuck that. It's a nav thing, just click on the first link and it'll take you to main's first section, jeez. ... Unless you've sorted the links from Old to New, in which case it's take you to the lastest post, I have to sort the posts too MOTHER F-