HomeAviationTravelPhotosMinistryResourcesBlogFunFilesXtraFilesResumeEmailTemp
Andy Borgmann's Blog
Where The Producer Gets the Mic
A Big Week: WOWO - Fort Wayne, World Series & A Faucet
Continual Affirmation of Manhood: I Installed My New Moen Kitchen FaucetIt was a big week this week. First, Justin broke my faucet in the kitchen so I had to install a new one. I know you are thinking to yourself, that isn't big. It is for me as it continues to reaffirm that I am a man and can do handy things around my house.

After that I fixed my cable box in one room and then took a nap while trying to watch the Cubs game. I was awoken by a phone call from Justin. All I heard was, "did you see the e-mail? 235, man. 235."1

What To Do When Know RSS? - Build A PHP Tracking Script Using fopenJustin and I have been tracking World Series tickets with the Tampa Bay Rays for a couple of weeks now. The problem was, StubHub does not have RSS capability so we would have had to check the site manually all the time. Not a good option. But I figured out a way to do a script that would capture the webpage every hour and send us the results via email. And sure enough, today, World Series tickets were put on the page almost $150 below everything else we had seen. We snapped them upped immediately.

Now everybody root for the Cubs and the Tampa Bay Rays.

Andy Borgmann Returns to Fort Wanyne, IN on WOWO 1190 AM with the Allen Hunt ShowThen, if the week wasn't good enough, this morning Allen was interviewed on WOWO in Fort Wayne, IN by Charley Butcher as we are going to be going live in my hometown starting this Saturday. The Allen Hunt Show - and all its Homestead bashing due to my inability to spell - can be heard Saturdays from 9p-12m on WOWO 1190 AM. So tell everyone you know to tune in, listen, and call - especially this Saturday as we get preempted on our flagship, News/Talk 750 WSB, due to UGA football.

Not a bad couple of days if you ask me.



P.S. For those wondering how to create the Email when RSS isn't available I have included the PHP code below.

<php

// Retrieve the Date
$plushour = time() + (60 * 60);
$date = date("g A - D M j", $plushour);

//URL of File
$file = "http://www.stubhub.com/tampa-bay-rays-playoff-tickets/rays-vs-tbd-10-23-2008-587821/";

// Retreive HTML Document
$html = implode('', file($file));

$box_end = explode("</tbody>", $html);

// Create An Array for Each <tbody> Tag
$box_beg = explode("<tbody id=\"ttb\">", $box_end[1]);
for($i = 1; $i < count($box_beg); $i++){

$box_body = "<table cellpadding=\"2\">$box_beg[1]</table>";

//Send Email to Andy & Justin
$to = "Andy Borgmann <andy@2timothy42.org>";
$from = "Andy Borgmann (Webmaster) <webmaster@2timothy42.org>";

$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $from" . "\r\n";
$headers .= "Cc: Friends Name <friends.email@gmail.com>" . "\r\n";

$subject = "World Series Tickets - $date";
$body = "<html><head><title>World Series Tickets - $date</title></head>
<body style=\"font-family: Arial; font-size: 12px;\">
<div style=\"text-align: center; font-size: 24px; font-weight: bold; \">What do you think? • Anything good yet?</div>
<br />
<a href=\"$file\">$file</a><br />
<br />
<b>This is for World Series Tickets: Thursday, October 23, 2008 at Tampa Bay Rays - Home Game 2</b><br />
<br />
$box_body
</body></html>";

mail($to, $subject, $body, $headers);

}

?>


Then you just setup a Cron task to execute the script every hour

0 * * * * nice -n 15 php /dir/to/script/baseball-tix.php >/dev/null 2>&1

What's Andy Up To?
Andy Borgmann - TwitterAdd Notre Dame, Alabama, Georgia Tech, Georgia, Denver Broncos, Indianapolis Colts, and Pittsburgh Steelers to the iPhone calender: check!
Andy Borgmann - Twitter"Ice Is Back With A Brand New Invention... Ok Just A YouTube Video" - http://is.gd/eRLS0 - I am back on the blog baby! More to come.
Andy Borgmann - TwitterI opened up my to-do list pad and what did I find? Drawings by Jadyn. It made me smile. Thanks Jadyn I needed that http://twitpic.com/2ka5uo
Andy Borgmann - TwitterLet it be known: the first official act of my 2022 IN Senate campaign was today when Lisa Blosser officially changed her name to Borgmann.
Andy Borgmann - Twitter@and_elf Greedy Capitalist :)
Andy Borgmann - TwitterForgot my phone at home today: saved by GMail phone - love that feature of GMail. Another reason that @EricaKJustice should drop hotmail.
Andy Borgmann - TwitterJust bought 2 things I have never bought ever. Advil and rubbing alcohol. If my ear is still there in the morning it may be time 2 see a Dr
Andy Borgmann - TwitterI find this to be a fascinating read of the human condition: http://is.gd/eM26J - even though it sad, I agree the findings are accurate
Andy Borgmann - TwitterHot damn the Broncos are playing the Steelers on Fox. Change final destination from home to Jenny's. Her Steelers are going down!
Andy Borgmann - TwitterLeaving the Fort. You guys are the best. Thank you so much!

Description
Andy's blog aims to be like a Scrubs episode, mixed with a Chuck Klosterman column, centered around the topic of faith. It is open, honest, raw, and a little embarrassing. It is a place to discuss religion, politics, ministry, pop culture, and well, just life - especially focused on the time of life we call our 20s!

Andy is the Executive Producer of The Allen Hunt Show; a progressive (in the literal sense), talk radio show based in Atlanta, GA aimed at bringing faith back into the public discussion. Andy enjoys travel, aviation, web design, politics, friends, and faith. He holds that the secret to a full life is loving God and loving people - which he fails at constantly.

Andy grew up in Fort Wayne, IN. He now lives in Alpharetta, GA.

More information about Andy can be found at www.2timothy42.org or Andy's Facebook.

P.S. As has been mentioned on air, Andy is horrible at grammar and spelling. Please excuse any mistakes, trust me, he's sorry.



Email Subscribe

Powered by FeedBurner


Calendar
<<    <    Sep 2008    >    >>
Sun Mon Tue Wed Thu Fri Sat
 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2008-09-30 00:00:00
2008-09-30 23:59:59
30