in reply to Re^3: PMplanet has a new home
in thread PMplanet has a new home

That sounds like a great idea, except:

Replies are listed 'Best First'.
Re^5: PMplanet has a new home
by planetscape (Chancellor) on Feb 07, 2010 at 16:06 UTC

    If you view your homenode in xml, there is "updated" (as in <node id="442602" title="planetscape" created="2005-03-27 04:28:58" updated="2008-01-24 22:33:38">)

    So perhaps if that date is within a certain time limit, you may want to look at their coordinates to see if they've changed?

    HTH,

    planetscape
      What I'm trying to minimize is the number of times I have to fetch somebody's home node. Once I got it, I can just as well parse the coordinates.

      Fetching one single page with an overview with all recent changes for all users would have been useful. Fetching a page for every individual user, not so much.

        Oh, I see. I guess I was thinking (?) that you would narrow down the list of users fetched by those appearing only in Other Users, or some similar criteria.

        HTH,

        planetscape
Re^5: PMplanet has a new home
by WizardOfUz (Friar) on Feb 07, 2010 at 15:36 UTC
    You probably have to check "This is a significant update" for that.

    Yes, I think so too.

    There is no usable XML view.

    This seems to work:

    #!/usr/bin/perl use strict; use warnings; open( my $fh, '<', "/home/joerg/dump.html" ) or die $!; my $html = do { local( $/ ); <$fh> }; close $fh; my @nodes; while ( $html =~ s!<tr><td><a href="\?node_id=(\d+)">([^<]+)</a></td>< +td>\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d</td></tr>!! ) { push @nodes, [ $2, $1 ]; } print "@{$_}\n" for @nodes;