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(); ?> Welcome Back at spencerb.net



Welcome Back

“This post was originally created and titled on September 25, 2009.”

It was then edited again in October…Now, for some reason WP is taking all of my posts and erasing everything, but the first line.

So this nice little post that I wrote to start blogging again was erased besides what you see in quotes above.

Well, here it is…I’m back.

[?]
Share This

Related posts:

  1. spencerb.net update
  2. Wordpress Publish Scheduling
  3. LSE
  1. Tony Schwab posted the following on January 13, 2010 at 5:48 am.

    HAHAHA! I saw the automated emails from your comments on my blog and thought to myself, as I was surfing your comments, “Man, I wish Spencer would start blogging again.” My wish has been granted, good first post. :p

  2. spencerb posted the following on January 13, 2010 at 6:31 am.

    Haha…Thanks! I had a longer post, but Wordpress decided to eat it for some reason…I’ve been listening to CCR and reading news all morning, for some reason that put me in the blogging mood.

    Are you awake at 6 am for work or as a result of not having slept yet?

  3. spencerb posted the following on January 13, 2010 at 6:34 am.

    I was gone from blogging long enough to have to update from WP 2.6.x to 2.9.1

  4. spencerb posted the following on January 17, 2010 at 3:52 pm.

    On a side note, I’m really enjoying the fact that I finally have my gravatar working with my blog and that a new plugin I got recognizes my comment as an openid sign in.


Leave a reply



Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Close
E-mail It