2015.05.06 – Onward!

Today I decided to work on some long overdue things. I want to transfer the data from my old recipe site to my new recipe site. The data in the old site is in an interesting format so I’m not sure how best to do this. There are DB dumps so I’m thinking about how to extract what I need but maybe it’s best to write a script to dump the data the way I want it which I think is in JSON. I did a bit of digging around on Heroku where the new site is to see what I might need to do ahead of time and to see exactly how I get the data into the database. I also worked on writing a Python script to grab the data and give it to me in JSON. I was close to having it ready to test when Andrew let me know he had JSON dumps for me already. That works!

I did a significant amount of reading and searching for how to get this data imported to my new site but was getting frustrated. I set that project aside and pulled up a Mozilla bug I had been wanting to get to. I needed to make the tooltip say the correct thing when an event is starred. Right now it says “Save as starred event”. I was not going to let JavaScript intimidate me this time! I figured out what I needed to do and got the code written. The syntax had me struggling a bit but I screwed around with it until I got a fun error “a is undefined” in a JS file that isn’t mine. Well crap. I had to ask Andrew for some help but he was busy and it was time for dinner anyway.

Today I learned about this handy site to help ramp up on JavaScript skills.