texi2html problem

Gideon Simpson gideon.simpson at gmail.com
Mon Jul 30 14:52:39 PDT 2012


I'm on Mountain Lion and did a port upgrade outdated.  I am getting the following error:

gideon@~$ sudo port clean --all texi2html
--->  Cleaning texi2html
gideon@~$ sudo port install texi2html
--->  Computing dependencies for texi2html
--->  Fetching archive for texi2html
--->  Attempting to fetch texi2html-5.0_0.darwin_12.noarch.tbz2 from http://packages.macports.org/texi2html
--->  Fetching distfiles for texi2html
--->  Attempting to fetch texi2html-5.0.tar.bz2 from http://mirror.cinquix.com/pub/savannah/texi2html
--->  Verifying checksum(s) for texi2html
Error: Checksum (md5) mismatch for texi2html-5.0.tar.bz2
Error: Checksum (sha1) mismatch for texi2html-5.0.tar.bz2
Error: Checksum (rmd160) mismatch for texi2html-5.0.tar.bz2
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
Error: org.macports.checksum for port texi2html returned: Unable to verify file checksums
Please see the log file for port texi2html for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_texi2html/texi2html/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port texi2html failed

and this is what's in the log file:

gideon@~$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_texi2html/texi2html/main.log
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5 5.12.4_0 exists in the ports tree
:debug:main perl5 5.12.4_0 +perl5_12 is the latest installed
:debug:main perl5 5.12.4_0 +perl5_12 is active
:debug:main Merging existing variants '+perl5_12' into variants
:debug:main new fully merged portvariants: perl5_12 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5
:debug:main OS darwin/12.0.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Executing variant perl5_12 provides perl5_12
:debug:main No need to upgrade! perl5 5.12.4_0 >= perl5 5.12.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5.12 5.12.4_1 exists in the ports tree
:debug:main perl5.12 5.12.4_1  is the latest installed
:debug:main perl5.12 5.12.4_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5.12
:debug:main OS darwin/12.0.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! perl5.12 5.12.4_1 >= perl5.12 5.12.4_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main gdbm 1.10_2 exists in the ports tree
:debug:main gdbm 1.10_2  is the latest installed
:debug:main gdbm 1.10_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/gdbm
:debug:main OS darwin/12.0.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! gdbm 1.10_2 >= gdbm 1.10_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main gettext 0.18.1.1_2 exists in the ports tree
:debug:main gettext 0.18.1.1_2  is the latest installed
:debug:main gettext 0.18.1.1_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/12.0.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/archcheck-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! gettext 0.18.1.1_2 >= gettext 0.18.1.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.14_0 exists in the ports tree
:debug:main libiconv 1.14_0  is the latest installed
:debug:main libiconv 1.14_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/12.0.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_1 exists in the ports tree
:debug:main ncurses 5.9_1  is the latest installed
:debug:main ncurses 5.9_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/12.0.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! ncurses 5.9_1 >= ncurses 5.9_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.1.0_0 exists in the ports tree
:debug:main expat 2.1.0_0  is the latest installed
:debug:main expat 2.1.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/12.0.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! expat 2.1.0_0 >= expat 2.1.0_0
:msg:main --->  Computing dependencies for texi2html:info:main .:debug:main texi2html has no conflicts
:debug:main Searching for dependency: perl5
:debug:main Found Dependency: receipt exists for perl5
:msg:main 
:debug:main Executing org.macports.main (texi2html)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Mon Jul 30 16:48:30 CDT 2012
:msg:archivefetch --->  Fetching archive for texi2html
:debug:archivefetch Executing org.macports.archivefetch (texi2html)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  texi2html-5.0_0.darwin_12.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch texi2html-5.0_0.darwin_12.noarch.tbz2 from http://packages.macports.org/texi2html
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Jul 30 16:48:31 CDT 2012
:notice:fetch --->  Fetching distfiles for texi2html
:debug:fetch Can't run fetch on this port without elevated privileges. Escalating privileges back to root.
:debug:fetch euid changed to: 0. egid changed to: 0.
:debug:fetch changing euid/egid - current euid: 0 - current egid: 0
:debug:fetch egid changed to: 501
:debug:fetch euid changed to: 502
:debug:fetch Executing org.macports.fetch (texi2html)
:info:fetch --->  texi2html-5.0.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/texi2html
:notice:fetch --->  Attempting to fetch texi2html-5.0.tar.bz2 from http://mirror.cinquix.com/pub/savannah/texi2html
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Jul 30 16:48:32 CDT 2012
:notice:checksum --->  Verifying checksum(s) for texi2html
:debug:checksum Executing org.macports.checksum (texi2html)
:info:checksum --->  Checksumming texi2html-5.0.tar.bz2
:error:checksum Checksum (md5) mismatch for texi2html-5.0.tar.bz2
:info:checksum Portfile checksum: texi2html-5.0.tar.bz2 md5 f15ac876fcdc8be865b16535f480aa54
:info:checksum Distfile checksum: texi2html-5.0.tar.bz2 md5 6b30311698afc0da6f54dfc397ced50d
:error:checksum Checksum (sha1) mismatch for texi2html-5.0.tar.bz2
:info:checksum Portfile checksum: texi2html-5.0.tar.bz2 sha1 20072444ce814d0e74fd7e467d1506908f8c889c
:info:checksum Distfile checksum: texi2html-5.0.tar.bz2 sha1 8d815a7ac2db48291097a267d8182100178c2323
:error:checksum Checksum (rmd160) mismatch for texi2html-5.0.tar.bz2
:info:checksum Portfile checksum: texi2html-5.0.tar.bz2 rmd160 193d2ab489e61546100a57943c410deffb8d4c4b
:info:checksum Distfile checksum: texi2html-5.0.tar.bz2 rmd160 e9f5ff2b81c0b52549b5ddd418ae0da40e1ab76f
:info:checksum The correct checksum line may be:
:info:checksum checksums           md5     6b30311698afc0da6f54dfc397ced50d \
                    sha1    8d815a7ac2db48291097a267d8182100178c2323 \
                    rmd160  e9f5ff2b81c0b52549b5ddd418ae0da40e1ab76f
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:error:checksum org.macports.checksum for port texi2html returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: targets not executed for texi2html: org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:checksum Please see the log file for port texi2html for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_texi2html/texi2html/main.log

If i check the HTML file, I get:


gideon@~$ cat /opt/local/var/macports/distfiles/texi2html/texi2html-5.0.tar.bz2 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>cinquix.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="http://static.ndoverdrive.net/css/style_marquee2.css">
<link rel='stylesheet' type='text/css' href='http://static.ndoverdrive.net/css/_marquee2/style_marquee2_rs_ad_img.css'>
<script language="JavaScript"><!--
var google_categories;
var track='ZHAtbmFtZWRyaXZlMDdfeG1sfGNhLWRwLW5hbWVkcml2ZTA3X3htbA==';
var str_md5='6bac14a8f461aa09d302e278242edd7e';
var q='';
var domain='cinquix.com';
var cfg='';
var q_src='';
var afsmode='1';
var lander='2';
var template='marquee2';
var url_redirect='';
var big_cfg_string='Y2lucXVpeC5jb218bWlycm9yfHx8fE5PVEZPVU5EfDZiYWMxNGE4ZjQ2MWFhMDlkMzAyZTI3ODI0MmVkZDdlfGVufG1hcnF1ZWUyOzI7MjAwMDAwOzI7MDs7Ozt8Y2EtZHAtbmFtZWRyaXZlMDdfeG1sLGRwLW5hbWVkcml2ZTA3X3htbHw3MDE4NXx8';
var testmode='0';
var related='2';
var portal_opts='0';
var adult='0';
var category='200000';
var google_req='1';
var seedkeys='';
var img_srv='http://static.ndoverdrive.net';
var index='/';
var query_forceadult='';var sq='';
var tk='';
var bad_token='';
var token = '';
var search_token = '';
var portal_token = '';
var google_rs = new Array();
var portal_keywords = new Array(15);
var subcats = new Array(4);
var mainads		= '';
var popularCategories	= '';
var related_txt_top 	= '';
var related_txt		= '';
var related_txt_right	= '';
var related_txt_bottom	= '';
var google_num_ads	= '';
var afs_google_ads = '';
var afd_google_ads = '';
var afd_feedback_url = '';
var afs_feedback_url = '';
var google_afd_request = {s: 'cinquix.com', hl: 'en', num_radlinks: '21',domain_name: 'cinquix.com',client: 'ca-dp-namedrive07_xml'};
for (i = 0;i < 16; i++) {
	google_rs[i]=new Array('term','source');
}

for (i = 0;i <= 24; i++) {
	portal_keywords[i] = new Array({'term':' '},'subcategories'); 
	portal_keywords[i].subcategories = new Array();
	for (j = 0;j <= 6; j++) {
		portal_keywords[i].subcategories[j] = new Array('term'); 
	}
}
function contact_owner(domain) {
	var width =500;
	var height=400;
	var URL = 'http://www.ndoverdrive.com/domain_contact.php?domain=' + domain;
	win = window.open(URL, '_contact_owner', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=' + width + ',height=' + height);
	if (win) {
		win.focus();
	}
}
--></script>
<script type="text/javascript" src="http://static.ndoverdrive.net/js/js_include.js"></script><script language="JavaScript">
function write_related (google_rs) {
	if (!google_rs) {
		return;
	}
	var google_num_links = google_rs.length;
	if (google_num_links > 15) {
		google_num_links = 16;
	}
	var key_src = '';
	var halfway = parseInt(google_num_links / 2 - 0.5,10);
	if (google_rs[0] && google_rs[0].source) {
		key_src = google_rs[0].source;
	} else {
		key_src = "GO";
	}
	related_txt_top		= '<span class="white">Related Searches:&nbsp;</span>';
	related_txt		= '<li class="rs_left_top"><span id="rs1-title">Related Searches</span></li>';
	related_txt_right 	= '<li class="rs_left_top"><span id="rs2-title">Related Searches</span></li>';
	
	for(i = 0; i < google_num_links; i++){

		if (google_rs[i] && google_rs[i].term != undefined) {
			if (google_rs[i].source) {
				key_src = google_rs[i].source;
			} else {
				key_src = "GO";
			}
			if (i < 4) {
				related_txt_top += '<a href="/?' + query_forceadult + '&q_src=RS_T_0_' + key_src + '&q=' + encodeURIComponent(google_rs[i].term) + '&tk=' + token + '" class="white hover_blue" target="_top">' + google_rs[i].term + '</a>&nbsp;&nbsp;';
			}

			if (lander == 1){
				if (i == (google_num_links - 1)) {
					related_txt += '<li class="rs_left_bottom" style="font-size:12px;font-weight:bold;text-align:left"><a href="/?' + query_forceadult + '&q_src=RS_L_0_' + key_src + '&q=' + encodeURIComponent(google_rs[i].term) + '&tk=' + token + '" target="_top">' + google_rs[i].term + '</a></li>';
				} else {
					related_txt += '<li class="rs_left_middle" style="font-size:12px;font-weight:bold;text-align:left"><a href="/?' + query_forceadult + '&q_src=RS_L_0_' + key_src + '&q=' + encodeURIComponent(google_rs[i].term) + '&tk=' + token + '" target="_top">' + google_rs[i].term + '</a></li>';
				}
			}
			if (lander == 2){ 
				// alert(google_num_links);
				if (i > halfway) {
					if (i == (google_num_links - 1)) {
						related_txt_right += '<li nowrap class="rs_right_bottom"><a style="font-size:12px;font-weight:bold" href="/?' + query_forceadult + '&q_src=RS_R_0_' + key_src + '&q=' + encodeURIComponent(google_rs[i].term) + '&tk=' + token + '" target="_top">' + google_rs[i].term + '</a></li>';
					} else {
						related_txt_right += '<li nowrap class="rs_right_middle"><a style="font-size:12px;font-weight:bold" href="/?' + query_forceadult + '&q_src=RS_R_0_' + key_src + '&q=' + encodeURIComponent(google_rs[i].term) + '&tk=' + token + '" target="_top">' + google_rs[i].term + '</a></li>';
					}
				} else {
					if (i == halfway) {
						related_txt += '<li nowrap class="rs_left_bottom"><a style="font-size:12px;font-weight:bold" href="/?' + query_forceadult + '&q_src=RS_L_0_' + key_src + '&q=' + encodeURIComponent(google_rs[i].term) + '&tk=' + token + '" target="_top">' + google_rs[i].term + '</a></li>';
					} else {
						related_txt += '<li nowrap class="rs_left_middle"><a style="font-size:12px;font-weight:bold" href="/?' + query_forceadult + '&q_src=RS_L_0_' + key_src + '&q=' + encodeURIComponent(google_rs[i].term) + '&tk=' + token + '" target="_top">' + google_rs[i].term + '</a></li>';
					}
				}
			}
		}
	}
}
var RSpopularCategories = '';
function write_portal (portal_keywords) {
	if (!portal_keywords) {return;}
	for (i = 0; i < 7; i++) {
		if (portal_keywords[i] && portal_keywords[i].term != undefined) {
			if (portal_keywords[i].token && portal_keywords[i].token && portal_keywords[i].token != undefined) {
				portal_token = portal_keywords[i].token;
			}

			RSpopularCategories += '<br><div class=cat><a class="popular_category" href="/?' + query_forceadult + '&q_src=PRT&q=' + encodeURIComponent(portal_keywords[i].term) + '&tk=' + portal_token + '">' + portal_keywords[i].term + '</a></div>';
		}
	}
	if (!google_categories) { return; }
	portal_keywords = google_categories;
	popularCategories = '<table width=600 border=0 cellpadding=0 cellspacing=0><tr>';
	var k =0;

	for (i = 0; i < portal_keywords.length; i++) {

		if (portal_keywords[i] && portal_keywords[i].term != undefined) {
			if (portal_keywords[i].token && portal_keywords[i].token && portal_keywords[i].token != undefined) {
				portal_token = portal_keywords[i].token;
			}
			popularCategories += '<td align=left>';
			popularCategories += '<a class="cat" style="font-size:12px;font-weight:bold" href="/?' + query_forceadult + '&q_src=PRT&q=' + encodeURIComponent(portal_keywords[i].term) + '&tk=' + portal_token + '">' + portal_keywords[i].term + '</a><br>';

			if (portal_keywords[i].subcategories != undefined)  {
				var google_subcategories = portal_keywords[i].subcategories;
				popularCategories += '<ul>';
		
				for (var j = 0; j < google_subcategories.length; j++) {
					if (google_subcategories[j].term) {
						popularCategories += '<li><a class="cat" style="font-size:11px;font-weight:normal" href="/?' + query_forceadult + '&q_src=PRT&q=' + encodeURIComponent(google_subcategories[j].term) + '&tk=' + portal_token + '">' + google_subcategories[j].term + '</a>';

					}
				}
				popularCategories += '</ul></td>';
				k++;
				if (k == 3) {
					popularCategories += '</tr><tr>';
					k = 0;
				}
			}
		}
	}
	popularCategories += '</tr></table>';	
}

function write_ads (google_ads) {
	google_num_ads = google_ads.length;
        for(i = 0; i < google_num_ads; i++){
		mainads +='<div id="t1" style="padding-bottom:5px;min-width:300px;"><ul><table border="0" cellspacing="1" cellpadding="0">';
		mainads +='<tr><td rowspan="100%" valign="top" style="width:35px; padding-top:5px;"><img src="' + img_srv + '/img/_marquee2/ads-arr-mq2.gif" width="24" height="24" alt=""></td></tr>';
		mainads +='<tr><td><a onClick="log_click(\'&q=' + encodeURIComponent(q) + '&q_src=' + encodeURIComponent(q_src) + '&track=' + encodeURIComponent(track) + '\');" class="ad_headline nodecoration hover_red" href="' + google_ads[i].url + '" target="_blank">' + google_ads[i].line1 + '</a></td></tr>';
		mainads +='<tr><td class="ad_line">' + google_ads[i].line2 + '</td></tr>';
		if (google_ads[i].seller_ratings) {

			advertiser_info = google_ads[i].seller_ratings.advertiser_info;
			rating 		= google_ads[i].seller_ratings.rating;
			review_count	= google_ads[i].seller_ratings.review_count;
			source_url 	= google_ads[i].seller_ratings.source_url;
			mainads += '<tr><td class="ad_line">' + advertiser_info + ' <img src="' + img_srv + '/img/stars_one.png" width=9 height=9 border=0><img src="' + img_srv + '/img/stars_one.png" width=9 height=9 border=0><img src="' + img_srv + '/img/stars_one.png" width=9 height=9 border=0>';
						
			if (rating == "4") {
				mainads += '<img src="' + img_srv + '/img/stars_one.png" width=9 height=9 border=0><img src="' + img_srv + '/img/stars_zero.png" width=9 height=9 border=0>';
			}
			if (rating == "4.5") {
				mainads += '<img src="' + img_srv + '/img/stars_one.png" width=9 height=9 border=0><img src="' + img_srv + '/img/stars_half.png" width=9 height=9 border=0>';
			}
			if (rating == "5") {
				mainads += '<img src="' + img_srv + '/img/stars_one.png" width=9 height=9 border=0><img src="' + img_srv + '/img/stars_one.png" width=9 height=9 border=0>';
			}
			mainads += ' (<a class="site_link" href="' + source_url + '" target="_ratings">' + review_count + '</a>)</td></tr>';
		}
	
		mainads +='<tr><td><a id="a1" class="ad_link hover_red" onClick="log_click(\'&q=' + encodeURIComponent(q) + '&q_src=' + encodeURIComponent(q_src) + '&track=' + encodeURIComponent(track) + '\');"  href="' + google_ads[i].url + '" target="_blank">' + google_ads[i].visible_url + '</a></td></tr>';

		if (google_ads[i].sitelinks) {
			mainads +='<tr><td style="padding-top:10px; padding-left:15px">';
			mainads +='<table border=0 cellpadding=0 cellspacing=0><tr>';
			var k = 0;
			for(j = 0; j < google_ads[i].sitelinks.length; j++){

				sitelink_url	= google_ads[i].sitelinks[j].url;
				sitelink_text	= google_ads[i].sitelinks[j].link_text;

				mainads += '<td style="padding-right:16px"><a class="site_link hover_red" onClick="log_click(\'&s=' + j + '&q=' + encodeURIComponent(q) + '&q_src=' + encodeURIComponent(q_src) + '&track=' + encodeURIComponent(track) + '\');" href="' + sitelink_url + '" target="_blank">' + sitelink_text + '</a></td>';
			
				k++;
				if (k == 2) {
					mainads += '</tr><tr>';
					k = 0;

				}
			}
			mainads += '</tr></table></td></tr>';
		}
		mainads +='</table></ul></div>';
	}
}
function write_searches (google_ads) {
	mainads += '<br><div style="font-size:8pt; color:#666;font-weight:bold;margin-top: -10px;position:relative; z-index:30;padding-bottom:10px;">Web Searches</div><br><br>';
	for(i = 1; i < google_num_ads; i++){
		mainads +='<div id="t1" style="padding-bottom: 5px;min-width:300px;"><ul><table border="0" cellspacing="2" cellpadding="0">';
		mainads +='<tr><td rowspan="4" valign="top" style="width:35px; padding-top:5px;"><img src="' + img_srv + '/img/_marquee2/ads-arr-mq2.gif" width="24" height="24" alt=""></td></tr>';
		mainads +='<tr><td><a class="ad_headline nodecoration hover_red" href="' + urls[i] + '" target="_blank" onClick="log_click(\'&q_src=DMZ&q=' + encodeURIComponent(q) + '&url=' + encodeURIComponent(urls[i]) + '\');">' + titles[i] + '</a></td></tr>';
		mainads +='<tr><td class="ad_line">' + desc[i] + '</td></tr>';
		mainads +='<tr><td><a id="a1" class="ad_link hover_red" href="' + urls[i] + '" onClick="log_click(\'&q_src=DMZ&q=' + encodeURIComponent(q) + '&url=' + encodeURIComponent(urls[i]) + '\');" target="_blank">' + visible_urls[i] + '</a></td></tr>';
		mainads +='</table></ul></div>';
	}
}
</script>
</head>
<body>
<script language="JavaScript" src="http://pagead2.googlesyndication.com/apps/domainpark/show_afd_ads.js"></script>
<center><div id="main">
<div id="layer1">&nbsp;</div>
<div id="layer2">
<table align="left" cellspacing="0" cellpadding="0" border="0"><tr>
<td id='head1' style="background-image:url(http://static.ndoverdrive.net/img/_marquee2/cn_title_tiled.png);background-repeat:no-repeat;'><div style='width:16px;height:74px;">&nbsp;</div></td>
<td id='head2' style="background-image:url(http://static.ndoverdrive.net/img/_marquee2/title_tiled.png);background-repeat:repeat-x;vertical-align:top;width:360px;">
<div style="font-size: 17pt;white-space:nowrap;background-image:url('http://static.ndoverdrive.net/img/_marquee2/icons/cat_sm_0.jpg');background-repeat:no-repeat;width:100%;height:74px;padding-left:70px;padding-right:4px;"><span class='h1' style="font-size: 70%;">Welcome to </span><br>
<span class='h1_domain' style="font-size: 100%;">cinquix.com</span>
</div>
</td>
<td style="background: url('http://static.ndoverdrive.net/img/_marquee2/user_search_tiled.png') repeat-x;" ><div id="head5" style="background-image:url(http://static.ndoverdrive.net/img/_marquee2/title_right.png);background-repeat:no-repeat; width:17px;height:74px;"></div></td>
<td valign="top">
<table align="left" cellspacing="0" cellpadding="0" border='0'>
<tr>
<td align="left" valign="top" style="max-width:370px">
<div id="head3" style="background: url('http://static.ndoverdrive.net/img/_marquee2/user_search_tiled.png') repeat-x; padding-left:10px;padding-right:5px; max-width:370px;overflow:hidden;height:50px;">
<p id="head3_contain" style="max-height:40px; overflow:hidden; margin-top:7px;max-width:370px;"><script language="JavaScript">document.write(related_txt_top);</script></p>
</div>
</td>
<td><img id="head4" src="http://static.ndoverdrive.net/img/_marquee2/user_search_right.png" width="18" height="50" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div id="layer3">
<form action="/index.php" name="search" method="GET" style="padding:0px;margin:0px;" onSubmit="search_token_trigger('search_token_field')">
<input type="hidden" name="q_src" value="SB">
<input type="hidden" name="tk" id="search_token_field" value="">
<table border="0" cellspacing="0" cellpadding="0"  align="center">
<tr>
<td id="search_l" style="background-image:url(http://static.ndoverdrive.net/img/_marquee2/search_left.png);background-repeat:no-repeat"><div style='width:15px;height:41px;'>&nbsp;</div></td>
<td id="search_m1" valign="middle" style="background-image:url(http://static.ndoverdrive.net/img/_marquee2/search_middle.png);background-repeat-x;height:41px;"><input type="text" name="q" maxlength="120" value="" class="input_park_page" style="width: 200px;"></td>
<td id="search_m2" align="left" style="background-image:url(http://static.ndoverdrive.net/img/_marquee2/search_middle.png);background-repeat-x;padding-left:10px;height:41px;"><input type="image" src="http://static.ndoverdrive.net/img/btn_search_en.gif" width="60" height="18" border="0"></td>
<td id="search_r" style="background-image:url(http://static.ndoverdrive.net/img/_marquee2/search_right.png);background-repeat:no-repeat"><div style='width:18px;height:41px;'>&nbsp;</div></td>
</tr>
</table>
</form>
</div>
<div id="layer4">
<img src="http://static.ndoverdrive.net/img/_marquee2/headers/hd_200000_0.jpg" width="982" height="191"></div>
<div style="padding-top:4px;">
<table width="100%" align="center" cellspacing="0" cellpadding="0" border='0'>
<tr><td align="left">&nbsp;</td><td align="right">&nbsp;</td></tr>
</table>
</div>
<div id="ads1">
<script language="JavaScript">
document.write('<table cellpadding="0" cellspacing="0" width="980" style="margin-top:0px" border=0><tr>');
if (lander == 1) {
	if (related != 0) {
		document.write('<td style="vertical-align:top;width:250px;"><ul id="rs1">' + related_txt + '</ul></td>');
	}
	document.write('<td style="vertical-align:top;width:700px"><table cellpadding="0" cellspacing="0" border=0 width=100%>');
	document.write('<tr><td class="c_top_left">&nbsp;</td><td class="c_top_middle">&nbsp;</td><td class="c_top_right">&nbsp;</td></tr>');
	if (afsmode == 1 && q != '') {
		document.write('<tr><td class="c_middle_left">&nbsp;</td><td id="ads1-title" style="text-align:left;padding-bottom:15px">Ads</td><td class="c_middle_right">&nbsp;</td></tr>');
	} else {
		document.write('<tr><td class="c_middle_left">&nbsp;</td><td id="ads1-title" style="text-align:left;padding-bottom:15px"><a href="#" onclick="window.open(afd_feedback_url)"><u>Ads</u></a></td><td class="c_middle_right">&nbsp;</td></tr>');

	}
	document.write('<tr><td class="c_middle_left">&nbsp;</td><td>' + mainads + '</td><td class="c_middle_right">&nbsp;</td></tr>');
	document.write('<tr><td class="c_bottom_left">&nbsp;</td><td class="c_bottom_middle">&nbsp;</td><td class="c_bottom_right">&nbsp;</td></tr>');
	document.write('</table></td>');
}

if (lander == 2) {
	document.write('<td valign=top align=center height=360><ul id="rs1">' + related_txt + '</ul></td>');
	document.write('<td valign=top height=360>');
	document.write('<table cellpadding="0" cellspacing="0" border="0" width=100% height=350>');
	document.write('<tr><td class="c_top_left">&nbsp;</td><td class="c_top_middle">&nbsp;</td><td class="c_top_right">&nbsp;</td></tr>');
	document.write('<tr><td class="c_middle_left">&nbsp;</td><td>' + RSpopularCategories + '</td><td class="c_middle_right">&nbsp;</td></tr>');
	document.write('<tr><td class="c_bottom_left">&nbsp;</td><td class="c_bottom_middle">&nbsp;</td><td class="c_bottom_right">&nbsp;</td></tr>');
	document.write('</table></td>');
	document.write('<td valign=top align=center height=360><ul id="rs2">' + related_txt_right + '</ul></td>');
	document.write('</tr></table>');

	if (adult != 1) {
		document.write('<br><br><br><center>');

		document.write('<table cellpadding="0" cellspacing="0" border="0" width=640>');
		document.write('<tr><td class="c_top_left">&nbsp;</td><td class="c_top_middle">&nbsp;</td><td class="c_top_right">&nbsp;</td></tr>');
		document.write('<tr><td class="c_middle_left">&nbsp;</td><td id="ads1-title" style="text-align:center;padding-bottom:15px">Popular Categories</td><td class="c_middle_right">&nbsp;</td></tr>');
		document.write('<tr><td class="c_middle_left">&nbsp;</td><td valign=top align=center><center><br>' + popularCategories + '</td><td class="c_middle_right">&nbsp;</td></tr>');
		document.write('<tr><td class="c_bottom_left">&nbsp;</td><td class="c_bottom_middle">&nbsp;</td><td class="c_bottom_right">&nbsp;</td></tr>');
		document.write('</table>');
	}
}
document.write('</tr></table>');
</script>
</div>
<br>
<center>

<div id='iamfooter' align='center' style="text-align:center">
<!-- time: 1343684912.5928 seconds -->
<br>
<a onclick="window.open('/privacy.html', 'PPW', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=400, screenX=100, screenY=50')"><u>Privacy Policy</u></a>
</div>

<br>

</body>
</html>



-gideon



More information about the macports-users mailing list