a personal domain


project progress

Dec 7th, 2014 at 1:27 AM · project:2014, wtf an update
I feel a bit embarrassed. I spent all afternoon working on my pet project (even forgot to wash lunch dishes until my husband came home for supper! Oh dear!) and here I am, trying not to talk myself out of writing about it. (....I've scanned that last bit and, while I'm not sure if it has anything close to grammar, it does indeed reflect the indecision I'm experiencing. Yay?)

I got the FOAF bit working by relentlessly preg_replace-ing all the namespaces away. It's shamefully hacky, but having the namespaces present in the header makes the entire object blank, and I don't have any idea why, so I'm just trying to route around the damage. I'd been trying to decide whether or not to post all my source publicly; resorting to this hackery means that I think I won't. I'm unprepared to support my code on outside servers anyway. Maybe in the future, sometime, but not this year. I just hope it doesn't break in the meantime, because my fix is an all-or-nothing deal and if it doesn't work, then my project is missing certain bits of data.

A week ago, I don't think I have ever tried parsing OPML beyond a Yahoo! Pipes experiment. I know I hadn't learned how to encode and decode JSON in PHP, or save a string to a new file. These are things I've had to learn as I went. It took me forever, because I had to learn each bit from scratch instead of just implementing previous learning, but it's coming along and I know more stuff now and that feels pretty awesome.

I don't think I ever stated exactly what my project is. That's because I don't know what to call it. I wanted to see just how much data the Dreamwidth API produces for a single account. Turns out, quite a bit! http://wiki.dwscoalition.org/notes/Data_Sources lists them. After discovering this, I tried mashing these up to make a sort of homepage for a specific Dreamwidth community, one made almost entirely from Dreamwidth's data. The idea was that changes to the community would automatically appear on the webpage as well - things like a list of current mods, numbers of posts, any deadlines listed in the profile "bio", even the comm's default icon - so that the webpage wouldn't be out of date and the mods wouldn't need to update the page separately, so long as the comm was up to date.

This turned out to be far more fun, and far more frustrating, than I had imagined. The fun wins, though.

(Did I really, just today, figure out how to make arrays from two different data files in different formats, compare them, sort the results, and save it all to a flat file? I'm pretty sure that I did. I've even edited the flat file to compare it against the live data. Apparently that is a thing I can do now!)

comment count unavailable comments

tempting fate

Dec 3rd, 2014 at 2:59 PM · project:2014, techspeak, wtf an update
Well. I accidentally killed the tumble dryer. Insert non-humorous laugh here.

I'm not ecstatic to be hanging clothes to dry, obviously, but I must admit that I'd much rather machine-wash clothes and air dry them than attempt to wash clothes in a tub but have them warm and fluffily dried.

I was in a Mood over the weekend, but despite the machinations of literal machinery, I am hanging in there and feeling more grounded, stable, and pleasant. Yay!

It turns out that trying to parse a FOAF file in SimpleXML is a real downer. Techspeak: )

Once I get that FOAF-related project fully working and put a bit of polish on it, I intend to show it off. At the moment, it's pretty ugly; it's basically a programmatic skeleton with no flesh on it yet. FOAF aside, it's been fun to play with. I'm still torn between making a sort of template that anybody could use for their own project, or just tweaking it to suit my exact wants. I'll work something out.

I don't hear the washer anymore, so I probably need to hang the laundry and then get to my morning workout. Ugh. It takes so long to warm up in this cold weather! Being warmed does beat feeling the cold, though.

comment count unavailable comments
blog archive

This is the end. If you haven't followed a link yet, perhaps you should take it from the top. SpamPoison