diff --git a/Makefile b/Makefile index 6982bfb60..500c4515f 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,14 @@ STYLE_RSS=xsl/rss.xsl NAVIGATION=content/navigation.xml # XML-Skeletons SKELETONS:=$(wildcard content/skel-*.xml) -SKEL=empty +SKEL:=empty # Zu verwendendes Skeleton SKELFILE=content/skel-$(SKEL).xml # Dateinamen der Inhalte: -CONTENT:=$(patsubst content/%.xml, www/%.html, $(filter-out $(NAVIGATION) $(SKELETONS), $(wildcard content/*.xml))) -CLEAN:=$(CONTENT) www/news-rss.xml chaosupdates.rdf +CONTENT=$(PAGES) www/news.html #www/news-rss.xml +PAGES:=$(patsubst content/%.xml, www/%.html, $(filter-out $(NAVIGATION) $(SKELETONS), $(wildcard content/*.xml))) +NEWSITEMS:=$(wildcard content/news/*.xml) +CLEAN:=$(CONTENT) www/news.html www/news-rss.xml chaosupdates.rdf ### Defaults ### .PHONY: contents clean @@ -30,10 +32,17 @@ CLEAN:=$(CONTENT) www/news-rss.xml chaosupdates.rdf contents: $(CONTENT) -#www/news-rss.xml - - ### Regeln für den XSLT-Prozess ### +www/news.html: $(NEWSITEMS) $(STYLE) $(NAVIGATION) + { echo '' ; \ + echo ""; \ + echo " "; \ + for item in $^ ; do \ + echo " $${item}"; \ + done; \ + echo " "; \ + echo ""; } | $(PROCESSOR) -o $@ $(STYLE) - + www/%.html: content/%.xml $(STYLE) $(NAVIGATION) chaosupdates.rdf $(PROCESSOR) -o $@ $(STYLE) $< diff --git a/content/navigation.xml b/content/navigation.xml index f9eb00bf3..378c5ce20 100644 --- a/content/navigation.xml +++ b/content/navigation.xml @@ -1,7 +1,6 @@ - news kontakt mailingliste wiki diff --git a/xsl/xhtml.xsl b/xsl/xhtml.xsl index 3752d6527..fce77931a 100644 --- a/xsl/xhtml.xsl +++ b/xsl/xhtml.xsl @@ -196,34 +196,35 @@ + +

+ + + + + + + + + + + + + news_date + + + +
+ +
+ +
+
+ - -

- - - + + - - - - - - - - Date: () - - - - news_date - - @ - -
- -
-