Category
Internet
This category is for anything network / internet related. I use it mostly to describe website updates though.
This category is for anything network / internet related. I use it mostly to describe website updates though.

So far I’ve been pretty impressed with Expression Engine, the CMS software behind my current site. It’s quite capable and has more features than I could probably ever figure out. The core version is free for personal use, but doesn’t include many features that are found in the full edition. One of these features is the user manager. I’ve never been a fan of the idea of requiring my friends (or anyone) to need a login for my site and that will continue, but I think I’ve come up with a system that will work out pretty well. Let’s face it: spam is a reality. False comments required me to start using captcha’s to prove they were coming from real people. But I know typing in a captcha phrase is annoying, and has led to fewer comments. So I’ve added the ability to register yourself a username. Having a registered username will mean no more captchas!
I also have had a few entries lately that I felt should be kept more private than usual. This also goes against what I want my site to be about but reality is something to be dealt with, and I can’t be too careful in today’s world when writing about some things like my job. Lacking a “Friends Only” ability on my site, I’ve made these posts on Livejournal. The users module in Expression Engine now allows me to overcome that. By registering as a user on this site and being approved by me, I can host all my entries on this site which I greatly prefer.
Anonymous Level:
Member Level:
Friend Level:
To register on my site, use the links under the “Members” section on the right hand menu of this page, or click this link.
Any questions, just ask!

The friends page I designed was quite naturally perfect, it was a work of art, flawless, sublime. A triumph equaled only by one monumental issue. The inevitability of it is as apparent to me now as a consequence of the imperfection inherent in every friends page, where I am forced to constrain other people’s web posts into a more limited format in my friends page. In the new 4.0 site, images wider than 700 pixels had a tendency to break the tables. After waiting 6 months for Swiftwulf to make an update and get rid that Obama picture that was too big, I started editing my friends script to detect images in the RSS feed and resize them. But the [img] tag is too complex, even after spending hours researching Regex. I was again frustrated by failure. I have since come to understand that the answer eluded me because it required a mind less bound by the parameters of perfection. Thus, the answer was stumbled upon by another, an intuitive person named Bobomega. And the problem was solved with CSS by adding the following line to my CSS page:
img {max-width: 680px;}
A whole day wasted! You can see the beautiful results at: http://www.darkmercury.net/site/friends/ and scroll down to Swiftwulf’s Obama pic.

I made a few changes around the site. If I spent half the time making actual posts that I spend instead worrying about tiny little issues, I would have several epic novels already. Well it’s easier to play with the site now than when I start working again soon. My little change involves the archives. My old site didn’t put much work into the archives, or “history” as it was called. It pretty much generated a huge list of post titles that you could click to take you to the entry. That’s great if I have a good descriptive title, which is maybe 20% of the time. Your other option was to simply keep clicking “Older Entries” at the bottom of each page and read through my life backwards. It’s a little confusing to read everything in reverse, but reverse chronological order is the best and standard way of promoting new content so that’s how it is. You’ll see my new History section on the right of all my pages by year. It takes you to January of each year and reads in chronological order, different than before. Reads a little better this way. Yearly seems to work for now, but I may change it to chapters like: “whiny freshman in college”, “internship”, “flight instructor”, “eagle first officer” if I want. Who knows…
The other change is pretty big and affects, you guessed it, the friends page. Yes, I still mess around with it a lot even though I haven’t made any major changes for a long while. The page was working great, looked great, and I even installed a filter to stop Jo’s Tweets for Today (which he stopped after I mentioned it), but one problem still remained: Without the cache, it took a long time to load. Sometimes over 60 seconds just for the server to generate the page. It had to connect to each friends’ site and download the feed. That’s what takes the longest. It does apply logic and runs through algorithms to generate the final page but that’s milliseconds. My solution involved emailing the folks at site5.com, my service hosts, and getting permission to use wget on the server. I can now run a cron job that downloads my friends page once an hour and stores that page for the user. So now when you click friends you’re grabbing a cached html file instead of running the php script and it loads significantly faster. So even if it still takes 30 seconds for the php script to run its deal, who cares because it’s not the page you’re downloading anymore.
The old php script is the same url as always, http://www.darkmercury.net/site/friends/
and the new faster stored cache page is http://www.darkmercury.net/friends/
I don’t know if anyone else actually uses the page, but I think it’s a good way to keep up with everyone’s websites. I like reading them and commenting, even if no one else does.




Welcome to the 4th edition of my website. This version is based on my twitter page and powered by Expression Engine. EE is the successor to PMachine, which powered my old site. I know I just did an update to my site in August so you’re probably thinking, why another major update so soon? Well, the short answer is that I have plenty of time these days. I’ve been running the same old pmachine website for over 5 years and had the color scheme for a year before that. So sometimes you just feel like a refresh is in order. While the August update was an evolution, this update is a revolution. It is hopefully the answer to many problems I have come across in the last 5 years with the old site. Rick was talking about drupal limitations when I offered up Expression Engine as an alternative CMS to both Drupal and Wordpress. I think at one point EE cost money for all but a demo, but these days you can download the core version of the site for free as long as you don’t use it for commercial use. I had a default installation on my site but hadn’t touched it in months. Well about a week ago I went back and reinstalled with the latest version and set out to see what the successor to pmachine could do for me.
Importing my posts from Pmachine was the most important and also the easiest thing to do. While I’m sure tools exist to import wordpress, moveable type, ets blogs, the pmachine convert utility was built right in and easy. From there I had to modify a template for a good design and usability. Thanks go out to Jo, Rick, and Alison for design feedback, ideas, and tips.
A severe limitation of my pmachine site was that each post could only be put in one category. EE allows me to put posts in multiple categories and is one of the biggest reasons I stuck with the upgrade. EE seems a lot more flexible than pmachine too. On the old site the menu on the left kept getting shorter and shorter. I liked the collapsible sections on the side, but to keep them across all the other pages I had to use a function that prevented me from showing posts by months and other tasty features, so the new install gives me that capability.
Another huge improvement is the URLs. While some people may not care, I like the new readable URLs way more than the old way. An old link to a post I made might show up as:
http://www.darkmercury.net/comments.php?id=23_0_1_0_C
WTF is that link about? Now The same post is represented by:
http://www.darkmercury.net/site/Six_Flags_Worlds_of_Pain/.
Likewise http://www.darkmercury.net/index.php?id=C0_5_1
can be shown as
http://www.darkmercury.net/site/category/rants/.
I’m pleased with how well my friends and news pages integrated with the new site as well. I stopped using colors for consistency. Each entry on the friends page looks very similar to a post if I made it, except it will have your RSS image in place of my categories, the title is clickable, and a link to your site is at the bottom. Once again if you don’t set your RSS icon, it will default to one I pick for you. If you want help changing it ask me, its quite easy. Last time I’m talking about that.
My pages that load in an iframe, such as my calendar and gallery are a little quirky but usable. There was some sort of permission error with my old gallery so I reinstalled from scratch. Pics will go up as I have time.
If you want, the old site is available at http://www.darkmercury.net/3.0/
I’m looking at getting even older backups of my site archived with the help of Jo sometime. Guess that’s all for now