<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,15 +10,6 @@ conf = Configuration.new
 
 FileUtils.mkdir_p conf.members_xml_path
 
-# Copy across files that are needed for the script xml2db to run but are not yet populated with data
-[&quot;bbc-links.xml&quot;, &quot;constituencies.xml&quot;, &quot;diocese-bishops.xml&quot;, &quot;edm-links.xml&quot;, &quot;expenses200102.xml&quot;,
-  &quot;expenses200203.xml&quot;, &quot;expenses200304.xml&quot;, &quot;expenses200405.xml&quot;, &quot;expenses200506.xml&quot;, &quot;expenses200506former.xml&quot;,
-  &quot;expenses200607.xml&quot;, &quot;guardian-links.xml&quot;, &quot;journa-list.xml&quot;, &quot;lordbiogs.xml&quot;, &quot;ni-members.xml&quot;,
-  &quot;royals.xml&quot;, &quot;sp-members.xml&quot;, &quot;wikipedia-commons.xml&quot;, &quot;wikipedia-lords.xml&quot;, &quot;wikipedia-mla.xml&quot;,
-  &quot;wikipedia-msp.xml&quot;].each do |file|
-    FileUtils.cp File.join(&quot;data&quot;, &quot;empty-template.xml&quot;), File.join(conf.members_xml_path, file)
-end
-
 puts &quot;Reading members data...&quot;
 people = PeopleCSVReader.read_members
 PeopleCSVReader.read_all_ministers(people)
@@ -66,8 +57,8 @@ people.each do |person|
 end
 
 puts &quot;Writing XML...&quot;
-people.write_xml(&quot;#{conf.members_xml_path}/people.xml&quot;, &quot;#{conf.members_xml_path}/all-members.xml&quot;, &quot;#{conf.members_xml_path}/peers-ucl.xml&quot;,
-  &quot;#{conf.members_xml_path}/ministers.xml&quot;, &quot;#{conf.members_xml_path}/constituencies.xml&quot;)
+people.write_xml(&quot;#{conf.members_xml_path}/people.xml&quot;, &quot;#{conf.members_xml_path}/representatives.xml&quot;, &quot;#{conf.members_xml_path}/senators.xml&quot;,
+  &quot;#{conf.members_xml_path}/ministers.xml&quot;, &quot;#{conf.members_xml_path}/divisions.xml&quot;)
 
 # And load up the database
 # Starts with 'perl' to be friendly with Windows</diff>
      <filename>parse-members.rb</filename>
    </modified>
    <modified>
      <diff>@@ -65,12 +65,8 @@ end
 
 conf = Configuration.new
 
-FileUtils.mkdir_p &quot;#{conf.xml_path}/scrapedxml/debates&quot;
-FileUtils.mkdir_p &quot;#{conf.xml_path}/scrapedxml/lordspages&quot;
-FileUtils.mkdir_p &quot;#{conf.xml_path}/scrapedxml/regmem&quot;
-
-# Copy across file that is needed for the script xml2db to run but is not yet populated with data
-system(&quot;cp #{File.dirname(__FILE__)}/data/empty-template.xml #{conf.xml_path}/scrapedxml/regmem/regmem2000-01-01.xml&quot;)
+FileUtils.mkdir_p &quot;#{conf.xml_path}/scrapedxml/representatives_debates&quot;
+FileUtils.mkdir_p &quot;#{conf.xml_path}/scrapedxml/senate_debates&quot;
 
 # First load people back in so that we can look up member id's
 people = PeopleCSVReader.read_members
@@ -84,17 +80,17 @@ date = to_date
 while date &gt;= from_date
   if conf.write_xml_representatives
     if options[:proof]
-      parser.parse_date_house_only_in_proof(date, &quot;#{conf.xml_path}/scrapedxml/debates/debates#{date}.xml&quot;, House.representatives)
+      parser.parse_date_house_only_in_proof(date, &quot;#{conf.xml_path}/scrapedxml/representatives_debates/#{date}.xml&quot;, House.representatives)
     else
-      parser.parse_date_house(date, &quot;#{conf.xml_path}/scrapedxml/debates/debates#{date}.xml&quot;, House.representatives)
+      parser.parse_date_house(date, &quot;#{conf.xml_path}/scrapedxml/representatives_debates/#{date}.xml&quot;, House.representatives)
     end
   end
   progress.inc
   if conf.write_xml_senators
     if options[:proof]
-      parser.parse_date_house_only_in_proof(date, &quot;#{conf.xml_path}/scrapedxml/lordspages/daylord#{date}.xml&quot;, House.senate)
+      parser.parse_date_house_only_in_proof(date, &quot;#{conf.xml_path}/scrapedxml/senate_debates/#{date}.xml&quot;, House.senate)
     else
-      parser.parse_date_house(date, &quot;#{conf.xml_path}/scrapedxml/lordspages/daylord#{date}.xml&quot;, House.senate)
+      parser.parse_date_house(date, &quot;#{conf.xml_path}/scrapedxml/senate_debates/#{date}.xml&quot;, House.senate)
     end
   end
   progress.inc</diff>
      <filename>parse-speeches.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>data/empty-template.xml</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>c8418ecc7f04655d381e19ffaee3ac4f5950e7e3</id>
    </parent>
  </parents>
  <author>
    <name>Matthew Landauer</name>
    <email>matthew@openaustralia.org</email>
  </author>
  <url>http://github.com/mlandauer/openaustralia-parser/commit/2fd9727bb0d73e99f5c5d21ebaa1a8351c0b16d5</url>
  <id>2fd9727bb0d73e99f5c5d21ebaa1a8351c0b16d5</id>
  <committed-date>2009-05-26T18:52:01-07:00</committed-date>
  <authored-date>2009-05-25T21:08:02-07:00</authored-date>
  <message>Don't generate empty XML files. Rename created XML into more sensible naming convention for Australia.</message>
  <tree>95b9c4bc8ab223623a478e1ca9d117381297cd67</tree>
  <committer>
    <name>Matthew Landauer</name>
    <email>matthew@openaustralia.org</email>
  </committer>
</commit>
