Re: [web2py] Re: static blog

2012-09-08 Thread Andrew W
Thanks. That would be great. On Saturday, September 8, 2012 8:31:16 AM UTC+12, Massimo Di Pierro wrote: Yes. I will post the script soon. I need to fix it because I changed the markmin syntax of links so my previous script broke. On Friday, 7 September 2012 14:58:06 UTC-5, Andrew W wrote:

[web2py] Re: static blog

2012-09-07 Thread Massimo Di Pierro
+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

Re: [web2py] Re: static blog

2012-09-07 Thread Martín Mulone
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

Re: [web2py] Re: static blog

2012-09-07 Thread Ovidio Marinho
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

Re: [web2py] Re: static blog

2012-09-07 Thread Martín Mulone
I'm not sure if I understand, there no admin, you make post copying and pasting new folder under source_blog in the app, and editing files using your favorite editor like gedit, ultraedit, any ide, etc. 2012/9/7 Ovidio Marinho ovidio...@gmail.com You are missing an administrator, or is it just

Re: [web2py] Re: static blog

2012-09-07 Thread Andrew W
Good work Martin, I was thinking of looking at the book app for the same purpose. I want to document some Disaster Recovery procedures, so I therefore also need to create a PDF version as well. Do you think the book app vs auth.wiki() is better (easier?) for generating PDFs.? So many

Re: [web2py] Re: static blog

2012-09-07 Thread Martín Mulone
book app and this are static generation of the content, focus on lightweight aproach. Auth.wiki is all included is a cms, auth, edit create, delete system grid, etc. I think you can render a pdf with no problem from markmin. 2012/9/7 Andrew W awillima...@gmail.com Good work Martin, I was

Re: [web2py] Re: static blog

2012-09-07 Thread Massimo Di Pierro
If you use: from gluon.contrib.autolinks import expand_one html = MARKMIN(page.body,url=True,environment={}, autolinks=lambda link: expand_one(link,{})).xml() embedding in markmin any link to a public document (pdf, doc, docx, xls, etc.) will call google doc viewer and embed

Re: [web2py] Re: static blog

2012-09-07 Thread Andrew W
Thanks. My intention is to make , and print, a PDF of the markmin content, just like the book. For disaster recovery doco, I want a hard copy. With the new book app, are you still planning to have available a PDF from the files? --

Re: [web2py] Re: static blog

2012-09-07 Thread Massimo Di Pierro
Yes. I will post the script soon. I need to fix it because I changed the markmin syntax of links so my previous script broke. On Friday, 7 September 2012 14:58:06 UTC-5, Andrew W wrote: Thanks. My intention is to make , and print, a PDF of the markmin content, just like the book. For