Archive for the ‘Code’ Category

Exploiting FrameMaker MIF as XML, Introduction

Saturday, February 3rd, 2007

My O’Reilly colleague Andy Bruno has just written a pair of posts on converting FrameMaker’s MIF (link may be old/die) format into XML (henceforth ‘MX’). I’ll be writing a few posts outlining the ways in which we’ve leveraged MX at O’Reilly.

[Update: Series continues here with getting back into MIF, and reading bookfiles.]

(more…)

Amazon Scrape -> SVG Graph in Ruby

Thursday, February 1st, 2007

I just spent a few minutes enjoying Mongrel and SVG::Graph while helping Rob visualize his Amazon Sales Rank for his book.

The code is available here with a running (maybe) example here. If all goes well, that should show you an SVG graph (thanks, Firefox) showing the changes in sales rank over time.

Rob’s code to generate the scrape is here.

Picture:
Rob Sales Rank

[Update: darcs get http://kfahlgren.com/code/]