TODO: New ioconf file [done] New matrixconf file [done] Info from Perry [done] and study of weblogs Add to bin/ProductList.txt [done] Add fetching of weblog to bin/runday.sh Initially have to manually split weblog [done] Add to DBextract/Products.txt [had already done] Manually create EBMGdocOID.doc [done] Create Perl script for report rendering (Functions/template/EBMG.pl) Add to ReportingMockup/Functions/products.pl Generate stats for previous months (from June) Copy ioconf, matrixconf, EBMGdocOID.doc, EBMGipdata to previous months ------------------------------------------------------------------------------ Procedure: 1. Searched Reporting/Data/collDoc.bcp file to see if there are document IDs for the product. Found top-level ID of 112605734 for the product, with title "EBM Guidelines: Evidence-Based Medicine". No IDs for articles. 2. Perry had supplied the ISBN for EBMG (as 0470027460), and using this I had already added a line to Reporting/DBextract/Products.txt: PRODUCTS=${PRODUCTS}"EBMG:0470027460 This caused the daily database dump to create the files EBMGdocOID.doc and EBMGipdata in directory ~/Reporting/Data/2006/Oct, but the EBMGdocOID.doc file was empty. 3. Manually edited the EBMGdocOID.doc in ~/Reporting/Data/2006/Sep to contain the single line: 112605734 and modified ~/Reporting/Source/Current/src/bin/runday.sh to copy this file from the previous month (after doing the database dump). Committed runday.sh change to CVS. 4. Create ioconf file by: cd ~/Reporting/Source/Current/config/ioconf cp els-conf.xml ebmg-conf.xml vim ebmg-conf.xml change all occurrences of ELS to EBMG change all occurrences of els to ebmg change MRWLog to EBMGLog remove entries for UrlOidMappingFile, ArticleSelectFile and PPVFile cvs add ebmg-conf.xml cvs commit ebmg-conf.xml 5. Create weblog directories: cd ~/Reporting/WebLogs mkdir -p EBMGLog/2006/Jun mkdir -p EBMGLog/2006/Jul mkdir -p EBMGLog/2006/Aug mkdir -p EBMGLog/2006/Sep 6. Split weblog into separate files for each month: cd ~/Reporting/WebLogs/EBMGLog/2006 grep 'Jun/2006' /wispers/logs/www/vh01/access_log >Jun/access.01Jun-11PM grep 'Jul/2006' /wispers/logs/www/vh01/access_log >Jul/access.01Jul-11PM grep 'Aug/2006' /wispers/logs/www/vh01/access_log >Aug/access.01Aug-11PM grep 'Sep/2006' /wispers/logs/www/vh01/access_log >Sep/access.01Sep-11PM gzip */access.* (Actually did similar procedure to further split these into daily weblogs, as these were needed for daily processing). 7. Create matrixconf file by: cd ~/Reporting/Source/Current/config/matrixconf cp els-matrix.xml ebmg-matrix.xml vim ebmg-matrix.xml change product name, patterns, etc. cvs add ebmg-matrix.xml cvs commit ebmg-matrix.xml 8. Edit src/bin/ProductList.txt: add line: ebmg and commit to CVS.