[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-dev
Subject:    Re: [xml-dev] static site generators
From:       Benito van der Zander <benito () benibela ! de>
Date:       2017-01-14 22:30:38
Message-ID: c2198cee-838c-3c3c-438a-a87635143521 () benibela ! de
[Download RAW message or body]

Hi,

I use XQuery as  generator for my homepage.

An XQuery query behaves exactly like a site template: 
https://github.com/benibela/site/blob/master/style.xq.html

The content can be stored in XML files and each evaluation of the query 
returns an HTML page. Just some glue (an eval extension) is needed to 
load the XML before evaluating the query, because when the XML is loaded 
in XQuery, the query won't look like a HTML template.

Best,
Benito



On 01/14/2017 06:08 PM, Lucas Vogel wrote:
> One thing I've noticed a big uptick in lately are static site generators, where you \
> use a CLI app to create a site template and you use the tool features (typically \
> the language features the CLI was written in) to put the site elements (themes, \
> templates, content, etc.) together, and then use the tool to compile, deploy and \
> host the site itself. You can find a list of them by popularity rankings here: \
> https://www.staticgen.com/ If you look at the site generators, you see them written \
> in Javascript, Go, .NET, PHP, Python; even bash and awk have a couple. But only one \
> (Stog) have anything to do with XML. 
> Does anyone know of any static site generators written around the XML format? I \
> know of one on the .NET side for product documentation (Sandcastle) but it's \
> increasingly becoming an obsolete framework (mainly because of the awful tags \
> Microsoft put into its MAML markup language). Are there any others out there? 
> _______________________________________________________________________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


[Attachment #3 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
    <div id="smartTemplate4-template">Hi,<br>
      <br>
      <p>I use XQuery as  generator for my homepage.<br>
      </p>
      An XQuery query behaves exactly like a site template:
      <a class="moz-txt-link-freetext" \
href="https://github.com/benibela/site/blob/master/style.xq.html">https://github.com/benibela/site/blob/master/style.xq.html</a><br>
  <br>
      The content can be stored in XML files and each evaluation of the
      query returns an HTML page. Just some glue (an eval extension) is
      needed to load the XML before evaluating the query, because when
      the XML is loaded in XQuery, the query won't look like a HTML
      template.<br>
      <br>
      Best,<br>
      Benito </div>
    <br>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01/14/2017 06:08 PM, Lucas Vogel
      wrote:<br>
    </div>
    <blockquote
cite="mid:SN1PR11MB0400F1C5814D04FCE0CE0E68F17B0@SN1PR11MB0400.namprd11.prod.outlook.com"
  type="cite">
      <pre wrap="">One thing I've noticed a big uptick in lately are static site \
generators, where you use a CLI app to create a site template and you use the tool \
features (typically the language features the CLI was written in) to put the site \
elements (themes, templates, content, etc.) together, and then use the tool to \
compile, deploy and host the site itself. You can find a list of them by popularity \
rankings here: <a class="moz-txt-link-freetext" \
href="https://www.staticgen.com/">https://www.staticgen.com/</a> If you look at the \
site generators, you see them written in Javascript, Go, .NET, PHP, Python; even bash \
and awk have a couple. But only one (Stog) have anything to do with XML. 

Does anyone know of any static site generators written around the XML format? I know \
of one on the .NET side for product documentation (Sandcastle) but it's increasingly \
becoming an obsolete framework (mainly because of the awful tags Microsoft put into \
its MAML markup language). Are there any others out there? 

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: <a class="moz-txt-link-freetext" \
href="http://www.oasis-open.org/mlmanage/">http://www.oasis-open.org/mlmanage/</a> Or \
unsubscribe: <a class="moz-txt-link-abbreviated" \
                href="mailto:xml-dev-unsubscribe@lists.xml.org">xml-dev-unsubscribe@lists.xml.org</a>
                
subscribe: <a class="moz-txt-link-abbreviated" \
href="mailto:xml-dev-subscribe@lists.xml.org">xml-dev-subscribe@lists.xml.org</a> \
List archive: <a class="moz-txt-link-freetext" \
href="http://lists.xml.org/archives/xml-dev/">http://lists.xml.org/archives/xml-dev/</a>
 List Guidelines: <a class="moz-txt-link-freetext" \
href="http://www.oasis-open.org/maillists/guidelines.php">http://www.oasis-open.org/maillists/guidelines.php</a>
 </pre>
    </blockquote>
    <br>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic