comment section is now live!

after two days of grueling work (no, doing grad school application is really the grueling work, not the website) (making the website has been more fun than writing personal statement), the comment section below is now live! had some hiccups here and there, but now it should be mostly working -- let me know if it breaks or anything (and if you try to break it, let me know as well)

the backend of the comment section is google forms/sheets, which i think is hella funny but at the same time i don't want to deal with hosting a db on my own server nor do i want to take in a third party integration thing (well, technically google sheets is third party, but i'm talking about ready-made solutions. you know what i mean, disqus and stuff.) plus writing your own code is always more fun than not, so there's that!

the initial implementation is heavily inspired by this blogpost, but it is kinda specific to jekyll; so i stripped it down to what i need to do. the endpoints are still the same, so as long as you can read the javascript he used, it should be roughly straightforward from there. feel free to look around the js files to see the endpoint as well as the api being used!!

i had some further issues with the comment section that i did not forsee, which are:

  • date parsing: holy shit i hate dates. why do americans use mm/dd/yyyy. either go iso-compliant or at least logically go up from date to month to years. i had to write a custom parser for this.
  • safari not having .sethtml() function: also whyyyyyy. well, not a big deal, just gotta go through some slightly convoluted ways to show the stuff and to wrap it nicely in divs and such.

comments

still under construction, but it's functional!!!!

submit your comment





todo: everything on the sidebar, sitemap, getting on nekoweb districts, music?? 100qn , marquees somewhere

lastfm widget by https://reduxflakes.nekoweb.org because i am too lazy to use and hide my own API key