darioteixeira / lambdoc

Lambdoc is a library providing support for semantically complex documents in Ocsigen web applications
GNU General Public License v2.0
17 stars 1 forks source link

"Blog mode" ? #8

Open Drup opened 9 years ago

Drup commented 9 years ago

Is a "Blog mode" planned ? It seems to me not much is missing. As far as I can tell, it needs :

Now I wonder if pluging with stog wouldn't be a good idea. lambdoc does the markup side of things much better, but stog does the whole blog integration nicely.

darioteixeira commented 9 years ago

I think the functionality you have in mind is out of scope for Lambdoc. As you mentioned, it would indeed be trivial to build a simple blogging engine around Lambdoc, but I reckon that should be a separate project.

Drup commented 9 years ago

I never said it was trivial, only that few things were missing :D

But I agree, it deserves to be separated. I may need to make some patches against lambdoc (for template integration in particular).

darioteixeira commented 9 years ago

I'm not sure I'm following what you mean by template integration. Do you mean a Lambdoc output according to the conventions of some third-party template?

Drup commented 9 years ago

let's imagine my templates implement a toc as a side panel. It means the template needs additional informations than just the complete page.

darioteixeira commented 8 years ago

let's imagine my templates implement a toc as a side panel. It means the template needs additional informations than just the complete page.

The type of a valid Lambdoc document (see module Lambdoc_core_valid) includes a field toc with the Table of Contents. This may be enough for your needs, right?