I just gave it a try and it didnt work as stated. 
In  my index.py file I have the return auth.wiki() directive there but 
whenever I try to view the page I get a login page and after that a 401 
unauthorized error.

On Monday, August 20, 2012 12:45:34 AM UTC+1, Massimo Di Pierro wrote:
>
> ...this is now a core web2py feature. Give it a try:
>
> 1) create a new app
> 2) edit default.py so that
>
>    def index(): return auth.wiki()
>
> 3) navigate to http://..../yourappname
>
> As you can see you have a wiki. Pages have permissions (group that can 
> read, groups that can write, tags, and corresponding menu items). Each page 
> has associated media files (accessible if you have permission to access the 
> page).
>
> It understands the oembed protocol. If you just type the link of a youtube 
> page, it embeds the video for example.
>
> wiki media are embedded with @////5/slug.jpg where 5 is the id of the 
> media file. 
>
> You can embed components with @{component:controller/function/args) -> 
> LOAD('controller','function',args=args)
> (not sure about this syntax, may still change it)
>
> You can make multiple users groups wiki_editor and wiki_author. You can 
> force authors to create pages with a prefix which is their username.
>
>     def index(): return auth.wiki(force_prefix='%(username)s')
>
> The plan is to deprecate plugin_wiki since this handles most of it and 
> better.
>
> Give it a try.
>

-- 



Reply via email to