diff Ikariam.pm @ 288:24de33db8284

fixed the missed metadata
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 05 Dec 2008 20:20:19 +0800
parents 2ddd2bd21ef2
children 73c9bf517155 15c288dd7dc5
line wrap: on
line diff
--- a/Ikariam.pm	Fri Dec 05 20:20:03 2008 +0800
+++ b/Ikariam.pm	Fri Dec 05 20:20:19 2008 +0800
@@ -750,6 +750,7 @@
         }
     }
 
+    $data->{id} = $cityId;
     $data->{name} = $extractor->find('//span[@class="city"]/text()');
 
     my $island = $extractor->find('//div[@id="breadcrumbs"]/a[@class="island"]');