<commit_before><?php
	#
	# $Id: news.php,v 1.1.2.23 2005-07-15 01:55:23 dan Exp $
	#
	# Copyright (c) 1998-2005 DVL Software Limited
	#

	$headers = apache_request_headers();
/*
	if(isset($headers['If-Modified-Since'])) {
		syslog(LOG_NOTICE, 'If-Modified-Since=' . $headers['If-Modified-Since']);
	}

	if(isset($headers['ETag'])) {
		syslog(LOG_NOTICE, 'ETag=' . $headers['ETag']);
	}
*/
	DEFINE('MAX_PORTS', 20);

	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/common.php');
	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/freshports.php');
	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/databaselogin.php');

	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/getvalues.php');

	DEFINE('NEWSCACHE', $_SERVER['DOCUMENT_ROOT'] . '/../caching/cache/news.rss');<commit_msg>The news cache is now under the 'dynamic' directory.<commit_after><?php
	#
	# $Id: news.php,v 1.1.2.24 2006-07-16 16:40:38 dan Exp $
	#
	# Copyright (c) 1998-2005 DVL Software Limited
	#

	$headers = apache_request_headers();
/*
	if(isset($headers['If-Modified-Since'])) {
		syslog(LOG_NOTICE, 'If-Modified-Since=' . $headers['If-Modified-Since']);
	}

	if(isset($headers['ETag'])) {
		syslog(LOG_NOTICE, 'ETag=' . $headers['ETag']);
	}
*/
	DEFINE('MAX_PORTS', 20);

	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/common.php');
	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/freshports.php');
	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/databaselogin.php');

	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/getvalues.php');

	DEFINE('NEWSCACHE', $_SERVER['DOCUMENT_ROOT'] . '/../dynamic/caching/cache/news.rss');
{'fraction_non_alphanumeric': 0.2134484885872918, 'fraction_numerical': 0.03578038247995065, 'mean_word_length': 5.36078431372549, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4020674', 'n_tokens_mistral': 665, 'n_tokens_neox': 592, 'n_words': 81}