Met with CC and M-CD on status of FrancoToile.
Phase 1 target is 100 clips with transcripts and markup implemented in current infrastructure. Not much work for me beyond ensuring files go where they're supposed to. Video collection over summer. Transcripts in summer and fall. Markup in fall.
Phase 2 will be some form of integration with the FLORE database - not sure yet what whether that's simply a user interface umbrella, including FrancoToile videos as resources in FLORE, or something else.
Phase 3 will look at the possibility of including web2 type capabilities (accept user input, comment etc.)
MC noted that the search within one transcript (i.e. search tab) wasn't working properly.
With Dwayn Loisir (aslf1), there is something about the data that is causing major problems: javascript errors reported by the page, the xml is wrongly structured and missing text. The data in the source xml file seems OK and validates against the rng file, but it must contain apostrophes or some character that is causing the xml parser in ajax_search.php big problems.
With Antoine (secf2), the timesstamps appear OK, but in the popup text boxes, the html entity for the apostrophe (') is not rendered as the apostrophe character. This is a problem that I've seen before and one I thought I'd already fixed, but obviously not.
Tomorrow I'll test a couple more data files and see if there are any other kinds of problems. Assuming no additional issues, I'll work on the "Antoine" problem first, then the Dwayn problem.
There was an update to the apache server (httpd) on lettuce March 1 that required editing of the existing .htaccess file. Apache 2.2 has been compiled with LDAP, meaning .htaccess can be a bit less verbose.
This is the new authentication scheme:
AuthType Basic
AuthName "Restricted to username or NetLinkID"
AuthBasicProvider ldap file
AuthUserFile /path/to/.htpasswd
Require valid-user
Note the removal of an explicitly declared username. When Apache reads the file it heads off to /path/to/.htpasswd and reads it to find out the username to expect.
I'm also adding this info to the Maintenance blog.
1. The list should not appear before any search
I've modified search.php so that when the page opens or when the user tries a search with no text and no filters, the search is not done and no search report text appears.
2. Gender
No changes made.
3. Location needs to be changed- add French translation
I've put the four values for Location into the French and English language files. Those appear in the Location dropdown list on the search page. The search tests if that value appears anywhere in the residence element in the data.
4. Origin needs to be added (see Oxygen and tanslation in document)
I've put the four values for Origin into the French and English language files. Those appear in the Origin dropdown list on the search page. The search tests if that value appears anywhere in the nationality element in the data.
5. Topics
Right now the system is set up so that the items in the English Topics drop-down list are in English and the French Sujets drop-down list are in French, but the actual searches search for the French term. It's trivial to change the text that appears in the interface, but would take considerably more work to elegantly facilitate the actual search in both languages.
It appears that the data files in the database right now do not contain any of the six topic keywords:
éducation
loisirs
langue
histoire
cinéma
littérature
At least, no matter what topic I search for I get no hits. Is that correct?
If the data does have correct values, then there is something wrong with the code doing the querying, which I'll have to investigate.
6. Age
I changed the code so that people with no age do not fall into the 0-9 age bracket. People with no age cannot be found by an age-based filter - which makes sense to me.
The single-page search in FrancoToile generates error messages. I need to fix that. Also, I suspect there are still problems with IE stretching the bg images and displaying the word "events".
Debugged 1 nov 07
XML RESULT
00:00:24.290 Euh... Je fais aussi ...euh... espagnol, donc langue vivante deux espagnol et italien. 00:00:31.360 Euh... donc le matin c'est mon père qui m'emmène à l'école et le soir pour rentrer je prends le . 00:01:24.440 Donc des sports ??? mais aussi de l'athlétisme des trucs comme ça. On peut avoir natation, que je pense que j'aurai l'année prochaine.
Error Code: 4096
Error Message: Object of class DOMDocument could not be converted to string
File: /home1t/florevid/www/includes/helpers/ajax_search.php
Line: 58
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home1t/florevid/www/includes/helpers/ajax_search.php:47) in /home1t/florevid/www/includes/classes/session.php on line 13
Fatal error: Call to a member function GetVariable() on a non-object in /home1t/florevid/www/includes/classes/lang.php on line 26