It appears that Wordpress doesnt like having empty categories. I’m using the projects category to organize different projects by language. The front page of the blog only shows the category Blog Updates, as this is the only category with actual posts in it.
Not sure what the work around for this is. In the coming days, I will probably make some type of modification, so it shows all categories regardless of content on the front page.
February 2006
Tue 28 Feb 2006
Mon 27 Feb 2006
For this script I decided early that I wanted to keep the code clean as possible. In the past project complexity has overwhelmed my ability to write maintainable code, so I decided to break this script up into several seperate files.
File:
- config.php
- footer.php
- header.php
- html.php
- index.php
As you can probably tell, each file has a specific purpose.
The main script, which calls the other functions is of course index.php. This is the portion where we load all or required helper functions, and determine the status of any queries that were made to the site.
Config.php is where i’m keeping all those important variables which are global to my script, such as database login information. This is also where I put my code that determines what stylesheet should be used.
In header.php we start the initial page generation. This is where I will keep the top portion of any webpages that are created, including header information, and the beginning of my xhtml markup.
If index.php is the head of this monster, then surely html.php is the arms, and torso. It’s where most of the page generation takes place. The functions in here are called by index.php according to what query was provided.
Finally footer.php is where i’m keeping the bottom portion of any pages that are created.
I will go into more depth on each part of the script in future postings. Wanted to show the basic idea of what i’m trying to do with this project.
Sun 26 Feb 2006
Everyone is looking for that one perfect method of stylesheet markup, including myself. CSS Zen Garden is probably the best example of good markup, so I decided it would probably be best if my markup followed theirs close as possible. Eventually I hope to post some decent stylesheets in this category.
Sat 25 Feb 2006
I’m working on this set of php scripts that will allow me to create multiple websites depending on the domain the client calls.
The idea is to have one directory with several vhosts aliased to it, and a stylesheet for each vhost. Having one location for maintainence should make updates easier. The data i’m using for site content is coming from an existing MySQL database used for an online catalog. I am in the process of writing the backend portion, which is where a person can add new domains to the list of pages to be generated. Trying to make it simple as possible, yet retain the ability to make each site truely unique.
Will post more when I get closer to the finish line.
Wed 22 Feb 2006
I wrote Cheat.pl years back. It uses a list of proxies, and random user agents to give the appearance of more hits to a given link. See, there was this portal code that was seriously flawed, it used amount of clicks as the determining factor of who gets placed where in a web search. So one could use this code to make themselves #1 on this list for whatever search terms. I have another version of this that works with Google’s Ad-words, I think that code might be a little to cool for school, but you have the motivation, you could easily modify this code to trick Google. Right?
Please use this code responsibly, it’s only intended to be used for testing purposes
Click here to download Cheat.pl
Tue 21 Feb 2006
Pget is a tool I wrote to download rss feeds, and make sure they’re xml compliant for one of my webpages. Click here to download Pget. What I did was put this in a crontab, and had it run every 15 minutes I believe. Pget requires a few modules that can easily be found on the CPAN search.
Tue 21 Feb 2006
I wrote the Links section the other day. Basicly what I did was integrate this PHP code I already wrote that allows me to add/remove/edit links very easily. I really like how you can just write straight PHP in the Wordpress editor, and with one click it’s ready to go.
While looking through my Apache logs this morning, I noticed Yahoo seems to be hitting this blog pretty regularly. Looks like not only Slurp is hitting it, but also Yahoo-Blogs. So i’m trying to get some content on here ASAP. Got like 3, or 4 posts I want to write, but i’m kind of caught up on this other project i’m working on. Maybe today I will take some time to write some information about this project.
Wed 15 Feb 2006
Today I plan on testing out some more plugins, and hopefully writing my first technology related post for this blog.
Tue 14 Feb 2006
This morning I upgraded Wordpress from 2.0.0 to 2.0.1. Yes I know I said this would be done a long time ago, but I had to do the upgrade locally. Hopefully soon I can post some information on the various projects i’m working on.
Wed 1 Feb 2006
So WordPress 2.0.1 was released today. Looks like I will get my first experience with upgrading here in the next couple of days. I keep forgetting to start apache, and mysql when I leave work, so I havent been able to do anything with this site in my free time. Added it to the default runlevel, so it shouldnt be a problem anymore.