Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

darobin (1316)

  (email not shown publicly)

Journal of darobin (1316)

Thursday August 29, 2002
03:58 AM

Friend of friend

[ #7386 ]

Oooh, I like those new little icons! Is that the first step towards exporting FOAF files from use.perl? For a sample document: my FOAF file.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I wondered once if it would be possible to produce a graphical map of use.perl friends or fans, centered at an arbitrary user, with a specified "radius". However I've no idea which tool to use to produce such a topological map. (and is there a more computer friendly version of the friends page []?)
    • Sounds like a job for graphviz (and probably LWP to extract the details).
      • Actually, I wrote a while ago this kind of script, but it crashed my box every time I tried to launch it... If anyone is willing to give it a try, it's available here [].

        -- briac
    • As Matt said, so long as you can extract the data it's probably a job at which GraphViz would excel (especially using its nice Perl interface ;).

      There is no more computer friendly version of the friends page that I know of (except the db behind it of course) but there was talk a few months ago of adding SOAP support to the Zoo. It shouldn't be too hard for anyone that knows a little about Slash (and even someone that doesn't). I might do it if I have the time (which could be whenever...). That bein


      -- Robin Berjon []

      • And was this produced with GraphViz ? (which looks great anyway -- ) Producing a readable layout may be challenging due to the amount of data.
        • That was produced by a perl layout engine I hacked up that I don't own the rights to, which uses GD (for truetype fonts), Graphics::Libplot (for bezier lines), and Image::Magick to glue the two together.

          Back then, Libplot had troubles outputting .png, and GD had trouble reading them, so Image::Magick did a .gif -> .png conversion for me. What a hack. I offered to hire Thomas Boutell to put beziers into GD (was too time constrained myself at the time), but he wasn't interested.

          GraphViz handles tree