The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Great Soks!! AutomaticSummary Is Cool!!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Great Soks!! AutomaticSummary Is Cool!! Posted: Jan 12, 2005 2:13 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Great Soks!! AutomaticSummary Is Cool!!
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Hey, imagine if you could do this with your wiki: Create new RecentChanges-style pages with custom criteria. Something like:

 # Automatically generated summary of new 
 # pages whose title starts with 'blog'
 AutomaticSummary.new( wiki,
   :regexp_for_pages => /^NBlog/i,
   :max_pages_to_show => 10,
   :pagename => 'Recent Blog Entries',
   :only_new_pages => true
 )

Yeah, well, this works in Soks. I tried to hack this into Instiki and it exploded and flew outta my hands. (Bonus: there’s a gross exaggeration in this paragraph. See if you can find it!)

 gem install soks
 cd /var/www
 soks-create-wiki.rb  # runs WEBrick

You can then edit the settings of soks-wiki/start.rb to your hostname and authentication scheme. Then, run soks-wiki/start.rb and be off.

Read: Great Soks!! AutomaticSummary Is Cool!!

Topic: Jamis Buck is working on Basecamp Previous Topic   Next Topic Topic: Nicholas presents the Directors

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use