Incredible, this saves a lot of features development in pyodel. I was very 
worried on how to provide video streamming with rbac in the elearning 
plugin. The new changes should make it very easier. I'll try the changes as 
soon as possible.

Thanks

El domingo, 19 de agosto de 2012 20:45:34 UTC-3, Massimo Di Pierro escribió:
>
> ...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