From c7b6c8295617d58893d6297f4f64cd6391034f32 Mon Sep 17 00:00:00 2001 From: zapata Date: Tue, 24 Sep 2002 14:20:19 +0000 Subject: [PATCH] more work on the default templates... still not finished... --- .../{featuresRSS.template => RSS.template} | 24 +- templates-dist/producer/archive.template | 108 ++++++++ .../{content.template => article.template} | 127 ++++----- templates-dist/producer/cities.inc | 99 ------- templates-dist/producer/cities_de.inc | 98 ------- templates-dist/producer/config.template | 12 - templates-dist/producer/copyright.template | 12 - templates-dist/producer/events.inc | 60 ----- templates-dist/producer/featurelist.template | 24 -- templates-dist/producer/list.template | 35 --- templates-dist/producer/navigation.template | 34 +-- templates-dist/producer/openposting.template | 98 ------- templates-dist/producer/printablecontent.template | 20 +- templates-dist/producer/producers.xml | 89 +++++-- templates-dist/producer/startpage.template | 292 +++++++++++---------- .../{topiclist.template => topicpage.template} | 0 templates-dist/producer/wap.template | 15 -- templates-dist/producer/wml2.xsl | 50 ---- 18 files changed, 413 insertions(+), 784 deletions(-) rename templates-dist/producer/{featuresRSS.template => RSS.template} (65%) create mode 100755 templates-dist/producer/archive.template rename templates-dist/producer/{content.template => article.template} (63%) delete mode 100755 templates-dist/producer/cities.inc delete mode 100755 templates-dist/producer/cities_de.inc delete mode 100755 templates-dist/producer/config.template delete mode 100755 templates-dist/producer/copyright.template delete mode 100755 templates-dist/producer/events.inc delete mode 100755 templates-dist/producer/featurelist.template delete mode 100755 templates-dist/producer/list.template delete mode 100755 templates-dist/producer/openposting.template rename templates-dist/producer/{topiclist.template => topicpage.template} (100%) delete mode 100755 templates-dist/producer/wap.template delete mode 100755 templates-dist/producer/wml2.xsl diff --git a/templates-dist/producer/featuresRSS.template b/templates-dist/producer/RSS.template similarity index 65% rename from templates-dist/producer/featuresRSS.template rename to templates-dist/producer/RSS.template index 9100011d..a959af3b 100755 --- a/templates-dist/producer/featuresRSS.template +++ b/templates-dist/producer/RSS.template @@ -1,3 +1,10 @@ + + Template file for an rdf file. + + Variables: + + + Highlights from Indymedia-XX, a revolutionary expirement in democratic media IMC Features Working Group <features@someindymedia.org> Open Content License, http://www.opencontent.org -${data.dc_now} +${config.now.dc} - - - - + - - -${s.title} -${config["Producer.ProductionHost"]}${config.docRoot}${s.publish_path}${s.id}.shtml -${s.description_sentence} -${s.webdb_create_dc}+0200 - - - + ${i.title} ${config["Producer.ProductionHost"]}${config.docRoot}${i.publish_path}${i.id}.shtml diff --git a/templates-dist/producer/archive.template b/templates-dist/producer/archive.template new file mode 100755 index 00000000..cb54178b --- /dev/null +++ b/templates-dist/producer/archive.template @@ -0,0 +1,108 @@ + + Template file for an archive of articles. + + Variables: + + + + + + ${lang("producer.openposting.htmltitle")}${topic.title} + + + + + + + + + + +
+ + + + + + + +
+ + + +
+ + + + +
+ +
+
+
+ + + + + + + + + + +
+ + + + +
+
+

${title}

+ + + + + + +
+ + + + + + +
+

${i.title}

+

${i.creator}, ${i.webdb_create_formatted}

+

+ + + + + + + + + +

+ + ${i.to_media_images[0][ + + ${i.description}

+

[read]

+
+
+
+ +
+ ${lang("producer.previous")} + ${lang("producer.next")} +
+
+
+

 

+ + diff --git a/templates-dist/producer/content.template b/templates-dist/producer/article.template similarity index 63% rename from templates-dist/producer/content.template rename to templates-dist/producer/article.template index 3d19ebb8..13879e2d 100755 --- a/templates-dist/producer/content.template +++ b/templates-dist/producer/article.template @@ -1,21 +1,28 @@ + + Template file for an article. + + Variables: + + + - -${lang("producer.content.htmltitle")}${data.content.title} - - - - - - - - - - - - - - - + + ${lang("producer.content.htmltitle")}${article.content.title} + + + + + + + + + + + + + + + @@ -65,74 +72,68 @@
- Print this article + Print this article - Print this article + Print this article
-

${data.content.title}

-

${data.content.creator}, ${data.content.webdb_create_formatted}

-

${data.content.description_parsed} +

${article.content.title}

+

${article.content.creator}, ${article.content.webdb_create_formatted}

+

${article.content.description_parsed} - - -

- - - - - ${audio["title"]} - ${media["descr"]} - -

- - - - +

+ - - ${video["title"]} - ${media["descr"]} + + + ${media["title"]} - ${media["descr"]} +

-
- - -

- - - ${other["title"]} - ${media["descr"]} -

+ +

+ + + ${media["title"]} - ${media["descr"]} +

+
+ +

+ + + ${media["title"]} - ${media["descr"]} +

+
+ + +

+ ${image[ +
${image["title"]} +

-
- - -

- ${image[ -
${image["title"]} -

-
-

${data.content.content_data_parsed}

- +

${article.content.content_data_parsed}

+ @@ -143,12 +144,12 @@ - - - + +
- - ${lang("producer.content.email")}: ${data.content.creator_email}
+ - ${lang("producer.content.email")}: ${article.content.creator_email}
- ${lang("producer.content.homepage")}: ${data.content.creator_main_url}
+ ${lang("producer.content.homepage")}: ${article.content.creator_main_url}
 
+ ${lang("producer.content.comment")}
diff --git a/templates-dist/producer/cities.inc b/templates-dist/producer/cities.inc deleted file mode 100755 index c4e3ef61..00000000 --- a/templates-dist/producer/cities.inc +++ /dev/null @@ -1,99 +0,0 @@ - - -www.indymedia.org
-
-Australia
-melbourne
-sydney
-
-Europe
-austria
-finland
-barcelona
-belgium
-germany
-czech republic
-united kingdom
-france
-italy
-russia
-sweden
-switzerland
-
-Canada
-alberta
-hamilton
-maritimes
-montreal
-ontario
-québec
-vancouver
-victoria
-windsor
-
-Argentina
-argentina
-
-Brasil
-brasil
-
-Colombia
-colombia
-
-Congo
-congo
- -
-Israel
-israel
-
-Mexico
-mexico
-chiapas
-
-United States
-arizona
-atlanta
-austin
-boston
-buffalo
-chicago
-cleveland
-hawaii
-houston
-la
-madison
-maine
-minneapolis/st. paul
-new jersey
-nyc
-new york capitol
-ohio valley
-philadelphia
-portland
-richmond
-rocky mountain
-san francisco bay area
-seattle
-st louis
-urbana-champaign
-utah
-vermont
-dc
-
-IMC Projects
-satellite tv news
-print
-radio
- -
-IMC Process
-process
-discussion
-tech
-volunteer
-mailinglists
-fbi/legal updates
-
- diff --git a/templates-dist/producer/cities_de.inc b/templates-dist/producer/cities_de.inc deleted file mode 100755 index 6ba4e264..00000000 --- a/templates-dist/producer/cities_de.inc +++ /dev/null @@ -1,98 +0,0 @@ - - -
-International
-www.indymedia.org
-
-Australien
-melbourne
-sydney
-
-Europa
-finland
-barcelona
-belgien
-deutschland
-tschechien
-grossbritannien
-frankreich
-italien
-österreich
-russland
-schweden
-schweiz
-
-Kanada
-calgary
-hamilton
-maritimes
-montreal
-ontario
-québec
-vancouver
-windsor
-
-Argentinien
-argentinien
-
-Brasilien
-brasilien
-
-Kolumbien
-kolumbien
-
-Kongo
-kongo
- -
-Israel
-israel
-
-Mexiko
-mexiko/D.F.
-chiapas
-
-USA
-arizona
-atlanta
-austin
-boston
-buffalo
-chicago
-cleveland
-hawaii
-houston
-la
-madison
-maine
-minneapolis/st. paul
-nyc
-new york capitol
-ohio valley
-philadelphia
-portland
-richmond
-rocky mountain
-san francisco bay area
-seattle
-urbana-champaign
-utah
-vermont
-dc
-
-IMC Projekte
-satellite tv news
-print
-radio
- -
-IMC Process
-process
-discussion
-tech
-volunteer
-mailinglists
-fbi/legal updates
-
- diff --git a/templates-dist/producer/config.template b/templates-dist/producer/config.template deleted file mode 100755 index b1daee49..00000000 --- a/templates-dist/producer/config.template +++ /dev/null @@ -1,12 +0,0 @@ - - ${config.docroot} - ${config["Producer.OpenAction"]} - ${config.storageroot} - ${config["Producer.ProductionHost"]} - ${now} - ${videoHost} - ${audioHost} - ${imageHost} - ${previousPage} - ${nextPage} - \ No newline at end of file diff --git a/templates-dist/producer/copyright.template b/templates-dist/producer/copyright.template deleted file mode 100755 index 13801d5d..00000000 --- a/templates-dist/producer/copyright.template +++ /dev/null @@ -1,12 +0,0 @@ - - - -
- - - - - -
${lang("producer.copyright")}

-${lang("producer.contact")}: ${lang("imc.public-email.name")} -
\ No newline at end of file diff --git a/templates-dist/producer/events.inc b/templates-dist/producer/events.inc deleted file mode 100755 index 84cefdc1..00000000 --- a/templates-dist/producer/events.inc +++ /dev/null @@ -1,60 +0,0 @@ -

- - summer of resistance -
- - - - 19. bis 22.7: -   - - Italien - - -
- G8 Genua, -
-
- - - 28.9. - -   - - USA - - - -
- Weltbank/IWF
- Washington -
-
- - - Grenzcamps - -
- - 27. bis 5.8.  - - DE - -
- Frankfurt/Main -
-
- Global:
- 9. bis 15.11. WTO, Qatar
- -


- - - mehr Termine:
- z.B. - weltweit - - europa - - berlin -
-
-

diff --git a/templates-dist/producer/featurelist.template b/templates-dist/producer/featurelist.template deleted file mode 100755 index a48c4d7f..00000000 --- a/templates-dist/producer/featurelist.template +++ /dev/null @@ -1,24 +0,0 @@ - - - - ${topic.title} - - -
- ${entry.date} - ${entry.creator} - - ${entry.title} - ${entry.description} - ${entry.keywords} - ${entry.content_data} - ${entry.to_media_type} - ${entry.email} - ${entry.main_url} - ${entry.to_article_type} - ${entry.id} -
-
-
-
- diff --git a/templates-dist/producer/list.template b/templates-dist/producer/list.template deleted file mode 100755 index 9ff39efa..00000000 --- a/templates-dist/producer/list.template +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - ${entry.id} - ${entry.webdb_create} - ${entry.to_article_type} - ${topic.title} - - - - - - ${entry.creator} - - - - - - - <edittitle></edittitle> - <maintitle>${entry.title}</maintitle> - <subtitle></subtitle> - - ${entry.description} - - - - - - - - diff --git a/templates-dist/producer/navigation.template b/templates-dist/producer/navigation.template index 3df71d3e..1fde3059 100755 --- a/templates-dist/producer/navigation.template +++ b/templates-dist/producer/navigation.template @@ -1,22 +1,12 @@ -

- - -
- ${t.title} -
- -

-
-

- cvsweb
- java-doc
- bug-tracker
- publish
- download -

-
-

- - - -

+

+ +
+ ${t.title} +
+

+ +
+ +

+ +

diff --git a/templates-dist/producer/openposting.template b/templates-dist/producer/openposting.template deleted file mode 100755 index d022a895..00000000 --- a/templates-dist/producer/openposting.template +++ /dev/null @@ -1,98 +0,0 @@ - - -${lang("producer.openposting.htmltitle")}${topic.title} - - - - - - - - - - -
- - - - - - - -
- - - -
- - - - -
- -
-
-
- - - - - - - - - - -
- - - - -
-
-

${title}

- - - - ${lang("producer.previous")} - ${lang("producer.next")} - -
- - - - - - -
-

${i.title}

-

${i.creator}, ${i.webdb_create_formatted}

-

- - - - - - - - - -

- - ${i.to_media_images[0][ - - ${i.description}

-

[read]

-
-
-
- -
-
-
-

 

- - diff --git a/templates-dist/producer/printablecontent.template b/templates-dist/producer/printablecontent.template index d7d4833b..498bb79e 100755 --- a/templates-dist/producer/printablecontent.template +++ b/templates-dist/producer/printablecontent.template @@ -87,7 +87,7 @@ an attribution of copyright/left rights, etc. the possibilities are endless. line-height="18pt" space-after.optimum="3pt" text-align="center"> - ${data.content.title} + ${article.title} @@ -96,7 +96,7 @@ an attribution of copyright/left rights, etc. the possibilities are endless. line-height="13pt" space-after.optimum="3pt" text-align="end"> - ${data.content.creator}, ${data.content.webdb_create_formatted} + ${article.creator}, ${article.webdb_create_formatted} @@ -107,27 +107,27 @@ an attribution of copyright/left rights, etc. the possibilities are endless. line-height="13pt" space-after.optimum="3pt" text-align="justify"> - ${data.content.description_parsed} + ${article.description_parsed} - + - + - Email: ${data.content.creator_email} + Email: ${article.creator_email} - + - URL: ${data.content.creator_main_url} + URL: ${article.creator_main_url} - ${data.content.content_data_parsed} - + ${article.content_data_parsed} + ${media["description"]} diff --git a/templates-dist/producer/producers.xml b/templates-dist/producer/producers.xml index 7ea479d6..ad5c3c39 100755 --- a/templates-dist/producer/producers.xml +++ b/templates-dist/producer/producers.xml @@ -7,31 +7,34 @@ - - - + - + - + + + - - + + + + + @@ -39,10 +42,9 @@ - + - - + - + @@ -62,19 +64,21 @@ - - - - + + + + @@ -83,9 +87,37 @@ + + + + + + + + + + + + + + + + + + + + + + + - + @@ -93,16 +125,19 @@ selection="is_published=true and to_article_type=${articletype.startspecial}" order="webdb_create desc, date desc"/> - - - - + + + + diff --git a/templates-dist/producer/startpage.template b/templates-dist/producer/startpage.template index abd53fd4..158655d3 100755 --- a/templates-dist/producer/startpage.template +++ b/templates-dist/producer/startpage.template @@ -1,148 +1,150 @@ + + - -${lang("producer.startpage.htmltitle")} - - - + + ${lang("producer.startpage.htmltitle")} + + + - - - - - - -
- - - - - - - -
- -
- - - - -
- -
-
-
- - - - - - - - - - - - -
- - - - -
- -
-
- - - - -
- - - - - - -
-

${s.title}

-

${s.creator}, ${s.webdb_create_formatted}

-

- - - - - - - - - -

- - ${s.to_media_images[0][ - - ${s.description_parsed}

-

[read]

-
-
- -
- - - - - - -
-

${i.title}

-

${i.creator}, ${i.webdb_create_formatted}

-

- - - - - - - - - -

- - ${i.to_media_images[0][ - - ${i.description_parsed}

-

[read]

-
-
-
- -
-
- - - - - - -
- -

- - ${n.to_media_icon["icon_alt"]} - ${n.title}
- ${n.webdb_create_formatted}
-
-
- -

-
-
-
- + + + + + + +
+ + + + + + + +
+ +
+ + + + +
+ +
+
+
+ + + + + + + + + + + + +
+ + + + +
+ +
+
+ + + + +
+ + + + + + +
+

${s.title}

+

${s.creator}, ${s.webdb_create_formatted}

+

+ + + + + + + + + +

+ + ${s.to_media_images[0][ + + ${s.description_parsed}

+

[read]

+
+
+ +
+ + + + + + +
+

${i.title}

+

${i.creator}, ${i.webdb_create_formatted}

+

+ + + + + + + + + +

+ + ${i.to_media_images[0][ + + ${i.description_parsed}

+

[read]

+
+
+
+ +
+
+ + + + + + +
+ +

+ + ${n.to_media_icon["icon_alt"]} + ${n.title}
+ ${n.webdb_create_formatted}
+
+
+ +

+
+
+
+ diff --git a/templates-dist/producer/topiclist.template b/templates-dist/producer/topicpage.template similarity index 100% rename from templates-dist/producer/topiclist.template rename to templates-dist/producer/topicpage.template diff --git a/templates-dist/producer/wap.template b/templates-dist/producer/wap.template deleted file mode 100755 index e435066c..00000000 --- a/templates-dist/producer/wap.template +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - ${b.id} - ${b.webdb_create_formatted} - ${b.text} - - - - - diff --git a/templates-dist/producer/wml2.xsl b/templates-dist/producer/wml2.xsl deleted file mode 100755 index 3787604f..00000000 --- a/templates-dist/producer/wml2.xsl +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - -

- CASTOR STOPPEN! -

-

- de.indymedia.org -

-

- NEWS -

-
- - - -

- Breaking News -

- -

- -

-

- -

-
-
-
-
-
- -- 2.11.0