You are missing an administrator, or is it just me?


       Ovidio Marinho Falcao Neto
                Web Developer
             ovidio...@gmail.com
          ovidiomari...@itjp.net.br
                 ITJP - itjp.net.br
               83   8826 9088 - Oi
               83   9334 0266 - Claro
                        Brasil




2012/9/7 Martín Mulone <mulone.mar...@gmail.com>

> Yes is based on the book app. I made some changes, in the index I made a
> change that read "extract.markmin" because abstract in info.txt is to short
> in lenght, but I have to render to a file like "chapters" because is to
> slow to read it all the time to make an index of posts. Ok I'm going to
> change this on markmin. Also is not need it for this porpouse to create a
> subfolder, so I create "post-XXX.html" and for index pages "posts-X.html".
> The blog is based on this.
>
>
> 2012/9/7 Massimo Di Pierro <massimo.dipie...@gmail.com>
>
>> +1
>>
>> I see you used some of the book code in the book. In particular you use
>> MARKMIN the way it is done in the book using extra variables. That is ok
>> and it is done for backward compatibility with old book sources which also
>> need to processed in latex. If that is not important there is a batter way
>> to use markmin:
>>
>>
>> from gluon.contrib.autolinks import expand_one
>> html = MARKMIN(page.body,url=True,environment={},
>>                  autolinks=lambda link: expand_one(link,{})).xml()
>>
>> Because url = True you will be able to use the @//// notation to
>> reference any URL in the app. The book code prevents that for backward
>> compatibility.
>>
>> autolinks=lambda link: expand_one(link,{}) enables OMEBED which means if
>> you do not have to markup links. Web2py will automatically embed, images
>> video and other objects using the OEMBED protocol.
>>
>> Massimo
>>
>>
>>
>> On Friday, 7 September 2012 07:01:21 UTC-5, Martin.Mulone wrote:
>>>
>>> http://blog.martinmulone.com.**ar/post/996-static-blog-in-**web2py<http://blog.martinmulone.com.ar/post/996-static-blog-in-web2py>
>>>
>>> --
>>> http://martinmulone.com.ar
>>>
>>  --
>>
>>
>>
>>
>
>
>
> --
> http://martinmulone.com.ar
>
> --
>
>
>
>

-- 



Reply via email to