Tuesday March 04, 2003
Moblogger enabled for this blog
I enabled Russ's Mobblogger for this
site this evening. In fact, I'm typing this post in an e-mail (complete
with HTML). I found a couple of issues and I have a couple of
questions:
Issue #1: The FTP doesn't seem to support symlinks. I wanted to create
a symlink so the <ftpDir> would point to my /repository/images
directory. No dice. It wouldn't recognize the symlink as a directory.
As a workaround, I put a symlink in /repository to point to
~/moblog/media.
Issue #2: Moblogger uses a relative path for it's URLs in images and
other media. Right now, it's hard-coded to do <img
src="media/filename.ext" .../> I altered the
MailProcessor.java class to use a path for my media assets
of "/repository/media" so that the above symlink would work. Since
Roller uses /page/username for its sites, a relative path
wouldn't work. Maybe this could be a configuration parameter - hint,
hint ;-)
Issue #3: The script to run mobblogger on *nix didn't have
quartz.jar in the classpath. And for some reason, I had to
remove "#!/bin/sh" from the top of the file in order for it to run on my
RedHat 8 machine. And it also only runs while I'm logged in. Does
anyone know how to set this up to run constantly? Should I do it as a
cron job or something? It's just a java -cp ... command.
I might set this up on the server where this site is hosted, but it
seems to work fine on my local machine right now, so I'll just leave it
there. I doubt I'll even ever use it. For one, I don't have a camera
for my phone, and that'd be the only really cool thing to use it for.
Maybe I'll post an e-mail everyone once it awhile, but most of the posts
I want to write are pretty long. That might take a while, even with T9.
Oh well, it's still cool software and I dig it. Thanks Russ!
Posted in General
at Mar 04 2003, 10:29:28 PM MST
1 Comment
Search This Site
Recent Entries
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial
If you'd like to run a command and keep it running even after you log out, you could either use <code>nohup command</code> (nohup is "no hang up", so command does not terminate after you log out), or make it a "system" service (<code>/etc/init.d/ script</code>).
If you want to run a command periodically, you could use <code>crontab</code>; <code>man crontab</code> should help.
Posted by Greg Klebus on March 05, 2003 at 01:08 AM MST #