RejectedSoftware Forums

Sign up

Html includes

Hi,

I'm wondering whether there's support for something similiar to this:
http://www.w3schools.com/angular/angular_includes.asp.

I'm aiming at integrating vibenews with vibelog.

But this would require vibe.d to generate a file that is not proper html, like

example.dt:

div
     div#someentry Here's some style

->

<div><div id="someentry>Here's some style></div></div>

This could then be embedded into any html file.

But what vibe.d currently does is wrapping everything into proper html.

Would there be another approach to integrating vibenews into vibelog?

Re: Html includes

I'm rather new in the area of web development etc.

I guess <embed>/<object> might not be the best option since then the url won't be updated for the user.

So I suppose one would need to include both vibelog and vibenews into one package and start from there!?

Re: Html includes

Managed to get both vibelog and vibenews onto the same URLRouter and launch forum under /forum while the vibelog is reachable under /.
Would be cool to have this kind of building block approach.