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