Re: [blohg] Is it possible to serve html file directly?
- 2012-05-26 @ 07:01
Great! I can then archive some data, e.g. my publications into a database.
I am looking forward to that.
2012/5/25 Rafael Martins <email@example.com>
> On Fri, May 25, 2012 at 11:37 AM, 刘一新 <firstname.lastname@example.org> wrote:
> > Hi, all
> > blohg is based on Flask. So I wonder if it is possible to serve .py file
> > html file directly?
> > Cheers!
> > BTW, I've asked ry4an if he can add :math: role for inline math that uses
> > Google Chart Api. Anyone interested?
> > --
> > Yi-Xin Liu, PHD
> > Department of Macromolecular Science
> > Fudan University
> > Room 415, Yuejing Building
> > Handan Rd. 220, Shanghai, China
> > Tel +86-021-65642863
> > Mobile +86-13916819745
> > http://www.polymer.fudan.edu.cn/show.aspx?info_lb=20&info_id=752&flag=1
> > https://bitbucket.org/liuyxpp/
> > http://www.mendeley.com/profiles/yi-xin-liu/
> This isn't currently supported.
> I'm working on plugins support for blohg, that would allow you to
> attach any custom python code (flask routes included) in blohg.
> Take a look at the 'plugins' branch of the mercurial repo:
> This isn't going to be released any time soon, because it is pretty
> unstable yet, undocumented and depends on flask 0.9 that isn't
> released yet.
> Best regards,
> Rafael Goncalves Martins
*Yi-Xin Liu, PHD*
*Department of Macromolecular Science*
*Room 415, Yuejing Building *
*Handan Rd. 220, **Shanghai, China*