Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > hob x 0.2 .. blogink for ample abilities .. come into the arms of..

Reply
Thread Tools

hob x 0.2 .. blogink for ample abilities .. come into the arms of..

 
 
why the lucky stiff
Guest
Posts: n/a
 
      09-10-2004
ok, ruby-talk. enough.

the 1st public officially sealed Hobix has arrived. i've been coding
this thing since april. polishing and polysheeng.

Hobix is a complete blogging system, designed to be managed on the
file system and accessed through a command-line application.
Hobix is centrally powered by Textile, YAML and Ruby.

The command-line application is powered by a complete Ruby library
which
is designed to be fully scriptable and extensible.

Hobix comes with complete documentation in ri. Type: ri Hobix
You'll see a complete overview of classes and some examples.

For help with the commandline: hobix help

here's where you do this:

ruby -ropen-uri -e 'eval(open("http://go.hobix.com/").read)'

ride the automated web gondola. i love you slimy people.

hey, and i say join the Hobix Is The Way mailing list for daily tips and
discussion:
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

i love all slimy people.

_why


 
Reply With Quote
 
 
 
 
Lyle Johnson
Guest
Posts: n/a
 
      09-10-2004
On Sat, 11 Sep 2004 03:13:04 +0900, why the lucky stiff
<(E-Mail Removed)> wrote:

> ride the automated web gondola. i love you slimy people.


Well said. I'm looking forward to trying this out. Would I be correct
to assume that your site (http://whytheluckystiff.net) is also powered
by Hobix?


 
Reply With Quote
 
 
 
 
why the lucky stiff
Guest
Posts: n/a
 
      09-10-2004
Lyle Johnson wrote:

> Well said. I'm looking forward to trying this out. Would I be correct
> to assume that your site (http://whytheluckystiff.net) is also powered
> by Hobix?



Since May, yes.
(http://whytheluckystiff.net/clog/mee...gMyBabies.html)

_why



 
Reply With Quote
 
Vincent Isambart
Guest
Posts: n/a
 
      09-10-2004
I just tried to install hobix and I got the following error when
creating a weblog named 'test' in '~/test-hobix', during the end of the
installation started with ruby -ropen-uri -e
'eval(open("http://go.hobix.com/").read)':
-e:1: /sw/lib/ruby/1.9/fileutils.rb:467:in `mkdir': No such file or
directory - /Users/vincent/test-hobix/entries (Errno::ENOENT)
from /sw/lib/ruby/1.9/fileutils.rb:467:in `_copy_entry'
from /sw/lib/ruby/1.9/fileutils.rb:448:in `copy_entry'
from /sw/lib/ruby/1.9/fileutils.rb:447:in `preserve'
from /sw/lib/ruby/1.9/fileutils.rb:447:in `copy_entry'
from /sw/lib/ruby/1.9/fileutils.rb:372:in `cp_r'
from /sw/lib/ruby/1.9/fileutils.rb:370:in `fu_traverse'
from /sw/lib/ruby/1.9/fileutils.rb:370:in `cp_r'
from /sw/lib/ruby/1.9/fileutils.rb:368:in `fu_each_src_dest'
... 8 levels...
from /sw/lib/ruby/site_ruby/1.9/hobix/commandline.rb:326:in
`setup_blogs'
from (eval):183
from (eval):124:in `each'
from (eval):124
After some checking, I got a directory '~' created where I started the
program P
It contains just an empty directory called test-hobix. I guess it did
not like directory names with '~' in them... I do not know if you can
correct it, but I may not be the only one to enter a directory name
staring with '~'.
When I created a blog with the following command, there was no problem:
hobix create test ~/test-hobix

An other comment: Does it work with webrick? The installation mentions
apache, but does it require it?

Vincent Isambart



 
Reply With Quote
 
trans. (T. Onoma)
Guest
Posts: n/a
 
      09-10-2004
On Friday 10 September 2004 02:13 pm, why the lucky stiff wrote:
> ruby -ropen-uri -e 'eval(open("http://go.hobix.com/").read)'


Scary powerful is the Hobix'.

--
( o _
// trans.
/ \ http://www.velocityreviews.com/forums/(E-Mail Removed)

I don't give a damn for a man that can only spell a word one way.
-Mark Twain


 
Reply With Quote
 
why the lucky stiff
Guest
Posts: n/a
 
      09-10-2004
Vincent Isambart wrote:

> After some checking, I got a directory '~' created where I started the
> program P
> It contains just an empty directory called test-hobix. I guess it did
> not like directory names with '~' in them... I do not know if you can
> correct it, but I may not be the only one to enter a directory name
> staring with '~'.
> When I created a blog with the following command, there was no
> problem: hobix create test ~/test-hobix


Indeed, thankyou, this was a problem. The web installer has been
updated to reflect this fix. Update again with:

ruby -ropen-uri -e 'eval(open("http://go.hobix.com/").read)'

Don't worry. It'll keep your existing configuration.

Also, I've just added `hobix upgrade' which does the above.

> An other comment: Does it work with webrick? The installation mentions
> apache, but does it require it?


Hobix generates static HTML by default, so it'll work with any web server.

For example, here's a WEBrick server which will scan your ~/.hobixrc and
setup a subdirectory for each one.

#!/usr/local/bin/ruby
require 'webrick'
include WEBrick

s = HTTPServer.new(
ort => 2000,
ocumentRoot => Dir:wd + "/htdocs"
)

## mount subdirectories
require 'hobix/config'
require 'hobix/weblog'
config = File.open( File.expand_path( "~/.hobixrc" ) ) { |f|
YAML::load( f ) }
config['weblogs'].each do |name, path|
weblog = Hobix::Weblog.load( path )
s.mount("/#{ name }", HTTPServlet::FileHandler, weblog.output_path)
end

trap("INT"){ s.shutdown }
s.start

So, if you have a blog which you call 'test', it will appear at
http://localhost:2000/test/. In order for this to work right, that URL
needs to be added as the 'link' in that blog's hobix.yaml file.

_why


 
Reply With Quote
 
Marcel Molina Jr.
Guest
Posts: n/a
 
      09-10-2004
On Sat, Sep 11, 2004 at 04:45:53AM +0900, trans. (T. Onoma) wrote:
> On Friday 10 September 2004 02:13 pm, why the lucky stiff wrote:
> > ruby -ropen-uri -e 'eval(open("http://go.hobix.com/").read)'

>
> Scary powerful is the Hobix'.


that is, indeed, a *very* nifty installer...

marcel
--
Marcel Molina Jr. <(E-Mail Removed)>


 
Reply With Quote
 
Mauricio Fernández
Guest
Posts: n/a
 
      09-10-2004
On Sat, Sep 11, 2004 at 03:13:04AM +0900, why the lucky stiff wrote:
> ok, ruby-talk. enough.
>
> the 1st public officially sealed Hobix has arrived. i've been coding
> this thing since april. polishing and polysheeng.
>
> Hobix is a complete blogging system, designed to be managed on the
> file system and accessed through a command-line application.
> Hobix is centrally powered by Textile, YAML and Ruby.


Just RPAfied it, so it's now in the preliminary Ruby Production Archive
(http://rpa-base.rubyforge.org)

The rpafied version solves a minor installation issue: the upstream
installer allows you to select the destination dirs for bin/ and lib/,
but the data files are installed unconditionally under ruby's $prefix.

batsman@tux-chan:~/src/rpa/ports$ rpa update --no-proxy
Getting port info from http://rpa-base.rubyforge.org/ports/ports.info.
100% [========================================] 80450 bytes

Ports added since the last update (in the last 14 days):
hobix 0.2a-1 Flexible generation of static blogs.

batsman@tux-chan:~/src/rpa/ports$ rpa query -x hobix
Matching available ports:
name: hobix
version: 0.2a-1
classification: Top.Application
requires: redcloth
description: Flexible generation of static blogs.

Hobix is a complete blogging system, designed to be managed on the
file system and accessed through a command-line application. It brings
together Textile, YAML and erb to create a powerful system for static
generation of blog sites.

batsman@tux-chan:~/src/rpa/ports$ rpa install hobix
Installing ports
Getting port hobix from http://rpa-base.rubyforge.org/ports/hobix_0.2a-1.rps.
100% [========================================] 30720 bytes
Building hobix (0.2a-1).
Building dependencies redcloth.
Generating RI data files.
Generating RDoc HTML documentation.
Fixed shebang in rpa/tmp/bin/hobix.
Calculating MD5 digests.
Building package in hobix_0.2a-1_i686-pc-linux-gnu.rpa.

================================================== =============================
You might want to run
hobix setup_blogs
now to setup your hobix configuration now.

The documentation is available as
ri-rpa -p hobix Hobix
or in HTML format under $prefix/share/doc/rpa0.0/hobix/rdoc
================================================== =============================

Installing hobix
Reusing cached package /home/batsman/usr/lib/ruby/rpa0.0/packages/hobix_0.2a-1_i686-pc-linux-gnu.rpa.
Installing dependencies redcloth.
Starting lightweight (metadata only) transaction for hobix
Reusing cached package /home/batsman/usr/lib/ruby/rpa0.0/packages/redcloth_2.0.11-2_i686-pc-linux-gnu.rpa.
Package redcloth unchanged.
Checking for file conflicts in hobix.
Starting transaction for hobix
Package /home/batsman/usr/lib/ruby/rpa0.0/packages/hobix_0.2a-1_i686-pc-linux-gnu.rpa unpacked.
Finished transaction for hobix
Starting lightweight (metadata only) transaction for hobix
Finished lightweight (metadata only) transaction for hobix
Finished lightweight (metadata only) transaction for hobix
Committed changes

--
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com



 
Reply With Quote
 
Gavin Sinclair
Guest
Posts: n/a
 
      09-11-2004
On Saturday, September 11, 2004, 6:43:08 AM, Marcel wrote:

> On Sat, Sep 11, 2004 at 04:45:53AM +0900, trans. (T. Onoma) wrote:
>> On Friday 10 September 2004 02:13 pm, why the lucky stiff wrote:
>> > ruby -ropen-uri -e 'eval(open("http://go.hobix.com/").read)'

>>
>> Scary powerful is the Hobix'.


> that is, indeed, a *very* nifty installer...


Let's hope _why's site doesn't get hacked. Wouldn't want to eval
something nasty!

Gavin





 
Reply With Quote
 
Stefan Schmiedl
Guest
Posts: n/a
 
      09-11-2004
On Sat, 11 Sep 2004 04:48:51 +0900,
why the lucky stiff <(E-Mail Removed)> wrote:
>
> Indeed, thankyou, this was a problem. The web installer has been
> updated to reflect this fix. Update again with:
>
> ruby -ropen-uri -e 'eval(open("http://go.hobix.com/").read)'
>


Maybe I deserve this for using a CVS version, but I can't create
a new blog here:

$ ruby -v
ruby 1.9.0 (2004-09-10) [i686-linux]

.....
The default blog is available in the following modes:
apache1-ssi, apache2-ssi

Mode: [Enter for none]
/usr/local/lib/ruby/1.9/rexml/parsers/treeparser.rb:1:in `require': No
such file to load -- rexml/validation/validationexception (LoadError)
from /usr/local/lib/ruby/1.9/rexml/parsers/treeparser.rb:1
from /usr/local/lib/ruby/1.9/rexml/document.rb:12:in `require'
from /usr/local/lib/ruby/1.9/rexml/document.rb:12
from /usr/local/lib/ruby/site_ruby/1.9/hobix/out/rss.rb:18:in
`require'
from /usr/local/lib/ruby/site_ruby/1.9/hobix/out/rss.rb:18
from /usr/local/lib/ruby/site_ruby/1.9/hobix/base.rb:38:in
`require'
from /usr/local/lib/ruby/site_ruby/1.9/hobix/base.rb:38:in
`start'
from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:280:in
`start'
from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:279:in
`each'
from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:279:in
`start'
from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:287:in
`load'
from
/usr/local/lib/ruby/site_ruby/1.9/hobix/commandline.rb:161:in
`join_as_author'
from
/usr/local/lib/ruby/site_ruby/1.9/hobix/commandline.rb:137:in
`create_weblog'
from /usr/local/bin/hobix:41:in `call'
from /usr/local/bin/hobix:41

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Usually are Toned Pouches Massive Ample For that Necessities cygkfyry Computer Support 0 08-22-2012 12:37 PM
Windows ME EMachine Limiting Image Saving Abilities Carol A Computer Support 6 07-19-2005 02:17 PM
Monitor's abilities? js5895 Computer Support 1 05-03-2005 12:08 AM
hobix 0.3 .. the white pantsuit of blogink why the lucky stiff Ruby 3 10-06-2004 08:37 PM
DataGrid abilities Paul K ASP .Net 1 11-21-2003 02:28 PM



Advertisments