me-not-me

geoffcox_upsidedown


// transitional codework

$yahooKey = 'unlock yahoo';

$me_description = array();
$me_picture = array();
$me_query = "Geoff%20Cox";

$me_request = 'http://search.yahooapis.com/WebSearchService/V1/webSearch?appid='.$yahooKey.'&query='.$me_query.'&results=20';

// rather than a narcissistic attitude towards objects
// as projections of self: me
// the object is recognised as separate and distinct
// from self: not-me

$not_me = file_get_contents($me_request);

// such as: "Geoffrey lives in West Devon, near Tavistock,
// with his wife and his family...

if ($not_me == false) {
die("me failed");
}

// "You have value for me because of your survival of my
// destruction of you." (Winnicott)

$me_description_begin = "

";
$me_description_end = "";

 

$transitional_experience = 0;
while ($transitional_experience < strlen($not_me)-1000)
{
$transitional_space=substr($not_me, strpos($not_me, $me_description_begin, $transitional_experience)+9, strpos($not_me, $me_description_end, $transitional_experience) - strpos($not_me, $me_description_begin, $transitional_experience) - 15);
if (strlen($transitional_space) == 0)
{
$transitional_experience = strlen($not_me)+1000;
}
else
{
array_push($me_description, $transitional_space);
$transitional_experience = strpos($not_me, $me_description_end, $transitional_experience) + 11;
}
}
$me_number = rand(0,sizeof($me_description));
$me_text = substr($me_description[$me_number],0,strpos($me_description[$me_number]," $me_link = substr(strrchr($me_description[$me_number],">"),1);
echo "

".$me_text."

// take some descriptions from here perhaps, http://www.geoffreycox.co.uk/about/

;

$search =
// url, and get a picture of Geoffrey Cox,
// Conservative MP for Torridge and West Devon (too close to Plymouth for comfort)
;

$not_me_picture = file_get_contents($search);

$me_description_begin = "imgurl";
$me_description_end = "rurl";

$transitional_experience = 0;
while ($transitional_experience < strlen($not_me_picture)-1000)
{
$length = strpos($not_me_picture, $me_description_end, $transitional_experience) - strpos($not_me_picture, $me_description_begin, $transitional_experience)-8;
if ($length < 0) {break;}
$transitional_space=substr($not_me_picture, strpos($not_me_picture, $me_description_begin,$transitional_experience)+7,$length );
$transitional_space = str_replace("%2F", "/", $transitional_space);;
array_push($me_picture, $transitional_space);
$transitional_experience = strpos($not_me_picture, $me_description_end,$transitional_experience) + 11;
}
$me_number = rand(0,sizeof($me_picture));

echo "

// image of Geoffrey Cox goes here,

geoffreycoxmp

// but preferably with wife and family (sic)

";

// For more about 'transitional objects',
// see D.W. Winnicott's Playing and Reality (1971).
?>

 

Leave a Reply