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(); ?> Returning from the MPLS at spencerb.net



Returning from the MPLS

I am tired from a day of travel, but I wanted get a few thoughts down before heading off to bed (yes, its early, but tomorrow is my first day of fall classes. Hopefully, before Friday I can chronicle some of the week’s events.

I had a great trip this time. I spent almost a week in the Twin Cities. That amount of time almost felt like too long to be away from home, but it makes you wonder where home really is. It seems that a lot of people I know are grappling with that question right now. As I retell last week’s events, it will become more clear what I mean.

The more time I spend in Chicago, the more certain that the city makes for a great adventure, but beyond that only time will tell.

[?]
Share This

Related posts:

  1. Travels and TripIt
  2. MPLS Ultimate
  3. Grab the Mechanical Bull by the Horns
  4. The Return Phase Begins
  5. The Trip Begins

Leave a reply



Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Close
E-mail It