CreateASPPages_USA_DC.bat Biz 1 CRE 2 Fran 1 CreateASPPages_Canada.bat Biz 277 CRE 554 Fran 277 CreateASPPages_USA.bat Biz 2999 CRE 6000 Fran 3000 ------------------------------------------ 3/2/09 - After Franchise Selector: NOTE: DC does NOT have it's own templates. CreateASPPages_USA_DC.bat Biz 2 CRE 4 Fran 2 CreateASPPages_Canada.bat Biz 277 CRE 554 Fran 277 CreateASPPages_USA.bat Biz 3000 CRE 6000 Fran 3000 ------------------------------------------ 3/14/09 - After Franchise By Investment Widget and City / County href links: NOTE: DC does NOT have it's own templates. CreateASPPages_USA_DC.bat Biz 2 CRE 4 Fran 2 CreateASPPages_Canada.bat Biz 277 CRE 554 Fran 277 CreateASPPages_USA.bat Biz 3000 CRE 6000 Fran 3000 Total Pages Created = 13116 ------------------------------------------ 3/7/11 NOTES: - bat files call CreateASPPages_DC.vbs which uses these files, so if changes are made will need to update 16 ASP files - not sure why separate ASP templates are needed for Canada otherwise can reduce number of template files to 8 ASP files - if templates are changed, 13116 pages will need to be recreated - test with business\california-businesses-for-sale.asp first -> california-businesses-for-sale_TEST.asp - put Google ads and FG Selector in top-ads.asp - also updated other-commercial-real-estate-for-sale.asp, other-commercial-real-estate-for-lease.asp other-businesses-for-sale.asp other-franchises-for-sale.asp Skipped (since old layout): international-commercial-real-estate-for-sale.asp international-commercial-real-estate-for-lease.asp - using 300x250 (but ok for now ... currently testing 336x280) Renamed as: _b4GAdsImprov_030711 Select Case strCountry Case "United States" Select Case strBizType Case "BIZ" if strSaleType = "Sale" Then TemplateFileVirtualPath = "business\california-businesses-for-sale.asp" end if Case "CRE" if strSaleType = "Sale" Then TemplateFileVirtualPath = "commercial-real-estate\california-commercial-real-estate-for-sale.asp" elseif strSaleType = "Lease" Then TemplateFileVirtualPath = "commercial-real-estate\california-commercial-real-estate-for-lease.asp" end if Case "FRAN" if strSaleType = "Sale" Then TemplateFileVirtualPath = "franchise\california-franchises-for-sale.asp" end if End Select Case "Canada" Select Case strBizType Case "BIZ" if strSaleType = "Sale" Then TemplateFileVirtualPath = "business\alberta-businesses-for-sale.asp" end if Case "CRE" if strSaleType = "Sale" Then TemplateFileVirtualPath = "commercial-real-estate\alberta-commercial-real-estate-for-sale.asp" elseif strSaleType = "Lease" Then TemplateFileVirtualPath = "commercial-real-estate\alberta-commercial-real-estate-for-lease.asp" End If Case "FRAN" if strSaleType = "Sale" Then TemplateFileVirtualPath = "franchise\alberta-franchises-for-sale.asp" end if End Select End Select Select Case strCountry Case "United States" Select Case strBizType Case "BIZ" if strSaleType = "Sale" Then TemplateFileVirtualPath = "business\california\san-fernando-valley-businesses-for-sale.asp" end if Case "CRE" if strSaleType = "Sale" Then TemplateFileVirtualPath = "commercial-real-estate\california\san-fernando-valley-commercial-real-estate-for-sale.asp" elseif strSaleType = "Lease" Then TemplateFileVirtualPath = "commercial-real-estate\california\san-fernando-valley-commercial-real-estate-for-lease.asp" End If Case "FRAN" if strSaleType = "Sale" Then TemplateFileVirtualPath = "franchise\california\san-fernando-valley-franchises-for-sale.asp" end if End Select Case "Canada" Select Case strBizType Case "BIZ" if strSaleType = "Sale" Then TemplateFileVirtualPath = "business\alberta\calgary-businesses-for-sale.asp" end if Case "CRE" if strSaleType = "Sale" Then TemplateFileVirtualPath = "commercial-real-estate\alberta\calgary-commercial-real-estate-for-sale.asp" elseif strSaleType = "Lease" Then TemplateFileVirtualPath = "commercial-real-estate\alberta\calgary-commercial-real-estate-for-lease.asp" End If Case "FRAN" if strSaleType = "Sale" Then TemplateFileVirtualPath = "franchise\alberta\calgary-franchises-for-sale.asp" end if End Select End Select ******************************* NOTE: DC does NOT have it's own templates. CreateASPPages_USA_DC.bat Biz 2 CRE 4 Fran 2 CreateASPPages_Canada.bat Biz 277 CRE 554 Fran 277 CreateASPPages_USA.bat Biz 3000 CRE 6000 Fran 3000 Total Pages Created = 13116 - put all files into BizFranCRE_030811, zip and upload -> 14451 files 13116 + 3 top-ads.asp + 4 (other-commercial-real-estate-for-sale.asp, other-commercial-real-estate-for-lease.asp, other-businesses-for-sale.asp, other-franchises-for-sale.asp) = 13123 files Extra files = 14451 - 13123 = 1328 ?? replaced files! business - 3613 files -> 3285 commercial-real-estate - 7225 files -> 6569 franchise - 3613 files -> 3285 = 14451 files -> 13179 after removing replaced files 13179 - 13116 = 63 extra files still (WIP files!) -> 13139 files -> still 23 extra ??? no 16 template + 7 new / updated 16 Template files are not counted in BAT since they are not getting recreated ... 13139 total files - 13116 created - 16 template - 7 new / updated = 0 extra! ---------------------------------- 11/4/11: CreateASPPages_USA_DC.bat Biz 0 CRE 0 Fran 0 - destination file(s) already exists CreateASPPages_Canada.bat Biz 285 CRE 570 Fran 285 - note only new pages are created CreateASPPages_USA.bat Biz 2432 CRE 4890 Fran 2445 - note only new pages are created - supposed to be created but wasn't, ran bat files again, and it was created http://localhost/business/new-york/farmingdale-businesses-for-sale.asp - only way to see if all files are created is to delete all old files, count files, run scripts, then count files again LPTP: business commerical-real-estate franchise - after running bat files - 38,757 files, 452 folders, 1.81 GB size, 1.19 GB size on disk (has replaced_030811 directories) - 3 replaced_030811 directories ~ 2961 + 5922 + 2961 files = 11,844 files 158 + 325 + 160MB = 643 MB size 80.7 + 161 + 80.7 = 322.4 MB size on disk Total BizFranCRE files = 38,787 - 11,844 = 26,943 files *** Check Fanthom to see Total BizFranCRE files BEFORE!!!**** - before running bat files - 27,835 files, 452 folders, 1.31 GB size, 1.37 GB size on disk (has replaced_030811 directories) - compare to LPTP after running bat files - 38,757 files, 452 folders, 1.81 GB size, 1.19 GB size on disk (has replaced_030811 directories) ----> 10,922 new files *** ---------------------------------- ALTOS: business commerical-real-estate franchise - before running bat files - ??? - after running bat files - 25,523 files, 253 folders, 1.11 GB size, 1.12 GB size on disk *** ALTOS2 (PRODUCTION): business commerical-real-estate franchise - before running bat files - 42,235 files, 701 folders, 1.86 GB size, 1.11 GB size on disk (has replaced_030811 directories) - after running bat files - ??? CreateASPPages_USA_DC.bat Biz 0 CRE 0 Fran 0 - destination file(s) already exists CreateASPPages_USA.bat Biz 2445 CRE 4890 Fran 2445 - note only new pages are created - ran bat at 9:04am - 2:40am ~ 17.5 hours max CreateASPPages_Canada.bat Biz 285 CRE 570 Fran 285 - note only new pages are created - ran bat at 1:42am - 8:39am ~ 7 hours max --> run each bat twice to make sure all files are created