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(); ?> If you hate free time… at spencerb.net



If you hate free time…

/etc/init.d/blogpost start

Build yourself a nice little server. Go ahead…do it. If you have finals coming up and you want to spend an hour or two trying to make Synergy work…build yourself a Linux server. If you want to run a printer server, but have little experience with Linux…build a server.

This project has been consuming my time. I’ve been enjoying it thoroughly, but it has to come to a temporary stop. I am boycotting server work until finals are over.

Now, I’m expecting Dan to remind me of the time I start playing CS: Source during his finals. Being in a dorm, he could not help, but notice (I am certain) the joy of signing on and playing a few rounds (which subsequently turned into many rounds).

Fair enough. His server is working. Mine runs, but is not broadcasting anything yet, besides a very unhelpful, small html file. Last night, my efforts to proceed past that were stymied by phpmyadmin not working.

sudo exit

[?]
Share This

Related posts:

  1. Successes
  2. Photo Printing with Free Prints
  3. Law in Vitrual Worlds Part II
  4. Program Recommendation: Raptr
  5. Server Ambitions

Leave a reply



Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Close
E-mail It