Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@joahua

Search and display problem fixed

Dale was searching for some RSS stuff on this site, and discovered that he was only getting seven results (the same number as my default display for the front page) — and that the same problem existed with the month archive display. He thinks it used to work just fine, and I had thought it did, too, but I’m not really sure what I changed to break it. So, in a dodgy-ish patch, I’ve added next/previous page links to the bottom of each page. This works on search results, as well as monthly archives and the front page.

The code I’m using for these page links, just in case anyone’s interested, is as follow (obviously the CSS/formatting stuff is optional):

<p style="margin:10px;background:#D3D3D3;color:#404040;"><?php posts_nav_link(' ', __('<span style="float:left">&laquo; Previous Page</span>'), __('<span style="float:right">Next Page &raquo;</span>')); ?></p>

The essential PHP stuff only is:

<?php posts_nav_link(' ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>

Hope this makes life easier!

This is for the WordPress blogging system, and is used to add next and previous page links to the end of a document. Further information can be found on the WordPress wiki, on the article entitled “Template Tags“.

Happy New Year

I’m not going to be in Sydney until January 6 or thereabouts, but I hope everyone enjoys their various NYE celebrations and stays safe, etc. I’ll be in Canberra as of tonight, without any foreseen ‘net access — I will, however, have my mobile with me (the number is on my Contact page, right column), should anyone urgently wish to get in touch… yeah, right ;)

Happy New Year!

Exciting things are coming

Perhaps more exciting for me than anyone else, although most geek-minded people will probably jump up and down a little bit over the fun I’m going to be having with some things in the near future.

No, I’m not saying exactly what yet. Something vague? OpenLDAP, Samba as a PDC, quiet, uptime. Watch this space.

Yo-yo

No broken strings. I’m here, but am just about to disappear again until post-NYE. Which is kind of lame, seeing NYE in Sydney or at least with friends beats NYE anywhere else with family, but you get that. Hope everyone’s been having a great Christmas and the like, and I’ll try to break the string and stick around some time in the not-too-distant future.

p.s. We’ve bought a house, which, for all interested/caring, can be seen on the Domain website. The listed price isn’t what we paid, but it’s fairly close. Yeah, it’s really really big. It’s also really really glassy. I’ll post some more/better pics when we actually move in, which is scheduled to be sometime in late January (around Australia Day — that’s January 26).

The cruise

Just in case anyone cares, here’s the itinerary for a 10 day cruise I’m going on from tomorrow through until the 27th of December.

Itinerary N439, Pacific Sun
Date Ports of Call Arrival Departure
Fri 17 Dec Sydney, Australia N/A 3PM
Mon 20 Dec Poum, New Caledonia 9AM 4PM
Tue 21 Dec Noumea, New Caledonia 8AM 6PM
Wed 22 Dec Lifou, Loyalty Islands 8AM 6PM
Thu 23 Dec Mystery Island, Vanuatu 8AM 4PM
Fri 24 Dec Isle of Pines, New Caledonia 8AM 4PM
Mon 27 Dec Sydney, Australia 8AM N/A

No, I shall not play Bingo with old ladies. I’m sorry.