1
0
Fork
You've already forked worst
0
WebPageGeneration
  • Haskell 100%
Find a file
2014年09月09日 23:32:53 +02:00
Definition.hs filtering empty lines after parsing. Don't know how to integrate this in 2014年09月09日 23:32:53 +02:00
FileName.hs First working version 2014年09月08日 00:10:13 +02:00
LICENSE Initial commit 2014年09月08日 00:10:43 +02:00
README.md slightly improved readme file 2014年09月08日 10:17:49 +02:00
worst.hs First working version 2014年09月08日 00:10:13 +02:00

== WORST -- Webpage ORganisation STyles

A small script to generate repetetive (by structure) pages of non-repetetive Images with texts from a description file.

== Build

$ ghc worst.hs

== Install

(No experiences, try and tell me)

== Usage

Create a template html file including the Strings IMAGE PREV NEXT ALTTEXT PROJTEXT

and a description file, consisting of only semicolon-separated lines like the following

rel-image-path ; previous page ; next page ; alttext for image ; path to file with longer description

you may use <- and -> instead of previous or next page links. They will be filled up by the name of the filename of the file generated by the previous or next line.

Target filenames are made up out of the template file name, where the extension and any occurrence after "template" is dropped and a two-digit number (think "%02d") and ".html" are appended.

$ worst template.html description.txt