[ Jump to content. Jump to navigation. ]

Mobile Blog in Da House

Wed 18 Sep 2002 0:36:12

<? if (filemtime("mobile/mobile.html") > filemtime("blog.php")) include "mobile/mobile.html"; ?>

And with that line of code in my template, the mobile blog is back, publishing the day's posts to the main blog file whenever I text an entry from my phone. The if-filemtime-include combination means that mobile entries disappear after I post a MT entry, but that's okay with me.

Categories:
Tags:

2 Comments

I'm trying to think of a way to blend blogs with MT. You know, keep them separate, with their own categories and settings, but sorted by time of posting in one page.

I suppose it could be done with say two files, each adding blog posts to an array, and then have an index page that sorts the array by time stamp. Hmm...

I told Jesper this already: I was starting to figure out the integrated MTEntries-array scheme, but then I realized I wasn't THAT obsessed. :D

Leave a comment