I just checked in the suggested template engine, which is used in the layout
page. To use it, you need to define a layout page, which contains a tag
<%content%>. The class zim::Article has in addition to getData a method
getPage, which returns the article embedded into that layout page.
I added a option -p into zimDump to test that feature.
"zimDump -o 12 -d myfile.zim" prints the data from article number 12 and
"zimDump -o 12 -p myfile.zim" prints the data embedded into the layout.
Show replies by thread