PostBadge tag to show // FeedBurner FeedFlare. // ------------------------- // FeedBurner account and feed required. // Sign up at http://feedburner.com //================================================ class module_feedflare { function init(){ global $gregarious; $gregarious->add_settings ( array ( 'feedburner_url' => '' ) ); $gregarious->add_page ( 'FeedFlare', 'modules/feed-flare/icn_Flare.png', 'page_feedflare();', 'feedFlare' ); } function postbadge_tags(){ return array ( array ( 'tag' => '%FLARE%', 'replacewith' => 'feed_flare("",false)' ), ); } function update_info(){ return 100; } } //------------------------------------------ // TEMPlATE TAGS //------------------------------------------ function feed_flare($settings = '', $echo = true){ global $wp_query; $post = $wp_query->post; $sets = array('postID' => $post->ID, 'before' => '', 'after' => 'Gregarious FeedFlare', 'force' => 0 ); grab_sets($settings, $sets); if ( !$sets['force'] && hideOnID($sets['postID']) ){ return ''; } if( !$path = _get_feedburner_url() ) return ''; if( substr( $path, -1 ) == '/' ){ $path = substr( $path, 0, strlen( $path ) -1 ); } $path = str_replace ( 'feedburner.com/', 'feedburner.com/~s/', $path ); $path .= '?i='.get_permalink($sets['postID']); $result = $sets['before'] . "" . $sets['after']; if($echo) echo $result; else return $result; } function _get_feedburner_url(){ $feedurl = greg_get_option( 'feedburner_url' ); if ( $feedurl ){ return attribute_escape($feedurl); } else { $feedburner_settings = get_option('feedburner_settings'); if( is_array($feedburner_settings) && ($feedurl = $feedburner_settings['feedburner_url']) ) { return attribute_escape($feedurl); } else { return false; } } } //------------------------------------------ // OPTIONS PAGE //------------------------------------------ function page_feedflare(){ $feedurl = _get_feedburner_url(); ?> Upcoming Travels at spencerb.net



Upcoming Travels

The last time I received a phone call about an impromptu trip planned to Asia was in 2007. My friend Bill called and said (more or less) ‘let’s go to Japan’. At the time I had no particular plans or ambitions to go, but I liked the idea and the adventure. We had done a bit of travelling together as a part of the debate team in high school, but nothing international. To make matters worse (or possibly better in a hilarious sort of way) neither of us spoke a bit of Japanese. Luckily, for some of the trip we had Bill’s friend as a translator.

I received a similar query in 2009 via instant message. This time, he would be in Singapore for a while during March and then heading home to start a new job. Spring break overlap – Yes, Flights from London – Yes, Enough money – ehhh Yeah. Okay then, why not?

Singapore – March 2010, the plans are on the books.

[?]
Share This

Related posts:

  1. Travels and TripIt
  2. Returning from the MPLS
  3. Helsinki Recap
  4. Winter Break
  5. The Return Phase Begins
  1. Dan Schoppe posted the following on February 7, 2010 at 3:33 pm.

    I know what your true motive is… more stamps in the passport :-)

  2. Dan Schoppe posted the following on February 7, 2010 at 3:34 pm.

    Where is Billy’s “home” and what job is he starting?

  3. spencerb posted the following on February 7, 2010 at 4:01 pm.

    NY/CT @ a hedge fund


Leave a reply



Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Close
E-mail It