December Sun – A Web Comic

February 28, 2012

More Changes Ahead

Filed under: misc — admin @ 10:11 am

This USED to be a webcomic, but no more. I’m updating this blog to just tell the details of what I’m currently working on.

March 29, 2009

The 301 redirect

Filed under: 3,computers,misc,programming,web comics — admin @ 11:05 pm

an image that has nothing whatsoever to do with this post, from DS #5

 

 

 

I’ve been hammering out the woes with this webcomic since December of last year, and one of the things from the beginning that’s puzzled me is the fact that the basic URL is supposed to be:

 

http://www.dscomic.com 

…yet all of the actual site content is stored away in 

http://www.dscomic.com/wordpress-2.6.3/wordpress/

(in and of itself a problem, as what happens to this directory structure if I decide to upgrade WordPress?  Am I going to be stuck in 2.6.3?)  

Anyhow, the problem was that I wanted the primary site to be DSCOMIC.COM, yet I had to redirect the site visitor to the wordpress directory.  What I had been doing originally was an HTTP redirect, using the following logic:

<meta http-equiv=”refresh” content=”1; URL=http://www.dscomic.com/wordpress-2.6.3/wordpress/”>

This worked, I suppose, but never seemed like the right option, since when you’d go to DSCOMIC.COM first, you’d be at a blank white page with the text “December Sun”, then you’d be routed to the index file in the  /wordpress sub-directory with all of the site content and goodness.  I suppose I could have kept doing this, but it seemed like this wasn’t the most efficient way to go (and I seem to recall reading in the “Building Findable Websites” book that these sort of redirects weren’t a good thing for a site, as far as search engine ranking went.

So I dug around a little more, and found a more simpler option: now if the user starts at DSCOMIC.COM, the following springboard kicks into play to shoot the user over to the wordpress subdirectory.  Instead of an index.html file with the meta listed below, it’s just an extremely simple PHP program that quickly does the move…. 

<?php

header(“HTTP/1.1 301 Moved!”);

header(“Location: http://www.dscomic.com/wordpress-2.6.3/wordpress/”);

exit();

?>

I thought I’d share this here, in case this of any benefit to anyone.  More than likely, though, is that this post will just elicit eye-rolling from readers as to my total naivety with PHP and redirects.  Ah well, I just like drawing funny books…

March 26, 2009

An unexpected snakey visitor

Filed under: 3,misc — Tags: , , , , , — admin @ 10:21 pm

So I was heading down to the curb last night to bring back the trash cans, and I spotted an oddly-shaped stick on the driveway and…. wait a minute! That’s a snake!  So I grabbed a couple quick digital snaps then headed inside (the trash cans could wait until morning). Any idea what kind of snake this was?

I'm quite content here on this driveway
don't mind me, Rob.  Go ahead and bring your trash cans back up

Alas, this is the best resolution I can get with my ol’ digital camera, plus being nighttime, the lighting wasn’t the best.  It was a big old guy, I guess, and he didn’t stick around for long.  I just hope he didn’t head for my cozy garage…

March 25, 2009

“10 best foods for your heart”

Filed under: 3,misc,recipes — admin @ 10:49 am

CNN has a good article posted about “10 best foods for your heart“.  I was glad to read that a number of the foods are ones that we try to incorporate on a semi-regular basis, like salmon and avocado (Alas, homemade burgers on the grill didn’t make the list.  Darn.)  I would have liked this to go further about soy, as I’ve read plenty of negative things about soy recently, as well as heard negative things about soy from our chiropractor.  The Weston Price site also has a boatload of links on the negative side of soy (and all this is good, because I really don’t like the taste of soybeans or veggie burgers made with the stuff.)  

Avocados are awesome, and make for an excellent addition to a turkey sandwhich, but they tend to be far too expensive to buy as much as I’d like.  They also make for an excellent guacamole.

I’m glad to see flaxseed and nuts on the list too, as I’ve just stated incoporating these into a granola recipe that I’ve been making.  And what better segue could there be than for a DSCOMIC first: a recipe for Granola!  ”Now wait, Rob!” the spambots might ask that frequent my site, “what does this have to do with your sketchy and irrelevent webcomic?”  Well, since you asked, absolutely nothing.  So here’s the recipe:

Rob’s Somewhat “CNN Health” approved (no soy) Granola:

  • 6.5 cups freshly milled oats (not the Quaker stuff, if you can help it)
  • 1 cup ground pecans
  • 1 cup ground walnuts
  • 1 cup slivered almonds
  • 1 cup sunflower seeds
  • 1 cup cashews
  • 1/2 cup flaxseeds (milled)
  • 1/2 cup wheat germ
  • 1/2 cup honey (the good stuff you get at the Farmers Market)
  • 1/2 cup molasses

Mix everything well.  Spread in some pans evenly and then bake for 20 minutes at 250 degrees.  Rotate the granola then cook another 10 minutes.  I generally stop the oven, open the door, and let the granola sit in the oven a little longer to dry out more (without burning to a crisp.)  Let cool, then move to an airtight container until ready to eat.

Powered by WordPress