[Erlyaws-list] Write rendered EHTML to file

Rapsey <>
Mon Jul 5 12:21:03 CEST 2010


Call the ehtml functions in yaws_api directly to convert ehtml to iolist.
yaws_api:ehtml_expand(EHTML) should be the right one I think.


Sergej

On Mon, Jul 5, 2010 at 11:58 AM, Branko Vukelic <> wrote:

> Hi,
>
> Is there a way to write rendered EHTML to a file instead of returning it?
>
> What I'm trying to do is to make a appmod for generating static HTML
> pages based on user input that will be placed in a directory that is
> served as a regular static site.
>
> Thanks,
>
> --
> Branko Vukelić
>
> 
> 
>
> Check out my blog: http://www.brankovukelic.com/
> Check out my portfolio: http://www.flickr.com/photos/foxbunny/
> Registered Linux user #438078 (http://counter.li.org/)
> I hang out on identi.ca: http://identi.ca/foxbunny
>
> Gimp Brushmakers Guild
> http://bit.ly/gbg-group
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Erlyaws-list mailing list
> 
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list
>


More information about the erlang-questions mailing list