changeset 288:24de33db8284

fixed the missed metadata
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 05 Dec 2008 20:20:19 +0800
parents d194ff3edb2f
children 4c1eb583b97c
files Ikariam.pm
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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"]');