Ah, that's kind of cool for converting a whole pier content to static
files, but my needs are more modest -- just converting one wiki page
to an html string. Lukas' suggestion was pretty easy to get working.
Also easily created a PRComment with markup of '//' to enable
embedding comments into the wiki code. It's nice how easy it is to
extend; will have find more time to experiment!
Brian.
On Sep 18, 2007, at 9:43 AM, Damien Pollet wrote:
On 18/09/2007, Brian Murphy-Dye
<brian(a)murphydye.com> wrote:
Cwd appears to be a global intended to be the
current working
directory, but FileDirectory doesn't have a #/ method. Any hints on
what Cwd is?
That's Rio, also available from SqueakSource.
It's a library for files inspired from Ruby.
On Sep 18, 2007, at 2:34 AM, Damien Pollet
wrote:
On 18/09/2007, Lukas Renggli
<renggli(a)iam.unibe.ch> wrote:
> Is there a way to translate a Pier document
to html? For example,
This only works as long as you don't have anchors and other
interactions that require a full Seaside renderer. If you need a
more
sophisticated plain HTML renderer, then it is probably worth to
write
your own Visitor class.
Hi Brian,
Last year ond of our students did precisely that as a project. Have
a look at
http://www.squeaksource.com/StaticPierGen.html
--
Damien Pollet
type less, do more [ | ]
http://typo.cdlm.fasmz.org
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Damien Pollet
type less, do more [ | ]
http://typo.cdlm.fasmz.org
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki