Show
Ignore:
Timestamp:
07/02/07 14:36:29 (17 months ago)
Author:
dom
Message:

Sync with guides on http://openguides.org.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • utils/get-guide-versions

    r879 r1102  
    1111 
    1212my %guides = ( Birmingham => 'http://birmingham.openguides.org/', 
    13                Chester => 'http://chesterguide.org.uk/', 
    1413               Cotswolds => 'http://cotswolds.openguides.org/', 
    1514               Glasgow => 'http://glasgow.openguides.org/', 
     
    1716               London => 'http://london.openguides.org/', 
    1817               Manchester => 'http://manchester.openguides.org/', 
     18               'Randomness (London)' => 'http://london.randomness.org.uk/', 
    1919               'Milton Keynes' => 'http://miltonkeynes.openguides.org/', 
    2020               Norwich => 'http://norwich.openguides.org/', 
     
    2424               Southampton => 'http://southampton.openguides.org/', 
    2525               Vienna => 'http://vienna.openguides.org/', 
     26               'Montreal, QC' => 'http://montreal.openguides.org/', 
    2627               'Victoria, BC' => 'http://victoria.openguides.org/', 
    2728               'Boston, MA' => 'http://boston.openguides.org/', 
    2829               'Saint Paul, MN' => 'http://saintpaul.openguides.org/', 
     30               'New York' => 'http://newyork.openguides.org/', 
    2931               'The Tourist Engineer' => 'http://engineer.openguides.org/', 
    30                "Earle's testing" => 'http://openguides.org/testing/' 
    3132             ); 
    3233 
     
    6162        if ($response->is_success) { 
    6263            my $content = $response->content; 
    63             if ($content =~ /version.(0\.\d+)/s) { 
     64            if ($content =~ /version.(0\.\d+(-\w+)?)/s) { 
    6465                print OUT $1; 
    6566            } else { 
     
    6869            print OUT " (HTML)"; 
    6970        } else { 
    70             print "No methods worked"; 
     71            print OUT "No methods worked"; 
    7172        } 
    7273        print OUT "</td></tr>\n";