package JCR_CF; # -------------------------------------------------------------------- # The copyright and all other proprietary rights in this Database # (including software - SEE LICENSING AGREEMENT) are the sole and # exclusive property of the Institute for Scientific Information # (ISI). This Database and source code, or any derivative works # thereof, are confidential and proprietary to ISI . Therefore, # duplication, reuse, redistribution, reverse assembling, reverse # compiling, or translation of the Database, source code, or any # portion thereof IS NOT PERMITTED. Consult Licensing Agreement. # -------------------------------------------------------------------- # $Id: JCR_CF.pm,v 1.18 2008/10/21 20:25:55 ssidanal Exp $ # $Name: JCR_4_5_BETA_5 $ # # Database Settings # ############## LOCAL Mysql Server ######## $database_user = 'root'; $database_vendor = 'mysql'; $database_password = ''; $database_path ='/prod/products/system/2006Q2/mysql-5.0.18/bin'; $database_name = 'jcrdb_2008'; $database_host = 'localhost'; $database_port = '3336'; ############## REMOTE Mysql Server ####### # $database_user = 'websupp'; # $database_vendor = 'mysql'; # $database_password = 'supweb'; # $database_path ='/prod/products/system/2006Q2/mysql-5.0.18/bin'; # $database_name = 'jcrdb_2008'; # $database_host = '10.225.240.26'; # $database_port = '39993'; # ############################################ # # Web paths/URLS - NOTE! No Trailing '/' ! # $base_path = 'http://admin-apps.webofknowledge.com/JCR'; $app_path = "$base_path/JCR"; $image_path = "$base_path/images"; $help_path = "$base_path/help"; $notices_path = "$base_path/static_html/notices"; $isi_path = 'http://www.thomson.com/scientific/scientific.jsp'; $au_path = "$help_path/aupolicy.htm"; $js_url = "http://admin-apps.webofknowledge.com/JCR"; $css_url = "http://admin-apps.webofknowledge.com/JCR"; # # Directory Locations # $base_directory = '/prod/products/2011R2/jcr-4.5/JCR'; $cgi_directory = "$base_directory/cgi-bin"; $logs_directory = "$base_directory/logs"; $image_directory = "$base_directory/images"; $help_directory = "$base_directory/help"; $dbload_csv_directory = "$base_directory/dbload_csv"; $template_directory = "$base_directory/templates"; $cache_directory = "$base_directory/cache"; $static_html_directory = "$base_directory/static_html"; $corrections_directory = "$static_html_directory/corrections"; $notices_directory = "$static_html_directory/notices"; $scope_notes_directory = "$static_html_directory/scope_notes"; # # Tags for HK integration # # Base Portal URL (NO .cgi's) $portal_url = 'http://admin.webofknowledge.com'; $portal_cgi = "$portal_url/portal.cgi"; $portal_error = "$portal_url/SessionError.cgi"; # ESTI URI or StThomas URI. $server_uri = 'http://esti.isiknowledge.com:8360/esti/xrpc'; # The PRODUCT code for JCRWeb in HK $product_code = 'JCR'; # # Cache Configuration # Set these values to 1 to enable caching, or 0 to disable caching. $cache_impact_graph = 0; $cache_cite_graph = 0; $cache_pubfreq_graph = 0; $cache_impact_boxplot = 0; # # Help Configuration Flag # Set this value to 1 to enable help links to open up a new browser window, # or 0 to open help links within the same browser window. $display_help_in_new_window = 1; # # Specifies whether the program runs in WoS, WoSA or Specialties mode # (The default is WoS & Specialties should be the same as WoS -- so # the only time this really matters, for now, is if it is set to WoSA) # $mode = "JCRWEB"; # # Links Configuration use lib '/prod/products/2011R2/links-4.1-client/lib'; $links_db_location = ''; $default_link_button = "$image_path/default_link.gif"; $link_return_parameter_name = 'ReturnLink'; $link_return_image_parameter_name = 'ImgLogo'; $token_lifetime = 60 * 60 * 24; $gateway_cookie_html = ""; # If links opens in new window, set to true (1) else false (0); # This controls if the 'Return to JCR' link will close the window or go to the last page $link_new_window = 1; #links lib location $links_lib = '/prod/products/2011R2/links-4.1-client/lib'; # # Publisher Links # $publisher_links[0] = 'Ulrich'; $publisher_links[1] = 'CCC'; # # WOK4 CCCTOC Url - To Support WOK3 and WOK4 # $wok4_cccurl = 'http://toc.webofknowledge.com/ToC.cgi'; # # Application Properties # $version = '4.5'; $page_title = 'JCR-Web'; # Name of session cookie $cookie_sid = 'jcrsid'; # Number of records on the summary list page $recs_per_summary = 20; # Number of records on the cited/citing list page $recs_per_cite = 20; # Number of records on the related journal list page $recs_per_related_journal = 20; # Max number of marked records allowed $marked_list_max = 500; # Name of Marked List 'Save to File' filename $marked_save_file = 'jcr_recs.txt'; # Data Year Start - The first year of citation data in local DB $data_year_start = 1997; # Data Year End - The latest year of citation data in local DB $data_year_end = 2010; # Impact Year Min - The earliest year to contain impact data $data_impact_start = 1999; # Subject Category Year Min - The earliest year to contain full subject category data $data_subject_category_start = 2003; # Data Year Start - The first year of Eigen Factor, Article Influence and Five Year Impact Factor. $data_eigen_impact_start = 2007; # # Dispather Request to Modules Mapping # $requests = { 'HELP' => 'Help', 'HOME' => 'JCRHome', 'SELECT' => 'JCRSelection', 'SEARCH' => 'JCRSearch', 'TITLES_FULL' => 'JCRTitles', 'TITLE_CHANGES' => 'JCRTitles', 'LIST_SUMMARY_JOURNAL' => 'JCRListSummary', 'LIST_SUMMARY_CATEGORY' => 'JCRListSummary', 'SELECT_ALL' => 'JCRListSummary', 'PRINT_MARKED' => 'JCRListMarked', 'SAVE_MARKED' => 'JCRListMarked', 'LIST_MARKED' => 'JCRListMarked', 'RECORD' => 'JCRRecord', 'RECORD_MARK' => 'JCRRecord', 'CITE_CITED' => 'JCRCite', 'CITE_CITING' => 'JCRCite', 'IMPACT' => 'JCRGraphImpact', 'FULL_JOURNAL' => 'JCRRecord', 'GRAPH_IMPACT' => 'PaintGraphImpact', 'CORRECTIONS' => 'JCRCorrections', 'GRAPH_CITED' => 'PaintGraphCited', 'GRAPH_CITING' => 'PaintGraphCiting', 'RELATED_JOURNALS' => 'JCRRelated', 'GRAPH_PUBFREQ' => 'PaintGraphPubFreq', # Added For Boxplots 'IF_CAT_BOXPLOT' => 'JCRGraphBoxplot', 'GRAPH_BOXPLOT' => 'PaintGraphBoxplot', }; # # Session Free Requests - RQ's (from above) that do not require a session # $session_free_requests = ['HELP']; # # Toolbar's Buttons hash # $buttons = { 'TB_HOME' => { 'name' => 'HOME', 'filename' => 'tbhome.gif', 'alttext' => 'Welcome and Main Menu', 'weight' => 0, 'URI' => "$base_path/JCR?RQ=HOME", }, 'TB_HELP' => { 'name' => 'HELP', 'filename' => 'tbhelp.gif', 'alttext' => 'Help', 'weight' => 1, 'URI' => "$base_path/JCR?RQ=HELP", 'window' => $display_help_in_new_window, }, 'TB_NEXTJOURNAL' => { 'name' => 'NEXTJOURNAL', 'filename' => 'tbnextj.gif', 'alttext' => 'Next Journal', 'weight' => 6, 'URI' => "$base_path/JCR?RQ=RECORD", }, 'TB_PREVJOURNAL' => { 'name' => 'PREVJOURNAL', 'filename' => 'tbprevj.gif', 'alttext' => 'Previous Journal', 'weight' => 5, 'URI' => "$base_path/JCR?RQ=RECORD", }, 'TB_NEXTCATEGORY' => { 'name' => 'NEXTCATEGORY', 'filename' => 'tbnextc.gif', 'alttext' => 'Next Category', 'weight' => 6, 'URI' => "$base_path/JCR?RQ=RECORD", }, 'TB_PREVCATEGORY' => { 'name' => 'PREVCATEGORY', 'filename' => 'tbprevc.gif', 'alttext' => 'Previous Category', 'weight' => 5, 'URI' => "$base_path/JCR?RQ=RECORD", }, 'TB_RET2SUMMARY_JOURNAL' => { 'name' => 'RET2SUMMARY_JOURNAL', 'filename' => 'tbretsum.gif', 'alttext' => 'Return To Journal Summary List', 'weight' => 4, 'URI' => "$base_path/JCR?RQ=LIST_SUMMARY_JOURNAL", }, 'TB_RET2SUMMARY_CATEGORY' => { 'name' => 'RET2SUMMARY_CATEGORY', 'filename' => 'tbretsum.gif', 'alttext' => 'Return To Category Summary List', 'weight' => 4, 'URI' => "$base_path/JCR?RQ=LIST_SUMMARY_CATEGORY", }, 'TB_RET2JOURNAL' => { 'name' => 'RET2JOURNAL', 'filename' => 'tbretjnl.gif', 'alttext' => 'Return To Journal', 'weight' => 4, 'URI' => "$base_path/JCR?RQ=RECORD", }, 'TB_RET2CATEGORY' => { 'name' => 'RET2CATEGORY', 'filename' => 'tbretcat.gif', 'alttext' => 'Return To Subject Category', 'weight' => 4, 'URI' => "$base_path/JCR?RQ=RECORD", }, 'TB_MARKED' => { 'name' => 'marked', 'filename' => 'tbmark.gif', 'alttext' => 'Marked List', 'weight' => 3, 'URI' => "$base_path/JCR?RQ=LIST_MARKED", }, 'TB_RET2APP' => { 'name' => 'RET2APP', 'filename' => '', 'alttext' => '', 'weight' => 7, 'URI' => "$base_path", }, }; # # Link Return Tag # $jcr_link_return_url_tag = 'JCR_RETURN_URL'; # # Developer Logs # $logconfig = qq| log4perl.logger.Script=ERROR, SCRIPT log4perl.logger.ISIBench=ERROR, BENCH log4perl.logger.JCRDispatcher=ERROR, PAGE log4perl.logger.JCRHome=ERROR, PAGE log4perl.logger.JCRSelection=ERROR, PAGE log4perl.logger.JCRSearch=ERROR, PAGE log4perl.logger.JCRHelp=ERROR, PAGE log4perl.logger.JCRTitles=ERROR, PAGE log4perl.logger.JCRList=ERROR, PAGE log4perl.logger.JCRListSummary=ERROR, PAGE log4perl.logger.JCRListMarked=ERROR, PAGE log4perl.logger.JCRRecord=ERROR, PAGE log4perl.logger.JCRCite=ERROR, PAGE log4perl.logger.JCRGraphImpact=ERROR, PAGE log4perl.logger.PaintGraphImpact=ERROR, PAGE log4perl.logger.JCRGraphBoxplot=ERROR, PAGE log4perl.logger.PaintGraphBoxplot=ERROR, PAGE log4perl.logger.PaintGraphCited=ERROR, PAGE log4perl.logger.PaintGraphCiting=ERROR, PAGE log4perl.logger.PaintGraphPubFreq=ERROR, PAGE log4perl.logger.JCRRelated=ERROR, PAGE log4perl.logger.JCRErrorList=ERROR, PAGE log4perl.logger.AppError=ERROR, SHARED log4perl.logger.Config=ERROR, SHARED log4perl.logger.Dispatcher=ERROR, SHARED log4perl.logger.ErrorList=ERROR, SHARED log4perl.logger.GB=ERROR, SHARED log4perl.logger.Help=ERROR, SHARED log4perl.logger.JCR=ERROR, SHARED log4perl.logger.Journal=ERROR, SHARED log4perl.logger.Category=ERROR, SHARED log4perl.logger.Country=ERROR, SHARED log4perl.logger.Graph=ERROR, SHARED log4perl.logger.MarkedList=ERROR, SHARED log4perl.logger.JUR=ERROR, SHARED log4perl.logger.List=ERROR, SHARED log4perl.logger.MJL=ERROR, SHARED log4perl.logger.Page=ERROR, SHARED log4perl.logger.PageComponents=ERROR, SHARED log4perl.logger.Profile=ERROR, SHARED log4perl.logger.Provider=ERROR, SHARED log4perl.logger.Services=ERROR, SHARED log4perl.logger.Session=ERROR, SHARED log4perl.logger.SessionUtils=ERROR, SHARED log4perl.logger.SHSProfile=ERROR, SHARED log4perl.logger.Template=ERROR, SHARED log4perl.logger.Toolbar=ERROR, SHARED log4perl.logger.Util=ERROR, SHARED log4perl.logger.GraphBoxplot=ERROR, SHARED log4perl.appender.SCRIPT=Log::Log4perl::Appender::File log4perl.appender.SCRIPT.filename=$logs_directory/script.log log4perl.appender.SCRIPT.mode=append log4perl.appender.SCRIPT.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.SCRIPT.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n log4perl.appender.BENCH=Log::Log4perl::Appender::File log4perl.appender.BENCH.filename=$logs_directory/bench.log log4perl.appender.BENCH.mode=append log4perl.appender.BENCH.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.BENCH.layout.ConversionPattern=%m%n log4perl.appender.PAGE=Log::Log4perl::Appender::File log4perl.appender.PAGE.filename=$logs_directory/page.log log4perl.appender.PAGE.mode=append log4perl.appender.PAGE.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.PAGE.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n log4perl.appender.SHARED=Log::Log4perl::Appender::File log4perl.appender.SHARED.filename=$logs_directory/shared.log log4perl.appender.SHARED.mode=append log4perl.appender.SHARED.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.SHARED.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n |; use Log::Log4perl; Log::Log4perl->init(\$logconfig); ####Help hashes , defines help topic and table of contents mapping. #help Topics $help_topic_default = 'hjcrabt2.htm'; %help_topic = ( '2.1.a' => 'h_info.htm#information', # JCR Home '2.2' => 'h_subjsel.htm#subsel', # JCR Subject Category Seletion Page '2.2.a' => 'h_subjsel.htm#moresubj', # JCR Subject Category Seletion Page '2.3' => 'h_pubsel.htm#pubsel', # JCR Publisher Selection Page '2.3.a' => 'h_pubsel.htm#morepubs', # JCR Publisher Selection Page '2.4' => 'h_cntrysel.htm#cntrysel', # JCR Country Selection Page '2.4.a' => 'h_cntrysel.htm#morecntrys', # JCR Country Selection Page '2.5' => 'h_jrnlsrch.htm#jrnlsrcj', # JCR Search Page '2.5.a' => 'h_jrnlsrch.htm#fulljrnlex', # JCR Search Page - more examples '2.5.b' => 'h_jrnlsrch.htm#abbjrnlex', # JCR Search Page - more examples '2.5.c' => 'h_jrnlsrch.htm#titlewordex', # JCR Search Page - more examples '2.5.d' => 'h_jrnlsrch.htm#ISSNex', # JCR Search Page - more examples '2.6.a' => 'h_using.htm#UsingtheJCRWisely', '2.7' => 'h_jrnlsumm.htm#jrnlsumm', # JCR Journal Summary List '2.7.a' => 'h_ctgjrnlt.htm#ctgjrnl', # JCR Citing Journal List Page '2.7.b' => 'h_ctdjrnlt.htm#ctdjrnl', # JCR Cited Journal List Page '2.8' => 'h_jrnlinfo.htm#jrnlrec', # JCR Journal Full Record Page '2.8.a' => 'h_jrnlinfo.htm#impact_factor', # JCR Journal Full Record Page - Impact Factor '2.8.b' => 'h_jrnlinfo.htm#immed_index', # JCR Journal Full Record Page - Immediacy Index '2.8.c' => 'h_ctdhl.htm#jrnlctdhl', # JCR Journal Full Record Page - Cited HLife '2.8.d' => 'h_ctghl.htm#jcrnlc', # JCR Journal Full Record Page - Citing HLife '2.8.e' => 'h_sourcedata.htm#sourcedata', # JCR Journal Full Record Page - Source Data '2.8.f' => 'h_jrnlinfo.htm#jrnlinfo', # JCR Journal Full Record Page - Journal Information '2.8.g' => 'h_ctdjrnlg.htm#ctdjrnlgraph', # JCR Journal Full Record Page - Cited Journal '2.8.h' => 'h_ctgjrnlg.htm#ctgjrnlgraph', # JCR Journal Full Record Page - Citing Journal '2.9.a' => 'h_ctgjrnlt.htm#HowToReadTable_j', # JCR Citing Journal List Page - How To Read '2.10.a' => 'h_ctdjrnlt.htm#HowToReadTable_j', # JCR Cited Journal List Page - How To Read '2.11' => 'h_markedjrnl.htm#markedjrnl', # JCR Marked Journal List '2.12' => 'h_impfact.htm#jrnlinfo', # JCR Impact Factor Graph Page '2.13' => 'h_subjsumm.htm#subjsummary', # JCR Subject Category Summary List Page '2.13.a' => 'h_ctdsubjt.htm#HowToReadTable_j', # JCR Subject Category Cited Journal List Page - How To Read '2.13.b' => 'h_ctgsubjt.htm#HowToReadTable_j', # JCR Subject Category Citing Journal List Page - How To Read '2.13.c' => 'h_ctdsubjt.htm#ctdsubj', # JCR Subject Category Cited Journal List Page '2.13.d' => 'h_ctgsubjt.htm#ctgsubj', # JCR Subject Category Citing Journal List Page '2.14' => 'h_subjinfo.htm#subjrec', # JCR Subject Category Full Record Page '2.14.a' => 'h_impfact.htm#impact_factor', # JCR Subject Category Full Record Page - Aggregate Impact Factor '2.14.b' => 'h_immedindex.htm#immed_index', # JCR Subject Category Full Record Page - Aggregate Immediacy Index '2.14.c' => 'h_ctdhl.htm#addctdhl', # JCR Subject Category Full Record Page - Aggregate Cited Half Life '2.14.d' => 'h_ctdsubjg.htm#ctdsubjgraph', # JCR Subject Category Full Record Page - Aggregate Cited Category '2.14.e' => 'h_ctghl.htm#aggctghl', # JCR Subject Category Full Record Page - Aggregate Citing Half Life '2.14.f' => 'h_ctgsubjg.htm#ctgsubjgraph', # JCR Subject Category Full Record Page - Aggregate Citing Category '2.14.g' => 'h_sourcedata.htm#sourcedata', # JCR Subject Category Full Record Page - Aggregate Source Data '2.14.h' => 'h_subjinfo.htm#pubfreq', # JCR Subject Category Full Record Page - Publication Frequency Data '2.15' => 'h_relatedjrnl.htm#relatedjournals', # JCR Related Journal List Page '2.15.a' => 'h_relatedjrnl.htm#relatedjournals', # JCR Related Journal List Page - More information '2.16' => 'h_relatedjrnl.htm#reljrnl_sc', # JCR Related Subject Category Journal List Page '2.16.a' => 'h_relatedjrnl.htm#reljrnl_sc', # JCR Related Subject Category Journal List Page - click here '2.17' => 'h_boxplot.htm#jrnlboxplot', # JCR Impact Factor Boxplot Page '2.18' => 'h_eigenfact.htm', # JCR Eigen Factor Summary Page '2.19' => 'h_impfact.htm#impact_factor',# Five Year Impact Factor. ); # Impact Factor Boxplot. $IFBoxplotGraphHeight = 400; $IFBoxplotGraphWidth = 600; $IFBoxplotTitleOffset = 16; $IFBoxplotBoxColor = '#9090E8'; $IFBoxplotLabelColor = '#000000'; $IFBoxplotAxisLabelColor= '#000000'; $IFBoxplotLegendColor = '#000000'; $IFBoxplotTextColor = '#000000'; $IFBoxplotBackgroundColor= 'white'; $IFBoxplotForegroundColor= '#000000'; $IFBoxplotValuesColor = '#000000'; $IFBoxplotDataColors = '#9090E9'; $IFBoxplotBorderColors = '#000000'; $IFBoxplotXAxisLabel = 'Subject Category'; $IFBoxplotYAxisLabel = 'Impact Factor'; $IFBoxplotCacheFilename = 'IFBoxplot.obj'; # # Impact Trend Graph # $ImpactFactorGraphHeight = 250; $ImpactFactorGraphWidth = 500; $ImpactFactorTitleOffset = 16; $ImpactFactorBoxColor = '#FFFFFF'; $ImpactFactorLabelColor = '#000000'; $ImpactFactorAxisLabelColor = '#000000'; $ImpactFactorLegendColor = '#000000'; $ImpactFactorTextColor = '#000000'; $ImpactFactorBackgroundColor = 'white'; $ImpactFactorForegroundColor = '#000000'; $ImpactFactorValuesColor = '#000000'; $ImpactFactorDataColors = '#9090E9'; $ImpactFactorBorderColors = '#000000'; $ImpactFactorXAxisLabel = 'JCR Years'; $ImpactFactorYAxisLabel = 'Impact Factors'; $ImpactFactorCacheFilename = 'ImpactFactor.obj'; # # Time Distribution Cited/Citing Graph # $TDCitedCacheFilename = 'TimeDistCited.obj'; $TDCitedXAxisLabel = 'Cited Years'; $TDCitedYAxisLabel = 'Number of Cites'; $TDCitingCacheFilename = 'TimeDistCiting.obj'; $TDCitingXAxisLabel = 'Cited Years'; $TDCitingYAxisLabel = 'Number of Cites'; $TDCiteGraphHeight = 314; $TDCiteGraphWidth = 495; $TDCiteGraphPad = 1; $TDCitePreBGColor = '#FFFFFF'; $TDCitePreBGColorBorderColors = '#A9A9A9'; $TDCitePostBGColor = '#DEDEDE'; $TDCitePostBGColorBorderColors = '#A9A9A9'; $TDCiteAllBarColor = 'gold'; $TDCiteSelfBarColor = 'dblue'; $TDCiteSelfBarColorImpact = 'lblue'; $TDCiteAllBarColorImpact = 'lyellow'; $TDCiteTextColor = '#000000'; $TDCiteLabelColor = '#000000'; $TDCitePreBGLegend = '< Half-Life'; $TDCitePostBGLegend = '> Half-Life'; $TDCiteAllBarLegend = 'Self Cites'; $TDCiteSelfBarLegend = 'Other Cites'; # For Subject Category Cited/Citing Graph Legend $TDCiteSelfBarLegend_cat = 'All Cites'; # # Journal Frequency Graph # $JFCacheFilename = 'JournalFrequencey.obj'; $JFGraphTitle = 'Frequency of Publication'; $JFXAxisLabel = ''; $JFYAxisLabel = '# of Journals'; $JFGraphHeight = 294; #$JFGraphWidth = 428; $JFGraphWidth = 598; $JFBoxColor = '#D3D3D3'; $JFLabelColor = '#000000'; $JFAxisLabelColor = '#000000'; $JFLegendColor = '#000000'; $JFTextColor = '#000000'; $JFBackgroundColor = 'white'; $JFForegroundColor = '#000000'; $JFValuesColor = '#000000'; $JFDataColors = '#9090E9'; $JFBorderColors = '#000000'; # # Backend processing variable # $ContinuationTag = '--'; # # End of Config # 1;