Archive for June, 2009

Twitter Weekly Updates for 2009-06-28

June 28th, 2009
  • Brazilian Arts Foundation art show tonight – http://brazilianarts.org/ #
  • figuring out ways to use consumer apps for professional application is too difficult (i.e. streaming live tv to ustream) #
  • "and it's been a long time, which agrees with this watch of mine." I think it will be a modest day today. #
Powered by Twitter Tools

Twitter Weekly Updates for 2009-06-21

June 21st, 2009
  • Writing a brief on trade as agent of development. It's not, and the reality is depressing. There's nothing free about free trade. #
  • The new mobile TweetDeck is ok, but i think I'm sticking with Tweetie #
  • I'm here to watch this one fader. http://twitpic.com/7lv9j #
  • Scrub a dub #
  • I still want our snack machine back! http://twitpic.com/7ldwk #
Powered by Twitter Tools

Global News

June 21st, 2009

The Buddhist concept of patience differs from the Western concept in that it demands awareness instead of stoicism (i.e. patience isn’t suffering without complaint; it’s an understanding of the situation).

With this in mind, I feel that the news media are biased in any given situation; therefore, it is nearly impossible to ever fully understand the situation. But what has helped temper the information I receive and attain my own world view is an understanding of the underlying motive. The first filter I apply to everything is the reality that we do NOT live in a democracy; we live in a capitalist society with representative government. The reason I do not consider this democracy is that monetary concerns actually govern while our representative government exists within these capitalist bounds. If we accept that our society is run by the corporation of which we (the public at large) are at best minority share holders, then the reasons behind the information we receive become more apparent. Once the reasons/motives are understood, we can begin to grasp the situation. What the motives are differ by name and explanation, but they all point to money or power. And with money and power essentially being the same by Western capitalists’ standards, there’s really only one god in our current structure. So if we assume that worship of this dead god is the driving force behind every organization (including government and our society), then we get a limited view of the impetus for the information exchange we call news. (more…)

Twitter Weekly Updates for 2009-06-14

June 14th, 2009
  • @doc_thunder I will have to find something to do 'cause I'm wide awake and raring to go – no more dead eye coffees at midnight for me. in reply to doc_thunder #
  • Well… I guess I'll go home. #
  • Time for my sleeping habits to be turned upside down. Endeavour launches at 6:17am. I'm on shift at 12am. NASA TV at 1am. All times CT. #
  • NASA Johnson Space Center PAO and MOD Ban Use of Social Media At Mission Control http://bit.ly/E0tw8 (via @KeithCowing) #
  • Already preparing for the #STS-127 JCNC that will take place while #Endeavour visits the Interspation (#ISS). #
  • Sleep shifting is a technique I do not have mastered. #
  • Today was the last day I have off until 4th of July weekend. And school starts back up this week. I don't understand why I'm so depressed… #
Powered by Twitter Tools

Exclude Posts – Update

June 8th, 2009

OK – so after doing the update in order to exclude my weekly twitter digest, I noticed some problems. The main one was that the ‘Older Entries’ link didn’t work. I tried several variants, but the only way I could get them to work again was by deleting the exclude code I had put before the loop. So I deleted it.

I assumed that it was because the is_home() and is_front_page() conditional tags weren’t working properly, so I checked out the loop page again. And I found this example, which works exactly as I want it too. It doesn’t answer the questions of whether or not the conditional tags for home and front page actually work – as a matter of fact, even when you’re not on the homepage (front page) the posts from my tweets category still get filtered out. This is OK for me because that’s what I want to happen; however, if you want something to happen on the homepage (front page) only, I would look for another way.

Twitter Weekly Updates for 2009-06-07

June 7th, 2009
  • The cola wars were lame . It’s time for the search engine taste test http://blindsearch.fejus.com/ #
  • i’m perplexed – is it morricone and the man with no name trilogy or barton and high plains drifter – i can’t make up my mind… #
  • Look how important i am ;~) – i’m ranked 574,501 on Twitterholic.com, and 1,766 in texas! http://twitterholic.com/jeremiahjobe/ #
  • @pwsquare ready’s not the word I would use, but I guess I’ll have to be. You? in reply to pwsquare #
  • To work. But coffee first. #
  • today was one of those days… #
  • The first ever six-person crew news conference on the interspation went well. Although it makes me work a lot harder. #ISS #
Powered by Twitter Tools

Exclude Posts Belonging to a Category

June 6th, 2009

UPDATE 06/08/09
This didn’t work out the way I planned, so I had to do something else


OK – so I have this nifty plugin that lets me post new blog entries to my twitter profile (Twitter Tools). The plugin also posts a weekly digest of my tweets. The problem is that I don’t want the weekly digest posted to my homepage; however, I do want the weekly digest posted to the blog, so I needed to find a way to filter a category from my homepage.

I searched wordpress.org support and found several plugins that sort of did what I wanted, but it seems ridiculous to install a plugin for something as simple as filtering a query, so I continued to search and found a helpful list of Query Posts that would handle the filtering. I then had to place the code before the WordPress Loop, so the category would be filtered out before the loop started. Here’s what I ended up using:

<?php
if (is_home()) {
query_posts("cat=-3");
}
?>

where 3 is the ID of the category you want to exclude from the page – and don’t forget the minus sign (-) before the ID number.

I opened the index.php file in a text editor, but you can use the built-in WordPress theme editor or file editor if you wish. I then had to place the code before the loop began:

<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php
if (is_home()) {
query_posts("cat=-3");
}
?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">

You’ll need to know the ID of the category you wish to exclude in order to do this. To find the category ID from the Dashboard, go to Posts → Categories and hover over the category name. When you do this the link address will appear in the bottom left of your browser (or wherever the onHover link address appears in your browser). At the end of the address you’ll see …cat_ID=3 – whatever the number, that’s the ID for that category.

It didn’t take me long to find all this information, but I had to look in several places for the entire process, so I hope this saves someone some time.

Things to understand:
With this method you can only exclude posts that belong to one category. If a post belongs to two categories, it will still be posted.
This method addresses posts to the homepage. The posts will still appear on the category’s page, and the category listing will still appear in the sidebar.