Ruby blog software

Frederick Ros <sl33p3r@free.fr> writes:

[ ... ]

You can also look at hobix (http://hobix.com - or -
http://rubyforge.org/projects/hobix/\) from our beloved Why the Lucky Stiff..
It also works the way you described, and I added some code to copy
generated blog over FTP to my IPS account.
AFAIR you can use RedCloth and BlueCloth to publish ...

Frederick Ros.

I have installed hobix using the instructions given in the checklist:
http://hobix.com/learn/01.checklist.html\. I made it through all of the
preliminary steps without any error. Then, I issued this command, as
specified in that checklist:

  hobix post blogopotamus foobar

(where "blogopotamus" corresponds to "blaahg" and "foobar" corresponds
to "shortName").

I was properly put into an editor session, but then, after entering a
small amount of content and saving the foobar.yaml file, I got the
following exception (I am manually wrapping long lines here for ease of
reading):

/usr/local/lib/ruby/site_ruby/1.9/hobix/out/quick.rb:62:in `load':
    Error `undefined method `' for nil:NilClass'
    in erb /var/www/blogopotamus/skel/entry.html.quick.
    (Hobix::Out::QuickError)
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:411:
    in `retouch'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:379:
    in `build_pages'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:300:
    in `skel_entry'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:522:
    in `each_with_neighbors'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/base.rb:123:
    in `each'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/base.rb:123:
    in `each_with_neighbors'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:522:
    in `skel_entry'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:520:
    in `each'
  ... 10 levels...
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:362:
    in `regenerate'
  from /usr/local/lib/ruby/site_ruby/1.9/hobix/commandline.rb:160:
    in `post_action'
  from /usr/local/bin/hobix:60:
    in `call'
  from /usr/local/bin/hobix:60

Do I need to have erb installed in order for this to work? If so, that
is not documented. Any other ideas of what could have caused this?

Thanks.

···

--
Lloyd Zusman
ljz@asfast.com
God bless you.

> Hi,
> > tDiary is decent, but doesn't have nice English support
> Send patch.

If one likes mucking around in the tDiary code. I didn't. I found the
plugins easier to deal with, but too many of them are just *slightly*
problematic. The real issue with tDiary's English support is the level
of documentation available. It's unclear what modes and plugins work
well together.

I agree with you on that point, non-japanese documentation is lacking.
But, fortunately, it is written in Ruby, so reading the code is
usually enough to understand what it does :slight_smile:

> > and there is little that seems that can be done to support preventing comment spam.
> > RubLog doesn't have any comment facilities at all, so ...
> You can disable tsukkomi in the preferences.

Not exactly preferred. I *do* want a comment and visitor tracking
system without resorting to email (as I am having to do with RubLog),
but I don't want to have to delete spam comments and tracking from my
diary, either.

Hehe, I don't know tDiary so much, but maybe it is possible to write a
plugin that uses an antispam filter for that. But I'm using tDiary
since more than a year now (with a decent traffic), and I never had a
single spam comment.

···

On Thu, 2 Sep 2004 19:51:23 +0900, Austin Ziegler <halostatue@gmail.com> wrote:

On Thu, 2 Sep 2004 16:49:08 +0900, Laurent Sansonetti > <laurent.sansonetti@gmail.com> wrote:

--
Laurent

Mike Clark wrote:
Rublog looks tempting, I'll have to admit. I need to give it a try (and
  Blogtari -- that looked promising, too).

However, here are three of the features that I really would like, and
which I didn't see in either of those:

   1) Online composition of articles.

As noted in an earlier message, Chad has a RubLog/Ruwiki converter for
an earlier version of Ruwiki -- it doesn't work with the current
version. Either he or I will get it working before RubyConf 2004, as
it's part of my goal for the 0.8.1/0.9.0 timeframe.

   2) The ability to set an article as a "draft", so it doesn't appear
in the published version of the blog. (My wife uses this feature of
MoveableType all the time.) This feature only really makes sense when
online composotion of articles is available.

There is a (commented-out) feature called Filters that will help with
this. I am diving into the Rublog code as the Bluecloth/Markdown
support didn't work for short RSS, so I added the ability to put a
synopsis as was done for RDoc formats. I really like the multiple
format support, and this was nice and easy to deal with. I also added
a custom timestamp generator from the filename (e.g., Foo.20040101.md
will publish the markdown-formatted with the date of 2004.01.01). I
will probably look at enabling the Filters feature on my local copy
and offer the changes back to Dave.

I also took the template enhancements that I did for Ruwiki (it uses
the RDoc/Rublog template engine) and backported them to Ruwiki
(although there's porting that has to go both ways) that I will offer
back to Dave for this, as I think it simplifies some of the template
code.

   3) Textile support. (Blogtari does this, but I didn't see any
RedCloth converter for Rublog.)

I imagine it's not too hard to add new converters to Rublog. (I seem to
remember a thread about that not too very long ago...) If I have the
time (ha!) I'd like to see about maybe hacking on the other two
features, unless someone has already done so.

Ultimately, Ruwiki will offer a way to work with Textile and Markdown
formatted stuff.

-austin

···

On Thu, 2 Sep 2004 23:33:33 +0900, Jamis Buck <jgb3@email.byu.edu> wrote:
--
Austin Ziegler * halostatue@gmail.com
               * Alternate: austin@halostatue.ca
: as of this email, I have [ 6 ] Gmail invitations

  1) Online composition of articles.

You probably won't see this coming from me: I'd much rather use a text editor to edit text... :slight_smile:

  2) The ability to set an article as a "draft", so it doesn't appear in the published version of the blog. (My wife uses this feature of MoveableType all the time.) This feature only really makes sense when online composotion of articles is available.

One of the joys (for me) of RubLog is that it understands CVS, so I can edit articles anywhere, and then jut check them in to have them appear. I run Apache on my Powerbiik, with a RubLog pointing to my check-ed out workspace. I edit articles on that machine, and view them inthe local apache. When I'm happy, I do CVS commit, and they're sent to my server, and are published via http://pragprog.com/pragdave\.

  3) Textile support. (Blogtari does this, but I didn't see any RedCloth converter for Rublog.)

There's already a Markdown convertor--that's BlueCloth, right?

Cheers

Dave

···

On Sep 2, 2004, at 9:33, Jamis Buck wrote:

Lloyd Zusman wrote:

I have installed hobix using the instructions given in the checklist:
http://hobix.com/learn/01.checklist.html\. I made it through all of the
preliminary steps without any error. Then, I issued this command, as
specified in that checklist:

hobix post blogopotamus foobar

(where "blogopotamus" corresponds to "blaahg" and "foobar" corresponds
to "shortName").

Sorry for the delay. Did you create the 'blogopotamus' blog? It should be listed in your ~/.hobixrc along with the path to the blog. Also check the blog path to be sure the hobix.yaml and other directories are listed.

If you haven't created it, use: `hobix create blogopotamus /path/to/blog'

_why

One of the joys (for me) of RubLog is that it understands CVS, so I can edit articles anywhere, and then jut check them in to have them appear. I run Apache on my Powerbiik, with a RubLog pointing to my check-ed out workspace. I edit articles on that machine, and view them inthe local apache. When I'm happy, I do CVS commit, and they're sent to my server, and are published via http://pragprog.com/pragdave\.

Time to start actually reading my posts before hitting SEND... :frowning:

  3) Textile support. (Blogtari does this, but I didn't see any RedCloth converter for Rublog.)

There's already a Markdown convertor--that's BlueCloth, right?

What I meant to add after this was "So I imagine adding other like formats can't be too difficult..."

Cheers

Dave

···

On Sep 2, 2004, at 10:19, Dave Thomas wrote:

> 1) Online composition of articles.

You probably won't see this coming from me: I'd much rather use a text
editor to edit text... :slight_smile:

Same here, in general, though I kind of like the Wiki-as-blog-editor notion.

> 2) The ability to set an article as a "draft", so it doesn't appear
> in the published version of the blog. (My wife uses this feature of
> MoveableType all the time.) This feature only really makes sense when
> online composotion of articles is available.

One of the joys (for me) of RubLog is that it understands CVS, so I can
edit articles anywhere, and then jut check them in to have them appear.
I run Apache on my Powerbiik, with a RubLog pointing to my check-ed out
workspace. I edit articles on that machine, and view them inthe local
apache. When I'm happy, I do CVS commit, and they're sent to my server,
and are published via http://pragprog.com/pragdave\.

I love the CVS feature too. Glenn Vanderburg added some neat code
that lets you only "publish" articles that are tagged to be published.
So you have a really cool version-control-driven "draft" feature,
though the draft wouldn't be viewable on your "production" weblog.

I follow the same pattern as Dave, but I use the Webrick servlet for
RubLog instead of Apache on my local machine.

> 3) Textile support. (Blogtari does this, but I didn't see any
> RedCloth converter for Rublog.)

I created a RedCloth convertor the first day RedCloth was announced.
It was so little code that I forgot about it and never sent it in. It
would literally be a < 5 minute process to recreate.

Chad

···

On Fri, 3 Sep 2004 00:19:22 +0900, Dave Thomas <dave@pragprog.com> wrote:

On Sep 2, 2004, at 9:33, Jamis Buck wrote:

That's why I commonly use http://mozex.mozdev.org to edit web page
textareas using vim!

Gavin

···

On Friday, September 3, 2004, 1:19:22 AM, Dave wrote:

On Sep 2, 2004, at 9:33, Jamis Buck wrote:

  1) Online composition of articles.

You probably won't see this coming from me: I'd much rather use a text
editor to edit text... :slight_smile:

Dave Thomas wrote:

One of the joys (for me) of RubLog is that it understands CVS, so I can edit articles anywhere, and then jut check them in to have them appear. I run Apache on my Powerbiik, with a RubLog pointing to my check-ed out workspace. I edit articles on that machine, and view them inthe local apache. When I'm happy, I do CVS commit, and they're sent to my server, and are published via http://pragprog.com/pragdave\.

:smiley: Well, if I had shell access to the box on which my blog is published, your CVS approach would be wonderful. Unfortunately, all I have is FTP... But wait a minute; am I a Ruby programmer, or aren't I? :slight_smile: I'm sure I could make it work, for me. My wife, however, would certainly prefer the web interface to a text-editor/local-web-server/upload-process approach. It would certainly make Rublog that much more attractive to the "non-programming-casual-blogger" demographic.

Time to start actually reading my posts before hitting SEND... :frowning:

  3) Textile support. (Blogtari does this, but I didn't see any RedCloth converter for Rublog.)

There's already a Markdown convertor--that's BlueCloth, right?

What I meant to add after this was "So I imagine adding other like formats can't be too difficult..."

I figured that's what you meant. :slight_smile:

- Jamis

···

On Sep 2, 2004, at 10:19, Dave Thomas wrote:

--
Jamis Buck
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."

Oh - that is cool! If only they had Mac support.

Cheers

Dave

···

On Sep 2, 2004, at 18:19, Gavin Sinclair wrote:

That's why I commonly use http://mozex.mozdev.org to edit web page
textareas using vim!

Gavin Sinclair wrote:

···

On Friday, September 3, 2004, 1:19:22 AM, Dave wrote:

On Sep 2, 2004, at 9:33, Jamis Buck wrote:

1) Online composition of articles.

You probably won't see this coming from me: I'd much rather use a text
editor to edit text... :slight_smile:

That's why I commonly use http://mozex.mozdev.org to edit web page
textareas using vim!

Gah! Where has this BEEN all my life?!? Thanks for pointing it out, Gavin! :slight_smile:

- Jamis

--
Jamis Buck
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."

I'd happily roll that in if you wanted to add an extension. It'd have to offer a choice of markup languages, and should ideally support some minimal workflow (pending to active). I'd probably see it as being a separate CGI that shared libraries with RubLog, rather than necessarily being part of the same application, but I could be swayed either way.

Cheers

Dave

···

On Sep 2, 2004, at 11:21, Jamis Buck wrote:

:smiley: Well, if I had shell access to the box on which my blog is published, your CVS approach would be wonderful. Unfortunately, all I have is FTP... But wait a minute; am I a Ruby programmer, or aren't I? :slight_smile: I'm sure I could make it work, for me. My wife, however, would certainly prefer the web interface to a text-editor/local-web-server/upload-process approach. It would certainly make Rublog that much more attractive to the "non-programming-casual-blogger" demographic.

Jamis Buck wrote:

:smiley: Well, if I had shell access to the box on which my blog is published, your CVS approach would be wonderful. Unfortunately, all I have is FTP... But wait a minute; am I a Ruby programmer, or aren't I? :slight_smile: I'm sure I could make it work, for me. My wife, however, would certainly prefer the web interface to a text-editor/local-web-server/upload-process approach. It would certainly make Rublog that much more attractive to the "non-programming-casual-blogger" demographic.

Well, what would be handy all around would be a client-side tool that let you edit stuff and then magically FTP|XML-RPC|WebDAV the results to a a server.

It's not that any of that is so hard, but getting something nicely integrated with a decent editor can be tricky.

When I first started working on Blogtari, I had some Word VBA stuff that would let me edit a post in Word, then upload a plain-text version of the file to the server. (It may have shelled out to a Ruby script someplace in there; I haven't used it in a while, as I now tend to use w.bloggar and Blogtari's XML-RPC to post)

I've been looking at doing the same with OpenOffice Writer, except that the complete sxw file would be transfered, rather than a dumbed-down html or text version.

James

Jamis Buck wrote:

Dave Thomas wrote:

One of the joys (for me) of RubLog is that it understands CVS, so I can edit articles anywhere, and then jut check them in to have them appear. I run Apache on my Powerbiik, with a RubLog pointing to my check-ed out workspace. I edit articles on that machine, and view them inthe local apache. When I'm happy, I do CVS commit, and they're sent to my server, and are published via http://pragprog.com/pragdave\.

:smiley: Well, if I had shell access to the box on which my blog is published, your CVS approach would be wonderful. Unfortunately, all I have is FTP... But wait a minute; am I a Ruby programmer, or aren't I? :slight_smile: I'm sure I could make it work, for me. My wife, however, would certainly prefer the web interface to a text-editor/local-web-server/upload-process approach. It would certainly make Rublog that much more attractive to the "non-programming-casual-blogger" demographic.

I hacked an ugly tiny cgi-script for a friend.
All it does:
it's a form where you enter the text and specify the format.
Then it gets saved on the server where I run rublog.
There is a 2nd cgi-script that allows deleting, editing,
making/deleting categories.

If anybody wants a copy, email me.

Ciao,
   -A

···

On Sep 2, 2004, at 10:19, Dave Thomas wrote:

Gavin Sinclair wrote:

[snipped]

>That's why I commonly use http://mozex.mozdev.org to edit web page
>textareas using vim!

Gah! Where has this BEEN all my life?!? Thanks for pointing it out,
Gavin! :slight_smile:

What he said, only with more exclamation points and a :D.

···

* Jamis Buck (jgb3@email.byu.edu) wrote:

- Jamis

--
Jamis Buck
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."

--
Paul Duncan <pabs@pablotron.org> pabs in #ruby-lang (OPN IRC)
http://www.pablotron.org/ OpenPGP Key ID: 0x82C29562

Dave Thomas wrote:

:smiley: Well, if I had shell access to the box on which my blog is published, your CVS approach would be wonderful. Unfortunately, all I have is FTP... But wait a minute; am I a Ruby programmer, or aren't I? :slight_smile: I'm sure I could make it work, for me. My wife, however, would certainly prefer the web interface to a text-editor/local-web-server/upload-process approach. It would certainly make Rublog that much more attractive to the "non-programming-casual-blogger" demographic.

I'd happily roll that in if you wanted to add an extension. It'd have to offer a choice of markup languages, and should ideally support some minimal workflow (pending to active). I'd probably see it as being a separate CGI that shared libraries with RubLog, rather than necessarily being part of the same application, but I could be swayed either way.

I'll see what I can do. No guarantees...hell might freeze over before I have time to adopt another project, but it is something that I'd like to see added, and I guess that makes it my responsibility. :slight_smile:

- Jamis

···

On Sep 2, 2004, at 11:21, Jamis Buck wrote:

--
Jamis Buck
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."

dave-

downloaded 0.8.0 from sourceforge (no download on rubyforge?). in any case,
trying to fire it up and getting errors regarding 'require "markup/xxx"'. did
a 'cp -r /usr/local/lib/ruby/1.8./rdoc ./markup' and that has fixed many of
the problems. i'm wondering, however, has the installed directory hierarchy
of rdoc changed, or is this a bug?

btw. so far it seems to run under webrick o.k. - at least i'm getting
something.

-a

···

On Fri, 3 Sep 2004, Dave Thomas wrote:

On Sep 2, 2004, at 11:21, Jamis Buck wrote:

:smiley: Well, if I had shell access to the box on which my blog is
published, your CVS approach would be wonderful. Unfortunately, all I
have is FTP... But wait a minute; am I a Ruby programmer, or aren't I?
:slight_smile: I'm sure I could make it work, for me. My wife, however, would
certainly prefer the web interface to a
text-editor/local-web-server/upload-process approach. It would
certainly make Rublog that much more attractive to the
"non-programming-casual-blogger" demographic.

I'd happily roll that in if you wanted to add an extension. It'd have
to offer a choice of markup languages, and should ideally support some
minimal workflow (pending to active). I'd probably see it as being a
separate CGI that shared libraries with RubLog, rather than necessarily
being part of the same application, but I could be swayed either way.

--

EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
A flower falls, even though we love it;
and a weed grows, even though we do not love it. --Dogen

===============================================================================

James Britt wrote:

Jamis Buck wrote:

:smiley: Well, if I had shell access to the box on which my blog is published, your CVS approach would be wonderful. Unfortunately, all I have is FTP... But wait a minute; am I a Ruby programmer, or aren't I? :slight_smile: I'm sure I could make it work, for me. My wife, however, would certainly prefer the web interface to a text-editor/local-web-server/upload-process approach. It would certainly make Rublog that much more attractive to the "non-programming-casual-blogger" demographic.

Well, what would be handy all around would be a client-side tool that let you edit stuff and then magically FTP|XML-RPC|WebDAV the results to a a server.

Good point. I alwasys forget about XML-RPC and friends... being more-or-less a standard, it should be fairly easy to find editors (or modify editors) that would support functionality to upload your edits directly. In fact, vim has Ruby scriptability...I've never actually used it before, but this might be an instance where such a feature would be REALLY useful. :slight_smile:

When I first started working on Blogtari, I had some Word VBA stuff that would let me edit a post in Word, then upload a plain-text version of the file to the server. (It may have shelled out to a Ruby script someplace in there; I haven't used it in a while, as I now tend to use w.bloggar and Blogtari's XML-RPC to post)

I'll grab Blogtari and give it a spin. If I have time, I may even try to write an XML-RPC process that uploads to an area known to a rublog instance.

Thanks!

···

--
Jamis Buck
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."

Armin Roehrl wrote:

Jamis Buck wrote:

Dave Thomas wrote:

One of the joys (for me) of RubLog is that it understands CVS, so I can edit articles anywhere, and then jut check them in to have them appear. I run Apache on my Powerbiik, with a RubLog pointing to my check-ed out workspace. I edit articles on that machine, and view them inthe local apache. When I'm happy, I do CVS commit, and they're sent to my server, and are published via http://pragprog.com/pragdave\.

:smiley: Well, if I had shell access to the box on which my blog is published, your CVS approach would be wonderful. Unfortunately, all I have is FTP... But wait a minute; am I a Ruby programmer, or aren't I? :slight_smile: I'm sure I could make it work, for me. My wife, however, would certainly prefer the web interface to a text-editor/local-web-server/upload-process approach. It would certainly make Rublog that much more attractive to the "non-programming-casual-blogger" demographic.

I hacked an ugly tiny cgi-script for a friend.
All it does:
it's a form where you enter the text and specify the format.
Then it gets saved on the server where I run rublog.
There is a 2nd cgi-script that allows deleting, editing,
making/deleting categories.

If anybody wants a copy, email me.

I'd like to peek at it. Send it my way, if you wouldn't mind. :slight_smile:

Ciao,
  -A

I always think you're Ara when I see your signature--he signs his name with a lowercase 'a', though, so I guess that's sufficient to tell the two of you apart. :wink:

- Jamis

···

On Sep 2, 2004, at 10:19, Dave Thomas wrote:

--
Jamis Buck
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."

Armin,

You may as well post the script to the list, if it's small enough.
Otherwise, I'll take a gander at it :slight_smile:

-a (not ara OR armin)

···

--
Austin Ziegler * halostatue@gmail.com
               * Alternate: austin@halostatue.ca
: as of this email, I have [ 6 ] Gmail invitations