Wiki links in Pebble

Linking to Pebble static pages using wiki links

I'm cramming in a few minor enhancements before the Pebble 1.9 release, one of which relates to using the RadeoxDecorator. To recap, you can wrap wiki-style content within <wiki>...</wiki> and have the decorator render that content as if you were writing a wiki page. This is all courtesy of the marvelous Radeox library. Anyway, the feature that's been missing is the ability to link together content using wiki links, but this has now been added.

To illustrate, this content...

<wiki>
Here is a link to my [books] and here is a link to my [articles].
</wiki>

...renders as this, assuming that the books page exists and the articles page doesn't.

Wiki links in Pebble

The books link takes you straight to the static page, while the articles link lets you add a new page as you'd expect from a wiki. Of course, you are prompted to login if you are not already. Just to add a disclaimer, the included implementation will only allow you to link to static pages, although there's nothing stopping anybody building a more complex decorator that can link between blog entries too.

In summary, some of the simplicity of wikis just got applied to Pebble static pages. :-)



Apostrophes in trackbacks

Hey Simon, I left a trackback to this post from WordPress. In my WordPress post, I used an apostrophe in the excerpt. That apostrophe is not showing up right in Pebble in the trackback comment...showing up as "&#8217". Is this a Pebble issue or Wordpress problem?

Apostrophes in trackbacks

I've run a few tests and certainly Pebble to Pebble TrackBacks seem okay - here's an example. Is that character just a normal apostrophe or was it a Microsoft smart quote or something?

Apostrophes in trackbacks

Oh, and here's a TrackBack from Movable Type.

Re: Wiki links in Pebble

Is there also a possibility to generate DIFF's in Pebble? This feature is provided in most wiki's and is very usefull when comparing the contents of the different updates of a post.

Re: Wiki links in Pebble

I had to add pebble.decorator.RadeoxDecorator to my list of Blog Entry Decorators, restart, then it looked good. Can we alter the default blog entry template, so that I can have 'wiki' tags instead of the 'p' tags? Rather than having to go to template, then picking an alternate...

Re: Wiki links in Pebble

Perhaps a default template would be a good idea.

Pebble plus Wiki

What’s the difference between a Wiki, blog, and forum? ...

I Want One

Wiki links feature will be a welcome addition to Pebble. Thanks Simon.

Add a comment Send a TrackBack