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(); ?> The Trip Begins at spencerb.net



The Trip Begins

It’s spring break and I could not be happier to have classes over! My most difficult final, econometrics, went fairly well. I answered all the questions (which I’m quite happy about), so we’ll see if the answers were right.

Monica and I are heading west. Monica wants us to end up at the Grand Canyon in Arizona. I want us to end up in Mesa Verde National Park in Colorado. We’ll see what happens.

We stayed the night in down-state Illinois and we trucked through Missouri today and decided to do some sight-seeing in Kansas City. I’m excited, there is a really nice area called the Power and Light District that I look forward to exploring and getting a few drinks.

I hope everyone is having a great break (even though Minnesota lost).

[?]
Share This

Related posts:

  1. Winter Break
  2. Perfect Storm of College Football
  3. Long Time, No Post
  4. The Return Phase Begins
  5. Grab the Mechanical Bull by the Horns
  1. Dan Schoppe posted the following on March 21, 2009 at 10:49 am.

    Oh… Minnesota lost?! Way to rub it in :-/

    Sounds like a great trip! The most fun adventures are those that allow the most flexibility. Since you both have an idea of where you’d like to end up, maybe you should go to neither and pick someplace entirely different.


Leave a reply



Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Close
E-mail It