Archive for 25 June 2004

Friday
25 Jun 2004
10:05 pm

What to do

What to do … what to do … what to do. I’m sitting here debating if I wanna get that camera or not. They’ve got it at Walmart for $237. It’s about $245 or so at Best Buy. I can get it online for $208 (plus $14.95 shipping). I want that camera SOOOOOO bad. Since I don’t know yet when I’ll get my first paycheck, I can’t afford to use money from my savings (I need that for July rent). I could put it on my credit card and then pay it off once I get paid. But I really don’t wanna do that. It’s obviously cheaper online, but then I’d have to wait ’til it was shipped to me. And who knows when they’d be by to deliver it … problably while I was at work. I’d love to go into a store and walk out with the camera.

I DO need to replace my camera. I’m not sure how much longer it’ll hold out. Avalanche will be back at Pete’s the weekend of 08 July. I need something reliable to take pics with for the website. And if I get the camera now, I’ll have time to figure out how to use it by then … LOL.

I just don’t know what to do …

Mood: emptyempty
Posted under ramblings | Comments Off
Friday
25 Jun 2004
5:26 pm

Blog Exerpt

When I used Movable Type for my blog, I had made a template that just included information from my most recent post. I then included the resulting static page on the front page of my main website.

I was updating that site today … I replaced the Guestbook I had there with the ShoutOut script that I wrote. I realized that I still had the exerpt from my MT blog on my main page. I wanted to replace this with the most recent post from this blog (since I’m no longer updating the other one). A plugin wouldn’t work … I’m not putting this on a page inside of my WP install. So … I wrote a script that I put in the root directory of my WP install. I then called that from my front page, and wallah … there it was. It was easy to do, but took a bit of tweaking to get the number of comments to show up correctly. You can see how it looks here.

Anyways, I thought I would put the code here in case anyone else wanted to do the same thing. I’m not sure if they do. Or if there’s something already written for WP that does this (I didn’t search for it ‘cuz I wanted to write it myself ‘cuz I knew I could … G-grin ).

If you would like this code, you can get it here (upload it to your main WP install directory). You’ll need to fill in a couple of variables (the URL to your WP install, the server path to your WP install, and the number of characters from the post that you want to display). They’re at the top of the script and are commented with instructions. To use the script on your outside website, use a simple include …

<?php include '/path/to/wp/install/wp-exerpt.php'; ?>

Simple as that. If you end up using this, let me know. Once again, I’m curious to see if anyone wants this functionality other than me. Maybe it’s just ‘cuz I’ve got so many subdomains (I believe I’ve got 8 subdomains in addition to my main domain). And as I’ve said with my plugins … if you do use this and run into any problems, please let me know so I can troubleshoot.

Mood: lonelylonely
Posted under scripts | 4 Comments (4) ... RSS
Friday
25 Jun 2004
11:51 am

Update to Trackback Popup plugin

I thought I’d make note of this here in case you missed it below. I’ve made an update to the Trackback Popup plugin I made. It wasn’t giving the correct number of trackbacks. The query initially was only counting trackbacks. I’ve gone in and updated it to include pingbacks too. It should HOPEFULLY be giving the correct number now. If you’ve already downloaded this plugin, please make sure to get the updated code.

Maybe I should install Scripty’s Show Recently Edited posts plugin since I’ve got plugins here that I’ll more than likely be editing. Maybe I’ll do that this afternoon.

Mood: hungryhungry
Posted under word press | 3 Comments (3) ... RSS