Archive for the 'Blogging' Category

Tuesday, December 11th, 2007

Where does the time go?

I swear, I could title every post I write that way.

But seriously, what the… heck? (hi, Jen!)

And where does my brain go? Maybe that’s the better question. This weekend was so incredibly busy. Drive kids this way and that, gotta shop for this, gotta make sure the youngest doesn’t find about about you-know-who.

OK, so the brain thing. All weekend I’d be doing stuff, all this stuff — and yes, I got my entire honey-do list completely honey-done! I’d be doing all this stuff and think, oh I’ve gotta blog this, I’ve gotta write this down! And can I remember any of it? NoooOOOooo!!

I should just text stuff to my blog and see how it looks when it arrives. I think it would probably have no title and then at the end it would have some kind of ad for my phone company. Maybe if i just tweak the plugin that handles incoming e-mails. Hmm, like I’ve got time for that!

Oh but tomorrow I am going to MMS-mail my Wordless Wednesday post and with any luck the new pinger I’m testing over at Linky Land and with any luck the widget will show up automagically — fingers crossed!! And oh yeah, then I have to implement e-mail pinging because Blogger doesn’t let you add your own ping server, DUH.

Well I’ve gotta run off and jump in the shower and have some break…

Oh that reminds me of one of things I was going to write about — LUNCH! I kind of think the guy in the cafeteria has it in for me. I don’t know why. Anyway, he’s always giving me a TON of food, like he’s trying to sabotage me, too! But you know what I’ve been doing — see, I’ve got this rice cooker and you can’t make just one serving of rice, and I’ve been eating a whole can of beans and that’s gotta be too much. So I’ve been making my lunch and cutting it in half and putting the other half away in the fridge for the next day. Well yesterday I got lunch in the cafeteria cause I was hoping to run into cafe-guy cause he lives right near Lori and she was out of the office and I was kind of curious, I hope she’s not sick! Anyway, I didn’t see that cafe-guy but other cafeteria guy gave me just as heaping a serving of their vegetarian peanut noodly dish, so the first thing I did was put half of it in a container and throw it in the refrigerator. Out of sight, out of my belly, right? Yay, me!

Speaking of all that, and aren’t you all sick of this? I’ve got another couple pounds before another milestone, and then a few more pounds from that is the lowest recorded weight I reached back in 2002. And then a few pounds after that… well, you’ll just have to wait for that announcement! I can’t wait, my own self! :)


Sunday, December 2nd, 2007

Just testing (again)

::tap::tap::tap::

It does seem like I do a lot of testing around here… but do you know why? Once it’s a little more cooked, I’ll let you in on what I’ve been so busy with.

::drumroll::

A little problem or two… a quick edit… any better?

::tap::tap:: How about now? Now?


Monday, November 26th, 2007

Two years?

Has it really been two years? Wow, the time has flown right by.

Two years… wow. I think I should make some changes around here.

Any suggestions?


Sunday, May 20th, 2007

**Look ma, no googles!(private)

You must be logged in to see this private post


Friday, May 4th, 2007

WP News Flash

I just spent about two hours trying to figure out what I did wrong. I wrote a new plugin that relies on the Post Levels doing its thing. Well it turns out that with WordPress version 2.1.1 it works fine, but with version 2.1.3, not so much. (Version 2.1.2 is to be avoided for other reasons, by the way). So if you’re using Post Levels, which I love, do not upgrade your WordPress all the way to version 2.1.3 — I do recommend upgrading, but only to version 2.1.1.

The problem, by the way, is that with WP 2.1.3, any logged-in user can see your most private posts, not just those users of the designated level. This is a pretty serious, so do be careful.

Oh, and you can downgrade WordPress from version 2.1.3 to version 2.1.1, so if you’ve already installed the latest version, all is not lost.


Tuesday, April 17th, 2007

WE HAVE A WINNER!!

If you’ve been following my blog for the past few months, I’ve had a little contest going on. And by “little” I mean there are no prizes.

Unless you consider BRAGGING RIGHTS the greatest prize there is. (Which it most certainly is.)

I just watched an episode of Identity so you know I’m really going to drag this out.

Remember back in February when evil Beta New Blogger was sucking people in at an alarming rate and I started keeping track of the holdouts on my blogroll? Yes, there were ten nine back then. And only ten days later we were down to four.

And the next day it was three. And almost three weeks later it would be down to just two.

Since then it’s been more than a month. And in that month we saw one of our finalists fall victim to New Blogger. The excitement really began to heat up and then we went to commercial.

Apple iTunes

And we’re back. Two finalists fighting it out. One has been switched but the other needs to make one more post with Old Blogger to win the championship.

But no, that blog is switched without a new post!!

And that means that… click to reveal the rest


Saturday, March 24th, 2007

Notice that?

Did you see the little blip of strangeness? Lasted about 3 minutes? Yup, that was me upgrading to WordPress 2.1.

Oh yeah, I’m a pro now. :)

And here’s the big news… You can now register here and enjoy bonus content!

Bonus. Yes, not bogus. Bonus.


Saturday, March 24th, 2007

Magical interlude

Here’s how to do the “click to read more” in Blogger…

0. Back up your template and keep it safe in case anything goes wrong and you need to go back to that. I’ve tested this code and it works great. But I get paid to do this kind of thing. And quite frankly, if you want me to do it for you, you can pay me, too.

1. Put this script in the <head> section of your template:

<script type='text/javascript'>
function dopostmagic(pid)
{
var diva = document.getElementById("posta-"+pid);
var divb = document.getElementById("postb-"+pid);
divb.style.display = "none";
for ( var i = 0; i &lt; diva.childNodes.length; i++ ) {
var child = diva.childNodes[i];
if ( child.className == "magicwand" ) {
break;
}
}
if ( i == diva.childNodes.length ) {
return;
}
var magicText = diva.childNodes[i].innerHTML;
diva.removeChild(diva.childNodes[i]);
if ( diva.childNodes[i].tagName == "BR" ) {
diva.removeChild(diva.childNodes[i]);
}
while ( i &lt; diva.childNodes.length ) {
var child = diva.childNodes[i];
diva.removeChild(child);
divb.appendChild(child);
}
var a = document.createElement("span");
a.innerHTML = magicText;
a.onmouseover = function() { this.style.textDecoration = "underline"; };
a.onmouseout = function() { this.style.textDecoration = "none"; };
a.onclick = function() { divb.style.display = "block"; };
diva.appendChild(a);
}
</script>

 
2. Look for this code in your template:

<data:post.body/>

 
3. Take that out and replace that with this:

<div expr:id='"posta-" + data:post.id'><data:post.body/></div>
<div expr:id='"postb-" + data:post.id'/>
<b:if cond='data:blog.pageType != "item"'>
<script type='text/javascript'>dopostmagic("<data:post.id/>");</script>
</b:if>

 
4. Now whenever you want to create that “click to read more”, here’s what your post will look like:

this is the stuff readers will see when they look at your post.

<div class="magicwand">this is what you click to read what's below</div>

this is what you can't see until you click the text of the line above.

 
5. Enjoy! You may repay me by being excellent to your fellow man planet team member. Or cash. I accept both. :)

6. On the other hand, if you want to automatically break your post after 20 lines or so, skip step 4 and instead of the script in step 1, put this code in the <head> section of your template:

<script type='text/javascript'>
var lineLimit = 20;
function dopostmagic(pid)
{
var diva = document.getElementById("posta-"+pid);
var divb = document.getElementById("postb-"+pid);
divb.style.display = "none";
var bcount = 0;
for ( var i = 0; i &lt; diva.childNodes.length; i++ ) {
var child = diva.childNodes[i];
if ( child.tagName == "BR" ) {
bcount++;
}
if ( child.innerHTML ) {
bcount += (child.innerHTML.length / 60);
}
else if ( child.nodeType == 3 ) {
bcount += (child.length / 60);
}
if ( bcount > lineLimit ) {
i++;
break;
}
}
if ( i == diva.childNodes.length ) {
return;
}
var magicText = "Click here to read more of this post";
while ( i &lt; diva.childNodes.length ) {
var child = diva.childNodes[i];
diva.removeChild(child);
divb.appendChild(child);
}
var a = document.createElement("span");
a.style.display = "block";
a.style.marginTop = "8px";
a.innerHTML = magicText;
a.onmouseover = function() { this.style.textDecoration = "underline"; };
a.onmouseout = function() { this.style.textDecoration = "none"; };
a.onclick = function() { divb.style.display = "block"; };
diva.appendChild(a);
}
</script>

 
7. Note that it won’t be exactly however man lines you specify in the lineLimit variable (which you may change if you like), but it ought to be pretty close.

P.S. This code is for new Blogger templates. If you still have the old kind, you’ll need something different — let me know and I’ll send it to you.


Friday, March 16th, 2007

Five long weeks

I’ve got this control panel (still under development, sorry!) that tells me there are people that visited me five weeks ago that I still haven’t been back to visit. Now granted, some of these I think I did visit and didn’t leave a comment, so I told the control panel to put them back on the list. But still, five weeks is way too long. So I’m catching up. Or trying to.

Meanwhile, I’m drinking some green tea from my stash. I feel healthier already!

And I have some bad news to report. My magnet cup — I left him out in the rain yesterday. Il est mort. He’s dead. When I went to remove him, ever so gently, from the roof of my car, the strength of the magnet was too much for his soggy bottom and he tore. Et il est mort. He is deceased. Et je suis triste.

P.S. it’s 2:30 p.m. and now I’m only 4.5 weeks behind, yay!!

P.P.S. 3:05 p.m. and the backlog is down to 4 weeks… work? nah!! :)

P.P.P.S. 3:00 p.m. on Saturday and I’m down to 3.5 weeks and counting!


Thursday, February 22nd, 2007

Keep Thursday Alive

I didn’t have time for WW or TT this week. Long story.

But here’s the thing, I just wanted to put this up in case anybody stops by (hi, mar!)

Let’s keep Thursday alive! We can keep writing lists on Thursdays. I even know where we can sign in every week.

No, not at the WW hub, but one that lives right next door!

OK, gotta get back to work, but let’s do this, let’s keep Thursday alive… why not?!


Tuesday, February 20th, 2007

The Final Four

One little, two little, three little bloggers…

Happiness is a Good Nap (updated 2/19/07)
Killired (updated 3/11/07)
The Purple Giraffe (updated 2/11/07)
The Summer of Dev (updated 2/15/07)

…four little, five little nope, not even five! There are only four active bloggers on my blogroll that are still on Old Blogger.

And “active” they are — I’ll try and keep the updated updated.

The Old Blogger Hall of Fame awaits!

Update: (2/21, 8 a.m.) The Purple Giraffe has fallen… down to three!
Several weeks later: (3/11, 1 p.m.) Happiness is a Good Nap is on new Blogger… only two left!


Monday, February 19th, 2007

Just like a Monday

Yes, there used to be a “testing” post here but I got rid of it. Then again, maybe you can see it. If you can, you can’t see this. If you *can* see this, you’ve arrived at the new server. Yeah, the server I was using it getting a little tight on bandwidth, so I’ve done a little reorganizing.

And how do you like the new look? Of course I’m referring to the “uisce/” that no longer appears at the end of the URL. That always bothered me. It bothered me a lot. So if you’ve got me bookmarked the old way, I’d love it if you’d change it. ‘Cause when you go to the old one it looks really ugly because I never got my template working with pages. What can I say, I just don’t use pages.

I was in a training class this morning. We have a new phone system here at work. Yes, I spent an hour of work time learning how to use a phone system. Thank god I went to the training or I wouldn’t have been able to log into my phone. Yes, log into my phone. Don’t even get me started. I am so angry I don’t even want to use the damn thing. My phone, it’s dead to me. Don’t even call me; I won’t answer.

Yes, that was a semicolon. Get used to it, it’s just the mood I’m in. Damn, a comma splice. I feel so… blah.