page1=grab link1 into variable; page2=grab link2 into variable; page3=grab link3 into variable; define an array of hashs; parse links from page1 pushing into the array; parse links from page2 pushing into the array; parse links from page3 pushing into the array; weight the array in a sensible fashion; output page using the array;