Ruby blog software.

D

Dave Thomas

:D 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?
:) 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.


Cheers

Dave
 
J

Jamis Buck

Dave said:
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. :)

- Jamis

--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis

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

Chad Fowler

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

Same here, in general, though I kind of like the Wiki-as-blog-editor notion.
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.


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
 
A

Ara.T.Howard

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.

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
--
===============================================================================
| 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
===============================================================================
 
A

Austin Ziegler

You'll need to get the CVS tarball from RubyForge; Dave hasn't made a
release in a while. :)

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.

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
--
===============================================================================
| 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
===============================================================================
 
D

Dave Thomas

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?

The sourceforge project is seriously out of date, but they won't let me
delete it. Use the CVS version on RubyForge.

At some point I'll put together a file release there, but in the
meantime the CVS one is stable (it's what I use for my blog)


Cheers

Dave
 
J

James Britt

Jamis said:
:D 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? :) 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
 
A

Armin Roehrl

Jamis said:
:D 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?
:) 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
 
J

Jamis Buck

James said:
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. :)
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
(e-mail address removed)
http://www.jamisbuck.org/jamis

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

Jamis Buck

Hans said:
I hope I don't come across as a heretic, and I will say up front that I
haven't tried any of the ruby blogs.

I looked at a few blogs and balked at the incredible effort that they
took to set up and configure. Then somehow I stumbled on blosxom (I
think the article in LinuxJournal). It is perl, yes. But from the user's
standpoint it is very pragmatic. Each entry is a text file in a
directory; you edit things with your favorite text editor. With the
easy-to-install Markdown plugin blogging is pure joy.

Hans, I'm disappointed in you! Perl?! ;) No, I'm kidding -- if it works
for you, then that's all that matters. I may take a peek at blosxom
myself, now that you mention it.
There's a lot of plugins to add all sorts of functionality but frankly
I'm not sure I'm convinced it would scale well to a huge feature-rich
blog. I don't want that, though, I wanted something simple and quick and
no-hassle, and blosxom was just that and also a breath of fresh air.

I prefer textile to markdown, but it sounds like there may already be a
plugin for that... I'll take a peek anyway.

Thanks, Hans!

--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis

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

Jamis Buck

Armin said:
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. :)

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. ;)

- Jamis

--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis

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

Austin Ziegler

I hope I don't come across as a heretic, and I will say up front that I
haven't tried any of the ruby blogs.
I looked at a few blogs and balked at the incredible effort that they
took to set up and configure. Then somehow I stumbled on blosxom (I
think the article in LinuxJournal). It is perl, yes. But from the user's
standpoint it is very pragmatic. Each entry is a text file in a
directory; you edit things with your favorite text editor. With the
easy-to-install Markdown plugin blogging is pure joy.

This is more or less how RubLog works, except that there's multiple
converters (Markdown, RDoc, HTML, and Text).

-austin
 
A

Austin Ziegler

Armin,

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

-a (not ara OR armin)
 
W

William Morgan

Excerpts from James Britt's mail of 2 Sep 2004 (EDT):
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.

Emacs has ange-ftp mode, which lets you treat remote ftp servers as if
they were local directories. (Also see tramp mode if you want scp/rcp
instead of ftp.) Not exactly what you want, perhaps, but maybe close.
 
F

Frederick Ros

Hans said:
I looked at a few blogs and balked at the incredible effort that they
took to set up and configure. Then somehow I stumbled on blosxom (I
think the article in LinuxJournal). It is perl, yes. But from the user's
standpoint it is very pragmatic. Each entry is a text file in a
directory; you edit things with your favorite text editor. With the
easy-to-install Markdown plugin blogging is pure joy.

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.
 
P

Paul Duncan

--Cy+5HEalSgyXkpVS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Jamis Buck ([email protected]) said:
Gavin Sinclair wrote: [snipped]
That's why I commonly use http://mozex.mozdev.org to edit web page
textareas using vim!
=20
Gah! Where has this BEEN all my life?!? Thanks for pointing it out,=20
Gavin! :)

What he said, only with more exclamation points and a :D.
- Jamis
=20
--=20
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis
=20
"I use octal until I get to 8, and then I switch to decimal."
=20

--=20
Paul Duncan <[email protected]> pabs in #ruby-lang (OPN IRC)
http://www.pablotron.org/ OpenPGP Key ID: 0x82C29562

--Cy+5HEalSgyXkpVS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBOMNPzdlT34LClWIRAvuVAKCLuT5sH1K5V5Fb9W72w1gAkCv9PwCePmPt
WqcZfU8LyrQUk2xtjErUo7o=
=YGF4
-----END PGP SIGNATURE-----

--Cy+5HEalSgyXkpVS--
 
L

Lloyd Zusman

Armin Roehrl said:
[ ... ]

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

I would love to see these tiny cgi scripts. Thank you very much!

Sincerely,

- Lloyd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,249
Members
46,847
Latest member
FlorrieSha

Latest Threads

Top