🚧 What did you do to your website today?

so https://riri.my/ is dead

my new website is over at https://hoodie.lol/! (http is available too :) )

7 Likes

I applied to 2 more webrings

3 Likes

Yesterday I learned about EPKs (Electronic Press Kits) while submitting a recent song I made to a radio, so I updated my music portfolio page at https://music.stefanbohacek.com to better follow that format.

4 Likes

I edited the header file in my Traveller RPG blog that is run on Wordpress, to add a 5px margin on all sides of the body, so the text no longer runs right up against the edge of the screen on a phone.

I have an account on Dreamhost, so it is very easy to install a new Wordpress blog, but man WP is really hard to modify now. The themes are just ridiculously complex. I found this theme that I like because it’s retro in the same way my campaign is, but jeeeez, nothing in the themes is straightforward.

5 Likes

It’s been a year since I started to take medication for my depression, anxiety, and PTSD. So here’s today’s post about my journey so far: Mx.Poesu • A year on medication

5 Likes

Didn’t technically do this today, but I finally got around to finishing the Reading log thingamajingy I used to have on my site before migrating from Wordpress.

It now updates based on changes I make directly to the spreadsheet I use for tracking my reading. Which I think is pretty nifty. (Much more handy than having to do an update in Wordpress every time I start or finish a book, anyways.)

6 Likes

That looks cool. If I was in the habit of tracking my own reading, this looks like something I could implement with a TSV file as a data source and an awk script to generate the HTML. How are you doing it?

fully finished the about page on my new website, and properly made redirects.

~* About Rina *~ (do a hard refresh if you’ve been here)

3 Likes

Thanks! It’s not too far off. Just an ODS file (I like the spreadsheet GUI for tracking and updating my data :smiley: ) and a Python script that generates the HTML. The cover images I handle entirely manually, with a quick DDG image search (because I want the cover image to match the edition that I’m actually reading) and then resize it manually to make sure the file size is minimal.

I’m impressed! The only file parsing I’ve done is some basic csv parsing, tho the code is still stuck in an unpublished part of my site.

That’s higher praise than I deserve! Most of the heavy lifting is done by a package I’ve imported, and used LLMs to help me with the code.

What kind of data are you parsing, and which scripting language are you using?

neat! I’m stubborn about not using any frameworks besides jekyll to build my site.

I made a really simple JS script to play different music depending on the page, and stored in a ā€œmusic libraryā€

       │ File: musiclist.csv
   1   │ page,song
   2   │ /oneshot/tmp-hypnos/,relaxation
   3   │ /oneshot/tmp-hypnos/page2, dm_no1ze desert

and a snippit of the code

async function getPageSong()
{
	if (!document.getElementById("autoplay-text-box"))
		{ return; }
		
	let req = await fetch("musiclist.csv");
	if (!req.ok)
		{ throw new Error(`HTTP error" ${req.status}`); }
	list = await req.text();
	list = list.split('\n');
	list.shift();	// getting rid of the csv header
	
	var pgsong = "def"
	for (const line of list)
	{
		let songline = line.split(',');
		if(songline[1] === undefined)
			{ continue; }
		if(!window.location.pathname.startsWith(songline[0]))
			{ continue; }
		
		pgsong = songline[1];
	}
	if(pgsong == "def")
	{
		console.warn("No page song defined! Defaulting to relaxation");
		pgsong = "relaxation";
	}
	
	let namereq = await fetch(`audio/${pgsong}.txt`);
	if (!req.ok)
		AUTOplay.dispSong = `${pgsong}.mp3`;
	else
		AUTOplay.dispSong = await namereq.text();
	
	AUTOplay.curSong = pgsong;
	AUTOplay.player = new Audio(`audio/${pgsong}.mp3`);
	
	AUTOplay.player.addEventListener("play", playMus);
	AUTOplay.player.addEventListener("pause", stopMus);
	AUTOplay.player.play();	// will most likely fail but we tried :)
}
1 Like

Huh strange. Not sure if you deleted the link, but I got a transported to a 404 page

This beautiful thing. Shark fin horizontal rules!

9 Likes

I love it! That was so cool! :shark:

1 Like

Finally migrated my Star Wars: Knights of the Old Republic mod lists from Google Docs to my Star Wars: KotOR shrine!

4 Likes

i guess the trailing / made the issue, i didn’t delete anything
here try this ~* About Rina *~, ill also edit the OP

1 Like

Alright that’s just frickin’ awesome!

I started a new page today to show off my collection coloring books:

It’s probably a bit overdesigned, but I wanted it to work differently than my other pages, and not just be a boring list of…stuff.

4 Likes

I’m working on implementing Atom feeds on my site to replace RSS.

1 Like