(franken)log

dev site for hy(de)blog

2023-02-16 Thursday

With me re-writing the basic HTML structure along with the CSS styles I am finding that the existing JS functions of hyblog do not work. Some of this was assumed given different ID/class names and a approaches to structuring the content. What I am finding is that it is likely less work to re-write/include new JS from scratch to work with the other re-writes I'm taking on.

Example: In an attempt to get the existing menu functionality to work with the new sidebar approach I am taking, I fiddled with the existing code for an hour or two with no luck in the end to get it working with some of the other elements I included. After abandoning this approach, it took me 15mins to achieve the same results in a different way. The result is also a whole lot less JS and CSS combined.

This isn't a criticism of the existing functionality of hyblog but rather a reality of the process I am current in the midst of.

I'm likely to re-write/include ALL of the existing JS functionality. There's not much of it, and it all seems relatively basic, but given my lack of knowledge in this area there's a lot of copy-and-paste / trial-and-error involved. 1


  1. for testing 

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

I made lots of progress today, mainly thanks to procrastinating from working on the unrelated things that needed to get done today. 🤷‍♂️

Too much to list the details of, but in short:

  • have the new index.php page which serves up the entries and daily posts mostly finished.
    • all the functionality works
  • all new SVGs replace the existing raster images
  • most of the animations work
    • only slight modifications were needed

Still to do:

  • fix some weird styling things that are baked-in to places I've yet to discover
  • style the public facing forms
  • work out some weird things happening with the comment form
    • extra width being added on submission
      • noticed this on mobile but not yet sure if I can recreate on desktop
  • revisit the sidebar
    • tweak stylings
    • add in close on click anywhere but sidebar

Lots of trial and error, but feeling good about this this far.

alt text image upload testing

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.

Renamed hyblog.xml to rss.xml and daily.xml to rss-daily.xml to standardize some nomenclature. Updated rss.php, dailyfeed.php and feeds/feeds/php accordingly.

Updated rss.php, dailyfeed.php based on the files in use at log.kvl.me which already had various corrections made.

Comments

Have something you'd like to respond with? 📣

Send me a note via email and let's start a conversation on this very topic.