start aggregating feeds for portal
This commit is contained in:
parent
bfa9b0f147
commit
8a713584de
|
@ -7,6 +7,7 @@
|
|||
/chaosupdates.xml
|
||||
/chaosupdates.xml.orig
|
||||
/calendar-summary.xml
|
||||
/portal-*.xml
|
||||
/content/datenspuren/schedule.xml
|
||||
/content/static/datenspuren/2008/fahrplan/track/V*
|
||||
/content/static/datenspuren/2007/fahrplan/track/V*
|
||||
|
|
22
Makefile
22
Makefile
|
@ -65,7 +65,8 @@ NEWSFILES:=build/news.html build/news-rss.xml build/news-atom.xml \
|
|||
build/pentamusic-archiv.xml build/pentamedia-archiv.xml \
|
||||
build/ical.ics build/xcal.xml build/reminders \
|
||||
build/datenspuren/$(DS_YEAR)/news-rss.xml build/datenspuren/$(DS_YEAR)/news-atom.xml \
|
||||
build/pentacast-ogg.xml build/pentacast-ogg-archiv.xml
|
||||
build/pentacast-ogg.xml build/pentacast-ogg-archiv.xml \
|
||||
build/portal.html
|
||||
PLAYLISTS:=$(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.xspf, $(wildcard content/news/pentaradio*.xml)) \
|
||||
$(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.pls, $(wildcard content/news/pentaradio*.xml)) \
|
||||
$(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.m3u, $(wildcard content/news/pentaradio*.xml))
|
||||
|
@ -116,7 +117,6 @@ $(DATESTAMP):
|
|||
build/%.html : NOVALID:=true
|
||||
build/news.html: $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(DATESTAMP)
|
||||
|
||||
|
||||
## Feedgrößen begrenzen
|
||||
build/%.xml : MAX_ITEMS=23
|
||||
build/%-archiv.xml build/news-archiv-%.xml : MAX_ITEMS=9999999
|
||||
|
@ -214,6 +214,22 @@ build/%.xspf : VFLAGS_OUT=$(VFLAGS) --relaxng xsd/xspf-1_0.5.rng
|
|||
build/%.m3u : NOVALID:=true
|
||||
build/%.pls : NOVALID:=true
|
||||
|
||||
# Portal
|
||||
portal:
|
||||
mkdir $@
|
||||
|
||||
portal/fetch.sh : STYLE=xsl/portal2fetch.xsl
|
||||
portal/fetch.sh : NOVALID:=true
|
||||
portal/fetch.sh: content/portal-config.xml $(STYLE)
|
||||
$(PROCESSOR) -o $@ $(STYLE) $<
|
||||
chmod a+x $@
|
||||
|
||||
portal/items.xml : STYLE=xsl/portal2items.xsl
|
||||
portal/items.xml : NOVALID:=true
|
||||
portal/items.xml: content/portal-config.xml $(STYLE) portal/fetch.sh news.xml
|
||||
( cd portal && ./fetch.sh )
|
||||
$(PROCESSOR) -o $@ $(STYLE) $<
|
||||
|
||||
# Pages:
|
||||
build/%.html: content/pages/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(DATESTAMP) news.xml
|
||||
$(call xml_process)
|
||||
|
@ -274,4 +290,4 @@ $(WWW_CCC_DE_UPDATES): $(WWW_CCC_DE_UPDATES).orig
|
|||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) $(CLEAN) news.xml
|
||||
|
||||
$(RM) -r portal
|
||||
|
|
Loading…
Reference in New Issue