Location: PHPKode > scripts > Usenet Downloader > usenet-downloader/index.php
<?

GetGroupDescription();

function GetGroupDescription()
	{
		include_once("get_group_description.php");
		$nntp_group_description=new NNTPGroupDescription();
		//$nntp_group_description->GetGroupDetailsFromIcs();
		//$nntp_group_description->GetGroupDetailsFromIbiblio();
		$nntp_group_description->GetGroupDetailsFromGoogle();
	}

function GetNNTPServerList()
	{
		include_once("get_server_list.php");		
		$get_nntp_server_list=new GetNNTPServerList();
		$get_nntp_server_list->GetMoreServers('craigsweb');
	}
	
function GetNNTPServerList()
	{
		include_once("save_group_info.php");		
		$get_nntp_groups=new GetNNTPGroups();
		$get_nntp_groups->GetGroups();
	}
	
function SaveGroupListings()
	{
		include_once("save_group_listings.php");		
		
		$get_group_listings=new GetGroupListings();
		
		$script_id=$argv[1];
		$server_name=$argv[2];
		
		$server_id=$get_group_listings->GetServerId($script_id,$server_name);
		while($server_id!=-1)
			{				
				if($get_group_listings->GetListings($server_id)!==false)$get_group_listings->MarkUpdated($server_id);
				$server_id=$get_group_listings->GetServerId($script_id,$server_name);
			}

	}
?>
Return current item: Usenet Downloader