import jet
import jet.websites.jeffandmere as jeffandmere



def yield_data(psp_directory, **kwargs):
	relative_root = jeffandmere.get_relative_root(**kwargs)
	kiting_directions   = ["Directions to the Welcome BBQ and Kite/Windsurfing",
	                       "http://www.kitesurfingaruba.com/",
	                       "The BBQ and wind activities are at the third little shack " + \
	                           "(the southernmost) in the " + \
	                           "group of three shacks in the middle of this map: " + \
	                           jeffandmere.get_link(relative_root, "http://g.co/maps/29khh", "http://g.co/maps/29khh") + \
	                           ", right by the \"driving circle\" (which is no longer used). " + \
	                           "If you are on the main road you can get to that circle by going " + \
	                           "over a small dirt area, or you can take the first left after " + \
	                           "going straight through the " + \
	                           "rotary (which isn't on google maps yet) that is located in the " + \
	                           "middle of this map: " + \
	                           jeffandmere.get_link(relative_root, "http://g.co/maps/fnmwf", "http://g.co/maps/fnmwf") + \
	                           " (there is now most of a Ritz Carlton where the construction " + \
	                           "site is north-west of the intersection of LG Smith and Bakval)."
													]

	aruba_pearl         = ["The Aruba Pearl",
	                       "http://www.arubapearl.com",
	                       "The Aruba Pearl is located in the middle of this map: " + \
	                       jeffandmere.get_link(relative_root, "http://g.co/maps/ynmq3", "http://g.co/maps/ynmq3") + \
	                       " and is listed as \"Pearl Condominium\"."
												]

	manchebo            = ["Manchebo",
	                       "http://www.manchebo.com",
	                       "Manchebo is also right nearby in the middle of this map: " + \
	                       jeffandmere.get_link(relative_root, "http://g.co/maps/xrfr7", "http://g.co/maps/xrfr7") + "."
												]

	airport             = ["The Aruba Airport",
	                       "http://www.airportaruba.com/",
	                       "The Airport is south of downtown, outside the city about a mile " + \
	                       "or two.  When leaving, you will pass through U.S. customs " + \
	                       "in Aruba, so make sure to give at least two and a half hours " + \
	                       "to get to your flight."
												]

	text = jeffandmere.get_info_text(kiting_directions, aruba_pearl, manchebo, airport,
	                                 relative_root=relative_root)

	for data in jeffandmere.yield_page("Useful Info", jeffandmere.yield_standard_page, text=text,
	                                  **kwargs):
		yield data





