Rublog questions

H

Hal Fulton

I probably "just don't get it" yet. So feel free to say,
"You don't want to do that" (but defend your answer).

I'm curious to know whether there's a way to "turn off"
the automatic inclusion of every new entry at the top
level.

For example, suppose I want to have sections that are
reviews of books, movies, and concerts; but I don't
want these to appear in the "main" part. I want to keep
the main area for my news, rants, and musings.

C'est possible?

Also, is it possible to sort the section entries other
than alphabetically? Or make it optional, by the user
clicking on a link?


Hal
 
C

Chris Morris

Hal said:
So feel free to say,
"You don't want to do that" (but defend your answer).

You don't want to do that.

You want to use my clWiki with it's blog interface. You can see mine in
action here:

- default blog view: http://www.clabs.org/blogki/blogki.cgi
- wiki front page: http://www.clabs.org/blogki/blogki.cgi?page=/FrontPage

Only pages with a custom definable tag like <pubxxx> at the top will
show in the blog/rss.

That's what you want to do.

Dave would agree**

** (not really)
 
D

Dave Thomas

I probably "just don't get it" yet. So feel free to say,
"You don't want to do that" (but defend your answer).

I'm curious to know whether there's a way to "turn off"
the automatic inclusion of every new entry at the top
level.

You clearly want to do that.

You'd need to write your own handlers to do it (it's possible, because
they're pluggable)

But it really sounds like you need a wiki. (Or Chris' bliki)

Cheers

Dave
 
C

Chris Morris

Chris said:
That's what you want to do.

Dave would agree**

** (not really)

I meant to smiley face that -- it was funny (most assuredly only to me)
when I wrote it 'cuz Dave tried to talk me into contributing to his
Rublog, but I stubbornly went on with mine :)

Now, if you'd like to work with some good code, I'd have to recommend
Rublog over mine. I cut my Ruby teeth with my wiki and seem to have bled
all over the place.
 
C

Carsten Eckelmann

Hal said:
...
For example, suppose I want to have sections that are
reviews of books, movies, and concerts; but I don't
want these to appear in the "main" part. I want to keep
the main area for my news, rants, and musings.
...

Hal, I'm with you.
I would like to have the same feature in rublog. The reason for me to
not use a wiki is, that I find the 'article' style of a blog just more
appealing.
So how could one go about to implement it? To write a handler for it
would mean, that rublog somehow can tell the difference between an
article that can go on the front page and a 'hidden' article. For what I
know about rublog, handlers are called according to filename suffix,
which is not a good idea for what we want. So should the 'hidden'
article be in a special directory which can be configured in rublog.cgi?
Or should there be a special marker in the first line? I have yet no
good idea of how to do it.

Cheers,

Carsten.
 
D

Dave Thomas

I would like to have the same feature in rublog. The reason for me to
not use a wiki is, that I find the 'article' style of a blog just more
appealing.
So how could one go about to implement it? To write a handler for it
would mean, that rublog somehow can tell the difference between an
article that can go on the front page and a 'hidden' article. For what
I know about rublog, handlers are called according to filename suffix,
which is not a good idea for what we want.

Rublog also has a (currently commented out) feature called filters,
which Martin Fowler and I worked on earlier this year. The idea was to
allow you to write plug-in filters that limit the set of pages
displayed. These would probably do what you wanted.

It also has an index page facility: if a directory has a file called
[Ii]ndex.xxx, that it is displayed, rather that the files in that
directory. That's how I do

http://pragprog.com/pragdave/Practices/Kata


Perhaps these two features might help

Cheers

Dave
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top