life posts

Ideas: Vanlife parking garage

A parking garage would be built catering to vanlife visitors. It would have amenities for them and both short and long term parking pricing. The price would probably have to be kept a good bit lower than campgrounds, as their natural settings and added space offer added value.

Continue reading post "Ideas: Vanlife parking garage"

Toby Now

My roommate has been out of town this week for work. It's been me and the dogs. I got to work from home a couple days so I could feed them. Normally when I work from "home", I actually work from the library, because my roommate doesn't like me working from home. The dogs have been mostly good, though as usual they can be a bit demanding for attention.

Bought myself a few things earlier this week. Got my first ever electric razor (Phillips-Norelco PQ208). I've only used it once, but it seems like it's going to speed up my shaving experience and make it more likely for me to do. Also, since I usually let my blades get rather dull before buying new ones, it will be less painful. It's just a travel one, so it cost around as much as a 5 pack of blades for my former razor, the Mach 3.

Continue reading post "Toby Now"

Canine: Wordpress Custom Searches

The Wordpress search by default looks through the title and content of all available posts and pages for given query words. But sometimes you might want to only search a certain category or search custom fields or some other criteria. On the Canine Lifeline site, we have a dog section where we want to be able to list dogs based on a number of parameters, such as age, gender, adoption status, et cetera. We are currently storing dogs as posts in a particular category, and using Magic Fields to add custom fields for various aspects of each dog.

Wordpress sends search queries as GET requests from its search form. The "s" variable contains the search query, but others are allowed. In fact, if you're familiar with the "query_posts" function, many of the parameters for that are available, and the rest can be enabled, because the search is basically just a regular Wordpress query with parameters appended from the GET variables.

Continue reading post "Canine: Wordpress Custom Searches"

Wordpress: XML Sitemap with XSLT Wordpress Theme

For the Canine site, we wanted to have an XML sitemap to help search engines index the site. The sitemap can help search engines find all content on the site as well as tell it which pages are most important, how often they are updated, and when they were last modified.

There seems to be a number of plugins to generate the sitemap automatically for Wordpress, but the Google XML Sitemaps plugin seems to have the highest rating and have gotten the most mention in blogs. Jason had used this plugin already for his site, so we knew a little about it already, thus we went with it.

After some minor configuration, it worked just fine. It regenerates a static file every time a page or post is updated. Not as dynamic, but it saves processor time. I doubt the plugin will work with Pods at all, since that's outside the posts/pages dataset. Our Pods content probably won't be as important anyway. I could potentially look into modifying the plugin if need be for that.

Continue reading post "Wordpress: XML Sitemap with XSLT Wordpress Theme"

</toby>