| ReshuffleOrElection |
UserPreferences |
| Fawkes Wiki | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents | moin.sf.net |
At some point we need a procedure for each of these events.
Various master files are stored in publicwhip/members in the Public Whip CVS repository, which is on SourceForge. The main files are all-members.xml which contains lists of offices of membership of parliament, and people.xml which joins them together as people.
When they update the web page containing the list of ministerial positions, we notice that and automatically update the database accordingly; this then appears on the site. This is fine, apart from we might want to add some overrides when they're a bit slow/incorrect. Also, their web page lists everything twice - once each department, then the people in it, then list of people and their positions. We parse the second for positions, the first for responsibilities. A couple of people were only added to the second recently, when they should have been there for ages. This leads to:
The all-members.xml is currently semi-manually updated.
6 is 659 cases of type 4. I think this must be a web form so we can make the chnages easily (and on election night, we can hunker down and get drunk while the results come in, at my place) - stef
After a general election, my plan was to get hold of the internal parliament list of MPs and run a script to convert that from HTML to the XML format. You have some time after the election before anything happens in Parliament. They all have to swear in for a few days and stuff. - Francis
There is a constuencies.xml file, which does have constituency ids in them. I've never used the ids though, instead I have a "canonical name" for each constituency. Boundary changes will happen soon, but I think for the general election after the next one. It poses no especial problems - updating the postcode database needed. - Francis
Yearly URL shuffle 8 is dealt with by the scraper script which notices the URLs have changed and will remap everything and change just those bits of the database. Have to make sure it works though next year, might be something minor missing. - Francis