If you dislike using WikiWords and would prefer to explicitly create
links to wiki pages, look at the following def:
def self.find(text)
(text.scan(/[^\\\\]\b([A-Z][a-z]+[A-Z]\w+)\b/) <<
text.scan(/\[\[(\w+)\]\]/)).flatten.uniq.
collect { |wiki_word| wiki_word.strip }
end
This replaces the definition in apps/models/wiki_words.rb. It enables
you to use both WikiWords and the linking style (e.g. [[a page]]) used
in places like Wikipedia. You can use one or the other if you'd like.
Hope this is useful
Bill Atkins
David Heinemeier Hansson <david / loudthinking.com> wrote in message news:<054669D2-8F29-11D8-9F32-000A958E6254 / loudthinking.com>...
> What's new in Instiki 0.6.0?
> ============================
>
> Instiki is back on fork-challenged platforms (hello Windows!) after a
> short hiatus in the 0.5 release. It now also properly snapshots the
> Madeleine database when running in Daemon mode. So hopefully we should
> be working all around.
>
> More interestingly, there's a bunch of cool new features in Instiki.
> You can export the entire web to HTML files that come bundled in a
> pkzip (thanks rubyzip!), which works great for taking backups or
> distributing a wiki. It's also a half-decent CMS this way that you can
> use to write documentation to all of those wonderful Ruby projects.
>
> There's also RSS feeds. Two flavors: Full content or just the
> headlines. Unfortunately, there's a few problems with international
> characters like æåthat'll render the XML invalid (so readers like
> FeedReader chokes). Any help to get that working properly will be much
> appriciated.
>
> And thanks a ton to both Florian for a bunch of great patches and to
> Why The Lucky for keeping RedCloth running at full force.
>
> Full change list:
>
> * Fixed Windows compatibility [Florian]
> * Fixed bug that would prevent Madeleine from taking snapshots in
> Daemon mode
> * Added export entire web as HTML in a zip file
> * Added RSS feeds
> * Added proper getops support for the growing number of options
> [Florian]
> * Added safe mode that forbids style options in RedCloth [Florian]
> * Updated RedCloth to 2.0.5
>
> Upcoming features (near- and far-future stuff mixed together):
>
> * Michael Granger is looking into getting Instiki running on BlueCloth
> -- the Markdown syntax implementation for Ruby.
> * Polish. Lots of stuff in the backlog that needs polish.
> * Colors! Each web should get it's own color.
> * More exporting features (fx: straight to FTP).
> * Dual-view wikis where an admin team can edit and everyone else see
> the export version with no edit links (but they can still search). This
> will really turn Instiki into something that could be used as a quick
> CMS.
> * Download the entire app and database and work on an instiki at home
> and then sync the changes back in.
>
> Instiki is running its official website on Instiki itself:
> http://instiki.nextangle.com
>
>
> What is Instiki?
> ================
>
> Admitted, it's Yet Another Wiki Clone[1], but with a strong focus
> on simplicity of installation and running:
>
> Step 1. Download
> Step 2. Run "instiki.rb"
> Step 3. *Chuckle*... "There's no step three!" (TM)
>
> You're now running a perfectly suitable wiki on port 2500
> that'll present you with a textarea for the home page on
> http://localhost:2500.
>
> Instiki lowers the barriers of interest for when you might consider
> using a wiki. It's so simple to get running that you'll find yourself
> using it for anything -- taking notes, brainstorming, organizing a
> gathering.
>
> Instiki reserves a separate WikiSpace for each port number, so
> you can run more than one wiki by keeping them on separate ports.
> It also means that you can't access the same wiki on another port
> than the one you started it on (unless you move the directory in
> storage).
>
> Features:
> * Regular expression search: Find deep stuff really fast
> * Revisions: Follow the changes on every page from birth. Rollback to
> an earlier rev
> * Export to HTML in a zip: Take the entire wiki with you home or for
> reference
> * RSS feeds to track recently revised pages
> * Multiple webs: Create separate wikis with their own namespace
> * Password-protected webs: Keep it private
> * Authors: Each revision is associated with an author, so you can see
> who changed what
> * Reference tracker: Which other pages are pointing to the current?
> * Speed: Using Madelein for persistence (all pages are in memory)
> * Textile formatting[2]: By ways of RedCloth
> * Embedded webserver: Through WEBrick
>
> Missing:
> * File attachments
>
> Command-line options:
> Run "ruby instiki.rb --help"
>
> History:
> * 0.6.0: Fixed Windows compatibility [Florian]
> Fixed bug that would prevent Madeleine from taking snapshots
> in Daemon mode
> Added export entire web as HTML in a zip file
> Added RSS feeds
> Added proper getops support for the growing number of options
> [Florian]
> Added safe mode that forbids style options in RedCloth
> [Florian]
> Updated RedCloth to 2.0.5
> * 0.5.0: NOTE: 0.5.0 is NOT compatible with databases from earlier
> versions
> Added revisions
> Added multiple webs
> Added password protection for webs on multi-web setups
> Added the notion of authors (that are saved in a cookie)
> Added command-line option for not running as a Daemon on Unix
> * 0.3.1: Added option to escape wiki words with \
> * 0.3.0: Brought all files into common style (including Textile help on
> the edit page)
> Added page locking (if someone already is editing a page
> there's a warning)
> Added daemon abilities on Unix (keep Instiki running after you
> close the terminal)
> Made port 2500 the default port, so Instiki can be launched by
> dobbelt-click
> Added Textile cache to speed-up rendering of large pages
> Made WikiWords look like "Wiki Words"
> Updated RedCloth to 2.0.4
> * 0.2.5: Upgraded to RedCloth 2.0.2 and Madeleine 0.6.1, which means the
> Windows problems are gone. Also fixed a problem with wikiwords
> that used part of other wikiwords.
> * 0.2.0: First public release
>
> Download latest from:
> <a
> href="http://rubyforge.org/project/showfiles.php?group_id=186">http://
> rubyforge.org/project/showfiles.php?group_id=186</a>
>
> Visit the official Instiki wiki:
> http://instiki.nextangle.com/
>
> License is the same as Ruby's
>
> [1] <a
> href="http://c2.com/cgi/wiki?WikiWikiClones">http://c2.com/cgi/wiki?
> WikiWikiClones</a>
> [2] Textile Syntax: <a
> href="http://www.textism.com/tools/textile/">http://www.textism.com/
> tools/textile/</a>