Content Map

This is an example of my googlemap module that I extended from this module by bjornarneson.

It creates map points through parsing local RSS feeds that Drupal produces. Normally these feeds only contain the last 15 posts, but I hacked together a helper module (fullfeed.module) that uses taxonomy.module urls (with cool term parsing) but adds all content in the term (or terms) to the feed.

With each feed I can define a custom marker (.png files I created and uploaded). The markers are all default size and shadow—this is limiting, but it’s a PITA to modify it.

The workflow for this is relatively easy. Pure latitude and longitude data is inputed via location.module—I grab it from maps.google.com because I couldn’t get the geocoding from an address to work, though many of my nodes are from random places and this is much more accurate. I have a vocabulary setup just for mapped nodes (photos, videos, random thoughts, etc), and use these as my feeds. Custom icons I created and FTPed in, though you could just use upload.module and attach them to your map node.

It currently does not support lines, though I am definitely planning on adding them. but I don’t have a good idea of workflow though, considering there is not a standard RSS element and am not sure if it’s going to be too hard to either…

The module now supports lines as a nodeapi hook (like location.module adds lat/long). Each feed can set a custom line color. I don’t know workflow yet whether to keep it like this, or have color on a per-node basis.

There is still the line issue of:

  • define a new namespace (I have no clue on how to do this)
  • coopt an existing but unused element and pray we don’t break anything
  • parse a static xml file that would somehow be specified in a node

Lastly, there is an issue with posting more than one map on a page (it breaks). This is because every map sets things in the header, and I’m not sure what is the best way to make sure that they only post the important stuff once when there is a list of them.


23rd Birthday/Thanksgiving Spectacular, Part 1

This is the first installment of the day when both my 23rd birthday and Thanksgiving coincide. There are a couple problems with the camera work, lighting, script (there is none) and such, but hopefully you will enjoy it, or at least be able to take part in my day, even though you aren’t here.


Scooped!

In the story writing process, I find creating lead-ins to be simplest, while crafting an actual story around it to be a difficult task. This morning I came up with the following, but was disappointed to find that the AP had done me one better:

bq. Jerrod Rines is a pickup owning, Mexican stomping, full-blooded American–one-quarter Irish, one-quarter Italian, three-eighths German, and Lithuanian the rest. Long ago he made a point to avoid reading anything except street signs and engine maintenance manuals. Because of all of this, Jerrod Rines faced this morning’s mail with great trepidation: a square and solitary alabaster envelope bearing, in black flowing print, the return address of “Mr J Singh and Ms. T James.”

bq. Jerrod Rines’ only daughter is getting married.

The following is what I read in the Metro, Boston’s premier rag (the Herald isn’t even fit for wiping). Written by an Associated Press writer, Ken Maguire, in one sentence it evokes in me many of the same feelings my writing above seeks to create.

bq. _*Five students with state ties to be Rhodes Scholars*_

*Boston* Amherst native Nicholas Juravich learned about the societal inequities he hopes to study as a Rhodes Scholar during his regular runs through Chicago’s neighborhoods.

For the record, I do not question Mr. Jurovich’s dedication to his cause, merely the way in way in which it is presented.


I, defender of democracy-ocracy-cracy

This morning, coming home from my gym I went down into the Chinatown T-stop ( here). For the past few months, the escalator has been out of service and over that period become increasingly dismantled. In my investigation of this I would find I had become (booming voice) a defender of democracy-ocracy-cracy.

I find most mechanical things neato, especially when large, dirty and taken apart. Due to this, I happily pulled out my camera and began taking a few pictures of the escalator husk because, hey, why not. Little did I know that I could be abetting… a terrorist.

Fortunately for myself and my nation, the T attendant came out of her box and asked, “Are you supposed to be doing that?”

Feeling a bit like Galileo, I hesitatingly replied, “Umm, no.”

“You can’t be taking pictures of that. There are terrorists and we need to protect the station. You will have to delete those pictures”

Rather than point out that terrorists could still just as easily take the elevator if they were unable or unwilling to take the stairs, I dutifully complied-they were dark and blurry anyway-thus cementing my place as a defender of democracy-ocracy-cracy.

Looking back on those times, I feel fortunate that I was dressed as my alter ego, average white guy, or else the my experience could have been, in the name of freedom, drastically different.

Despite my lack of new T photos, as a protector of all things American, I feel it’s my civic duty to post a picture from the archive. She’s proud; and what woman wouldn’t be to date a defender of democracy-ocracy-cracy.


Rubbed away

I was down in Back Bay today and snapped this picture of the subway map.

These new maps were put up just a few months ago and as you can see, quite a number of people have placed their finger on the map and said “We’re here…”



Autumn Pollution

I work in Lowell, MA, an old mill city criss-crossed with canals. In New England, the Fall leaves are at first beautiful on the trees, then gross as they litter the sidewalks, roads, and as I found out, waterways as well. When I first saw this canal I thought there had been a chemical spill. Upon closer inspection, I saw that it was just Autumn leaves.


Pool Soup

Length: 41 seconds Music: Josh Cook – Fishin’ Blues [Internet Archive]

This is a short video that I shot of my neighbor’s pool. Using my little Casio digicam and a camera mount consisting of a box of Trader Joe’s Green Tea, I taped some of the gusty winds we were getting today as they moved leaves around in the pool.

The original tape was 27 minutes that I then cut frames from (by about a factor of 50) to give a time lapse effect. If you watch the bottom right of the screen you can see the shadows shift as the sun moves overhead. I am not sure, but there is a quick round white reflection that moves across the pool that I think may be the moon.

Enjoy.