Skip to content

Commit

Permalink
helps if we put the dates in the xml output
Browse files Browse the repository at this point in the history
git-svn-id: http://project.knowledgeforge.net/ukparse/svn/trunk@485 9cc54934-f9f6-0310-8a8d-e8e977684441
  • Loading branch information
ukparsebot committed Dec 23, 2005
1 parent 8e7af41 commit 6a6f390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom/edm2xml.pl
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ sub parse_motion {
#$info_ref->{sponsored_by}->{$order}->{position}= $order;
$info_ref->{sponsored_by}->{$order}->{edm_memberid}= $memberid;
$info_ref->{sponsored_by}->{$order}->{pw_memberid}= $MPmap{$memberid}->{"signed_$info_ref->{parliament_edmid}"};
$info_ref->{sponsored_by}->{$order}->{date}= $MPmap{$memberid}->{"date_signed_$info_ref->{parliament_edmid}"};
}
(@matches)= $content=~ m#<a\s*href='EDMByMember\.aspx\?MID=(\d+)'>\s*<span id="Sigs__ctl(\d+)_lblMember">(.*?)</span>#mcig;
while (($memberid, $order, $name, @matches)= @matches) {
Expand All @@ -155,6 +156,7 @@ sub parse_motion {
$info_ref->{supported_by}->{$order}->{edm_memberid}= $memberid;
#$info_ref->{supported}->[$order -1]="$name";
$info_ref->{supported_by}->{$order}->{pw_memberid}= $MPmap{$memberid}->{"signed_$info_ref->{parliament_edmid}"};
$info_ref->{supported_by}->{$order}->{date}= $MPmap{$memberid}->{"date_signed_$info_ref->{parliament_edmid}"};
}
#print "$info_ref->{motion}\n";
Expand Down

0 comments on commit 6a6f390

Please sign in to comment.