Change item layout to that specified by reinhard in PR #2750, and update order script to match
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
delliott 2024-06-27 09:30:51 +02:00
parent d148d7cdde
commit d1c0a0f1c8
Signed by: delliott
SSH Key Fingerprint: SHA256:h5IC6Ec/o6ypmpM7ZdRqULGyG8dz4Jr5K192BAWAjoo
156 changed files with 831 additions and 964 deletions

1
.gitignore vendored
View File

@ -9,7 +9,6 @@ news/????/index.xsl
news/*/.*.??.xml
global/data/texts/.texts.??.xml
global/data/topbanner/.topbanner.??.xml
order/catalogue.xml
.default.xsl
.localmenu.*.xml
.*.xmllist

View File

@ -155,6 +155,3 @@ localmenus: $(SUBDIRS)
all: xmllists
xmllists: $(SUBDIRS)
tools/update_xmllists.sh
order/catalogue.xml: order/catalogue.xsl $(wildcard order/*/item*.xml)
(echo -e "<?xml version=\"1.0\"?>\n<catalogue>"; xsltproc $^; echo "</catalogue>") > $@

View File

@ -203,7 +203,7 @@ COPY_SRC_FILES := \$(shell find "\$(INPUTDIR)" -type f \
-not -name '*.xhtml' \
-not -name '*.xml' \
-not -name '*.xsl' \
)
) \$(INPUTDIR)/order/data/items.en.xml
# The same as above, but moved to the output directory
COPY_DST_FILES := \$(sort \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/%,\$(COPY_SRC_FILES)))

View File

@ -30,6 +30,7 @@ use utf8;
use LWP::UserAgent;
use HTTP::Request::Common qw(POST);
use JSON;
use strict;
use warnings;
use diagnostics;
@ -91,16 +92,18 @@ if ( !$email ) {
exit;
}
my $catalogue_file = $ENV{"DOCUMENT_ROOT"} . "/order/catalogue.xml";
my $catalogue = XML::LibXML->load_xml(location => $catalogue_file);
my $items_file = $ENV{"DOCUMENT_ROOT"} . "order/data/items.en.xml";
my $items = XML::LibXML->load_xml(location => $items_file);
my $count = 0;
my $amount = 0;
foreach $item ( $query->param ) {
$value = $query->param($item);
foreach my $item ( $query->param ) {
my $value = $query->param($item);
if ( not $item =~ /^_/ and $value ) {
my $price = $catalogue->findvalue("/catalogue/item[\@id=\"$item\"]/\@price");
# Remove size from item info so price is found properly
$item =~ s/_.*//;
my $price = $items->findvalue("/itemset/item[\@id=\"$item\"]/\@price");
$count += 1;
$amount += $value * $price;
}
@ -201,10 +204,12 @@ my $body = <<"HTML";
<pre>
HTML
foreach $item ( $query->param ) {
$value = $query->param($item);
foreach my $item ( $query->param ) {
my $value = $query->param($item);
if ( not $item =~ /^_/ and $value ) {
my $price = $catalogue->findvalue("/catalogue/item[\@id=\"$item\"]/\@price");
# Remove size from item info so price is found properly
$item =~ s/_.*//;
my $price = $items->findvalue("/itemset/item[\@id=\"$item\"]/\@price");
my $subtotal = $value * $price;
$body .= <<"HTML";
$value x $item: $subtotal
@ -244,10 +249,12 @@ push @odtfill, "Name=" . $name;
push @odtfill, "Address=" . $address =~ s/\n/\\n/gr;
push @odtfill, "ZipCity=" . $zip . " " . $city;
push @odtfill, "Country=" . $country_name;
foreach $item ( $query->param ) {
$value = $query->param($item);
foreach my $item ( $query->param ) {
my $value = $query->param($item);
if ( not $item =~ /^_/ and $value ) {
my $price = $catalogue->findvalue("/catalogue/item[\@id=\"$item\"]/\@price");
# Remove size from item info so price is found properly
$item =~ s/_.*//;
my $price = $items->findvalue("/itemset/item[\@id=\"$item\"]/\@price");
push @odtfill, "Count=" . $value;
push @odtfill, "Item=" . $item;
push @odtfill, "Amount=" . sprintf "%.2f", $value * $price;

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="pin-plussy-green">
<name>Fellowship-Anstecknadel</name>
<description>
<p>
Eine Anstecknadel (15x15mm) mit dem Fellowship-Logo.
</p>
</description>
</info>
<info id="pin-gnu-silver">
<name>GNU-Anstecknadel</name>
<description>
<p>
Eine Anstecknadel mit dem GNU und rundherum der Schriftzug "Free Software Foundation Europe".
</p>
</description>
</info>
</infoset>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="pin-plussy-green">
<name>Fellowship pin</name>
<description>
<p>
A pin (15x15mm) with the Fellowship logo.
</p>
</description>
</info>
<info id="pin-gnu-silver">
<name>Gnu pin</name>
<description>
<p>
A pin with the Gnu. The text around: "Free Software Foundation Europe"
</p>
</description>
</info>
</infoset>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="pin-plussy-green">
<name>Fellowship speld</name>
<description>
<p>
Een pin (15x15mm) met het Fellowship-logo.
</p>
</description>
</info>
<info id="pin-gnu-silver">
<name>Gnu speld</name>
<description>
<p>
Een speld met Gnu en de tekst "Free Software Foundation Europe".
</p>
</description>
</info>
</infoset>

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not translate this file! -->
<itemset>
<version>1</version>
<!--
<item type="other" id="pin-plussy-green" oldprice="3.00" price="1.00" date="2012-10-06">
<available size="#"/>
<image
small="2012/pin-plussy-green-small.jpg"
large="2012/pin-plussy-green-large.jpg"/>
</item>
-->
<!--
<item type="other" id="pin-gnu-silver" oldprice="10.00" price="5.00" date="2012-10-06">
<available size="#"/>
<image
small="2012/pin-gnu-silver-small.jpg"
large="2012/pin-gnu-silver-large.jpg"/>
</item>
-->
</itemset>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="tshirt-nocloud-black">
<name>There is NO CLOUD, schwarz</name>
<description>
<p>
Ein Muss für jeden, der andere daran erinnern möchte, wie wichtig es
ist, die Kontrolle über die eigenen Daten zu behalten.
</p>
<p>
<strong>Achtung:</strong> Die Größen sind kleiner als üblich. Beachten
Sie bitte die <a href="size.html">Größentabelle</a>.
</p>
</description>
</info>
</infoset>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="tshirt-nocloud-black">
<name>There is NO CLOUD, black</name>
<description>
<p>
A must have for everybody who wants to remind others how important it is
to keep in control of one's own data.
</p>
<p>
<strong>Note:</strong> Sizes are smaller than usual. Please have a look
at the <a href="size.html">size chart</a>.
</p>
</description>
</info>
</infoset>

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="tshirt-nocloud-black">
<name>There is NO CLOUD, zwart</name>
<description>
<p>
Iedereen die anderen eraan wil herinneren hoe belangrijk het is om
contole te hebben over de eigen data, kan niet zonder.
</p>
</description>
</info>
</infoset>

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="tshirt-nocloud-black">
<name>There is NO CLOUD, e zezë</name>
<description>
<p>
E domosdoshme për këdo që dëshiron tu kujtojë të tjerëve se sa e rëndësishme është
të ruhet kontrolli i të dhënave të veta.
</p>
</description>
</info>
</infoset>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not translate this file! -->
<itemset>
<version>1</version>
<!-- item type="tshirt" id="tshirt-nocloud-black" price="20.00" date="2016-03-07">
<available size="M" a="47" b="69"/>
<image
small="2016/tshirt-nocloud-black-front-small.jpg"
large="2016/tshirt-nocloud-black-front-large.jpg"/>
<image
small="2016/tshirt-nocloud-black-back-small.jpg"
large="2016/tshirt-nocloud-black-back-large.jpg"/>
</item -->
</itemset>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>Lätzchen mit aufgesticktem Text „I am a fork()“, pink</name>
<description>
<p>
Das ideale Geschenk für unsere Nachwuchs-Hacker und deren Eltern.
</p>
</description>
</info>
<info id="tshirt-100freedoms-black">
<name>T-Shirt „100 Freedoms“, schwarz</name>
<description>
<p>
Mit diesem T-Shirt lässt sich zeigen, dass Freie Software geradezu überraschend viel Freiheit gewährt.
</p>
</description>
</info>
</infoset>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>Baby bib with stitched text “I am a fork()”, pink</name>
<description>
<p>
The ideal present for our youngest hackers and their parents.
</p>
</description>
</info>
<info id="tshirt-100freedoms-black">
<name>T-shirt “100 Freedoms”, black</name>
<description>
<p>
With this T-shirt, you can show that Free Software offers an unexpected amount of freedom.
</p>
</description>
</info>
</infoset>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>Bavaglino per neonato con scritta cucita “I am a fork()”, rosa</name>
<description>
<p>
Il regalo perfetto per il piccolo hacker ed i suoi genitori.
</p>
</description>
</info>
<info id="tshirt-100freedoms-black">
<name>Maglietta “100 Freedoms”, nera</name>
<description>
<p>
Con questa maglietta potrai far sapere alla gente che il Software Libero garantisce delle libertà inaspettate.
</p>
</description>
</info>
</infoset>

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>Babyslabbetje met geborduurde tekst “I am a fork()”, roze</name>
<description>
<p>
Het ideale geschenk voor onze jongste hackers en hun ouders.
</p>
</description>
</info>
<info id="tshirt-100freedoms-black">
<name>T-shirt “100 Freedoms”, zwart</name>
<description>
<p>
Met dit T-shirt kunt u laten zien dat Vrije Software een onverwachte hoeveelheid vrijheid biedt.
</p>
</description>
</info>
</infoset>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not translate this file! -->
<itemset>
<version>1</version>
<!-- item type="tshirt" id="tshirt-100freedoms-black" oldprice="20.00" price="15.00" date="2017-12-05">
<available size="M" a="50" b="70"/>
<image
small="2017/tshirt-100freedoms-black-front-small.jpg"
large="2017/tshirt-100freedoms-black-front-large.jpg"/>
<image
small="2017/tshirt-100freedoms-black-back-small.jpg"
large="2017/tshirt-100freedoms-black-back-large.jpg"/>
</item -->
</itemset>

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>„Public Money, Public Code“ Tasche, beige</name>
<description>
<p>
Mit dieser Tasche kann man nicht nur seine Einkäufe, sondern auch eine
wichtige Botschaft transportieren.
</p>
</description>
</info>
<info id="magnet-nocloud-white">
<name>There is NO CLOUD Kühlschrankmagnet, schwarz mit weißer Schrift</name>
<description>
<p>
Der beliebteste Slogan der FSFE, jetzt auch als 74x74x2 mm Kühlschrankmagnet!
</p>
</description>
</info>
<info id="magnet-nocloud-blue">
<name>There is NO CLOUD Kühlschrankmagnet, schwarz mit blauer Schrift</name>
<description>
<p>
Der beliebteste Slogan der FSFE, jetzt auch als 74x74x2 mm Kühlschrankmagnet!
</p>
</description>
</info>
<info id="magnet-pmpc-white">
<name>Public Money Public Code Kühlschrankmagnet, Logo und Text</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> Ein 55x75x2 mm Kühlschrankmagnet mit dem Logo und dem Slogan der Kampagne.
</p>
</description>
</info>
<info id="magnet-pmpc-black">
<name>Public Money Public Code Kühlschrankmagnet, nur Text</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> Ein 105x52x2 mm Kühlschrankmagnet mit dem Slogan der Kampagne.
</p>
</description>
</info>
</infoset>

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>“Public Money, Public Code” bag, natural</name>
<description>
<p>
With this bag, you can at the same time carry goods <em>and</em> an
important message.
</p>
</description>
</info>
<info id="magnet-nocloud-white">
<name>There is NO CLOUD fridge magnet, black and white</name>
<description>
<p>
FSFE's most popular slogan, now also on a 74x74x2 mm fridge magnet!
</p>
</description>
</info>
<info id="magnet-nocloud-blue">
<name>There is NO CLOUD fridge magnet, black and blue</name>
<description>
<p>
FSFE's most popular slogan, now also on a 74x74x2 mm fridge magnet!
</p>
</description>
</info>
<info id="magnet-pmpc-white">
<name>Public Money Public Code fridge magnet, logo and text</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> A 55x75x2 mm fridge magnet with the campaign logo and slogan.
</p>
</description>
</info>
<info id="magnet-pmpc-black">
<name>Public Money Public Code fridge magnet, text only</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> A 105x52x2 mm fridge magnet with the campaign slogan.
</p>
</description>
</info>
</infoset>

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>Borsa “Public Money, Public Code”, colore neutro</name>
<description>
<p>
Questa borsa è molto pratica, ti permette di trasportare due cose assieme: la spesa <em>e</em> un
messaggio molto importante per chi passa vicino a te.
</p>
</description>
</info>
<info id="magnet-nocloud-white">
<name>Calamita "There is NO CLOUD", bianca e nera</name>
<description>
<p>
Il motto più famoso della FSFE, su una calamita 74x74x2 mm.
</p>
</description>
</info>
<info id="magnet-nocloud-blue">
<name>Calamita "There is NO CLOUD", blu e nera</name>
<description>
<p>
Il motto più famoso della FSFE, su una calamita 74x74x2 mm.
</p>
</description>
</info>
<info id="magnet-pmpc-white">
<name>Calamita "Public Money Public Code", logo e testo</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> Una calamita 55x75x2 mm con lo slogan ed il logo della campagna.
</p>
</description>
</info>
<info id="magnet-pmpc-black">
<name>Calamita "Public Money Public Code", solo testo</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> Una calamita 105x52x2 mm con lo slogan della campagna.
</p>
</description>
</info>
</infoset>

View File

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>“Public Money, Public Code”-tas, naturel</name>
<description>
<p>
Met deze tas kunt u tegelijk goederen vervoeren <em>en</em> een belangrijke boodschap verspreiden.
</p>
</description>
</info>
<info id="magnet-nocloud-white">
<name>There is NO CLOUD koelkastmagneet, zwart en wit</name>
<description>
<p>
FSFE's populairste leus, nu ook op een 74x74x2 mm koelkastmagneet!
</p>
</description>
</info>
<info id="magnet-nocloud-blue">
<name>There is NO CLOUD koelkastmagneet, zwart en blauw</name>
<description>
<p>
FSFE's populairste leus, nu ook op een 74x74x2 mm koelkastmagneet!
</p>
</description>
</info>
<info id="magnet-pmpc-white">
<name>Public Money Public Code koelkastmagneet, logo en tekst</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> Een 55x75x2 mm koelkastmagneet met het logo en de leus van de campagne.
</p>
</description>
</info>
<info id="magnet-pmpc-black">
<name>Public Money Public Code koelkastmagneet, alleen tekst</name>
<description>
<p>
<a href="https://publiccode.eu">Public Money? Public Code!</a> Een 105x52x2 mm koelkastmagneet met de leus van de campagne.
</p>
</description>
</info>
</infoset>

View File

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not translate this file! -->
<itemset>
<version>1</version>
<item type="other" id="magnet-nocloud-blue" price="4.00" date="2018-10-01">
<available size="#"/>
<image
small="2018/magnet-nocloud-blue-small.jpg"
large="2018/magnet-nocloud-blue-large.jpg"/>
</item>
<item type="other" id="magnet-pmpc-white" oldprice="4.00" price="2.00" date="2018-10-01">
<available size="#"/>
<image
small="2018/magnet-pmpc-white-small.jpg"
large="2018/magnet-pmpc-white-large.jpg"/>
</item>
<item type="other" id="magnet-pmpc-black" oldprice="4.00" price="2.00" date="2018-10-01">
<available size="#"/>
<image
small="2018/magnet-pmpc-black-small.jpg"
large="2018/magnet-pmpc-black-large.jpg"/>
</item>
</itemset>

View File

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="pin-fsfe-white">
<name>FSFE-Logo-Anstecknadel</name>
<description>
<p>
Eine Anstecknadel (10x18mm) mit dem Logo der FSFE.
</p>
</description>
</info>
<info id="magnetpin-fsfe-white">
<name>FSFE-Logo-Ansteckmagnet</name>
<description>
<p>
Ein Ansteckmagnet (10x18mm) mit dem Logo der FSFE macht keine Löcher in die Kleidung.
</p>
</description>
</info>
<info id="tshirt-multilingual-black">
<name>Mehrsprachiges T-Shirt, schwarz</name>
<description>
<p>
Zeigen Sie Ihre Liebe für Freie Software in 24 Sprachen!
</p>
</description>
</info>
<info id="girlie-multilingual-black">
<name>Mehrsprachiges T-Shirt, schwarz</name>
<description>
<p>
Zeigen Sie Ihre Liebe für Freie Software in 24 Sprachen!
</p>
</description>
</info>
<info id="girlie-multilingual-blue">
<name>Mehrsprachiges T-Shirt, blau</name>
<description>
<p>
Zeigen Sie Ihre Liebe für Freie Software in 24 Sprachen!
</p>
</description>
</info>
<info id="baby-bib-black">
<name>Lätzchen mit aufgesticktem Text „I am a fork()“, schwarz</name>
<description>
<p>
Das ideale Geschenk für unsere Nachwuchs-Hacker und deren Eltern.
</p>
</description>
</info>
<info id="card-christmas-blue">
<name>Weihnachtskarten, Paket zu 10 Stück, mit 10 Briefumschlägen</name>
<description>
<p>
Unterstützen Sie die FSFE, indem Sie diese Weihnachts-Grußkarten
kaufen! Größe A6, aufklappbar, mit einer weihnachtlichen Grafik
auf der Vorderseite und einem kleinen FSFE-Logo auf der
Rückseite.
</p>
</description>
</info>
</infoset>

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="pin-fsfe-white">
<name>FSFE logo pin</name>
<description>
<p>
A pin (10x18mm) with the FSFE logo.
</p>
</description>
</info>
<info id="magnetpin-fsfe-white">
<name>FSFE logo magnet pin</name>
<description>
<p>
A magnetic pin (10x18mm) (will not make a hole in your clothes!) with the FSFE logo.
</p>
</description>
</info>
<info id="tshirt-multilingual-black">
<name>Multilingual T-shirt, black</name>
<description>
<p>
Show your love for Free Software in 24 languages!
</p>
</description>
</info>
<info id="girlie-multilingual-black">
<name>Multilingual T-shirt, black</name>
<description>
<p>
Show your love for Free Software in 24 languages!
</p>
</description>
</info>
<info id="girlie-multilingual-blue">
<name>Multilingual T-shirt, blue</name>
<description>
<p>
Show your love for Free Software in 24 languages!
</p>
</description>
</info>
<info id="baby-bib-black">
<name>Baby bib with stitched text “I am a fork()”, black</name>
<description>
<p>
The ideal present for our youngest hackers and their parents.
</p>
</description>
</info>
<info id="card-christmas-blue">
<name>Christmas cards, package of 10, with 10 envelopes</name>
<description>
<p>
Support FSFE by buying these christmas greeting cards! A6 sized,
folded, with a Christmassy graphic on the front and a small FSFE
logo on the back.
</p>
</description>
</info>
</infoset>

View File

@ -1,62 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="pin-fsfe-white">
<name>FSFE-logo speld</name>
<description>
<p>
Een speld (10x18mm) met het FSFE-logo.
</p>
</description>
</info>
<info id="magnetpin-fsfe-white">
<name>FSFE-logo magneetspeld</name>
<description>
<p>
Een magneetspeld (10x18mm) (zal geen gat in uw kleding maken!) met het FSFE-logo.
</p>
</description>
</info>
<info id="tshirt-multilingual-black">
<name>Meertalig T-shirt, zwart</name>
<description>
<p>
Laat uw liefde voor Vrije Software in 24 talen zien!
</p>
</description>
</info>
<info id="girlie-multilingual-black">
<name>Meertalig T-shirt, zwart</name>
<description>
<p>
Laat uw liefde voor Vrije Software in 24 talen zien!
</p>
</description>
</info>
<info id="girlie-multilingual-blue">
<name>Meertalig T-shirt, blauw</name>
<description>
<p>
Laat uw liefde voor Vrije Software in 24 talen zien!
</p>
</description>
</info>
<info id="baby-bib-black">
<name>Babyslabbetje met geborduurde tekst “I am a fork()”, zwart</name>
<description>
<p>
Het ideale geschenk voor de jongste hackers en hun ouders.
</p>
</description>
</info>
<info id="card-christmas-blue">
<name>Kerstkaarten, pak van 10 stuks met 10 enveloppen</name>
<description>
<p>
Steun de FSFE door deze kerstkaarten te kopen! A6-formaat,
gevouwen, met een kerstafbeelding op de voorkant en een klein FSFE-logo op de achterkant.
</p>
</description>
</info>
</infoset>

View File

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not translate this file! -->
<itemset>
<version>1</version>
<!-- item type="other" id="pin-fsfe-white" price="5.00" date="2019-11-22">
<available size="#"/>
<image
small="2019/pin-fsfe-white-small.jpg"
large="2019/pin-fsfe-white-large.jpg"/>
</item -->
<item type="other" id="magnetpin-fsfe-white" price="5.00" date="2019-11-22">
<available size="#"/>
<image
small="2019/pin-fsfe-white-small.jpg"
large="2019/pin-fsfe-white-large.jpg"/>
</item>
<item type="tshirt" id="tshirt-multilingual-black" price="20.00" date="2019-12-07">
<available size="M" a="50" b="70"/>
<image
small="2019/tshirt-multilingual-black-front-small.jpg"
large="2019/tshirt-multilingual-black-front-large.jpg"/>
<image
small="2019/tshirt-multilingual-black-back-small.jpg"
large="2019/tshirt-multilingual-black-back-large.jpg"/>
</item>
<item type="girlie" id="girlie-multilingual-black" price="20.00" date="2019-12-07">
<available size="L" a="48" b="65"/>
<available size="XL" a="53.5" b="66"/>
<image
small="2019/girlie-multilingual-black-front-small.jpg"
large="2019/girlie-multilingual-black-front-large.jpg"/>
<image
small="2019/girlie-multilingual-black-back-small.jpg"
large="2019/girlie-multilingual-black-back-large.jpg"/>
</item>
<item type="girlie" id="girlie-multilingual-blue" oldprice="20.00" price="15.00" date="2019-12-07">
<!-- available size="M" a="47.5" b="62"/ -->
<available size="L" a="48" b="65"/>
<available size="XL" a="53.5" b="66"/>
<image
small="2019/girlie-multilingual-blue-front-small.jpg"
large="2019/girlie-multilingual-blue-front-large.jpg"/>
<image
small="2019/girlie-multilingual-blue-back-small.jpg"
large="2019/girlie-multilingual-blue-back-large.jpg"/>
</item>
<item type="other" id="baby-bib-black" price="15.00" date="2019-12-07">
<available size="#"/>
<image
small="2019/baby-bib-black-small.jpg"
large="2019/baby-bib-black-large.jpg"/>
</item>
<!-- item type="other" id="card-christmas-blue" price="20.00" date="2019-12-09">
<available size="#"/>
<image
small="2019/card-christmas-blue-small.jpg"
large="2019/card-christmas-blue-large.jpg"/>
</item -->
</itemset>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-since2001-blue">
<name>Stofftasche „Since 2001“ / „There is NO CLOUD“, blau</name>
<description>
<p>
Die Tasche zum 20. Geburtstag der FSFE.
</p>
</description>
</info>
</infoset>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-since2001-blue">
<name>Bag „Since 2001“ / „There is NO CLOUD“, blue</name>
<description>
<p>
This bag was issued for FSFE's 20th birthday.
</p>
</description>
</info>
</infoset>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-since2001-blue">
<name>Tas „Since 2001“ / „There is NO CLOUD“, blauw</name>
<description>
<p>
Deze tas is vervaardigd voor de 20ste verjaardag van de FSFE.
</p>
</description>
</info>
</infoset>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not translate this file! -->
<itemset>
<version>1</version>
<item type="other" id="bag-since2001-blue" price="8.00" date="2021-09-27">
<available size="#"/>
<image
small="2021/bag-since2001-blue-front-small.jpg"
large="2021/bag-since2001-blue-front-large.jpg"/>
<image
small="2021/bag-since2001-blue-back-small.jpg"
large="2021/bag-since2001-blue-back-large.jpg"/>
</item>
</itemset>

View File

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="tshirt-nocloud-petrol">
<name>There is NO CLOUD T-shirt, petrol green</name>
<description>
<p>
An evergreen, but this time in petrol green
</p>
</description>
</info>
<info id="tshirt-hacking-4-freedom">
<name>Hacking for Freedom T-shirt, black</name>
<description>
<p>
Old slogan, new tshirt
</p>
</description>
</info>
<info id="socks-ilovefs">
<name>I love Free Software socks, red</name>
<description>
<p>
The 4 freedoms at your feet... because you really love Free software
</p>
<p>
<strong>Note:</strong> One size. Fits from 38 to 45.
</p>
</description>
</info>
</infoset>

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not translate this file! -->
<itemset>
<version>1</version>
<item type="tshirt" id="tshirt-hacking-4-freedom" price="25.00" date="2024-01-12">
<!-- available size="S" a="46" b="66"/ -->
<available size="M" a="50" b="70"/>
<!-- available size="L" a="51" b="71"/ -->
<available size="XL" a="55" b="75"/>
<available size="XXL" a="57" b="77"/>
<available size="3XL" a="58" b="82"/>
<!-- available size="4XL" a="58" b="82"//-->
<image
small="2024/tshirt-H4F-front-small.jpg"
large="2024/tshirt-H4F-front-large.jpg"/>
<image
small="2024/tshirt-H4F-back-small.jpg"
large="2024/tshirt-H4F-back-large.jpg"/>
</item>
<item type="tshirt" id="tshirt-nocloud-petrol" price="25.00" date="2024-01-12">
<available size="S" a="46" b="66"/>
<available size="M" a="50" b="70"/>
<available size="L" a="51" b="71"/>
<available size="XL" a="55" b="75"/>
<available size="XXL" a="57" b="77"/>
<available size="3XL" a="58" b="82"/>
<image
small="2024/tshirt-nocloud-petrol-front-small.jpg"
large="2024/tshirt-nocloud-petrol-front-large.jpg"/>
<image
small="2024/tshirt-nocloud-petrol-back-small.jpg"
large="2024/tshirt-nocloud-petrol-back-large.jpg"/>
</item>
<item type="socks" id="socks-ilovefs" price="15.00" date="2024-01-12">
<image
small="2024/socks-ilovefs-small.jpg"
large="2024/socks-ilovefs-large.jpg"/>
<available size="#"/>
</item>
<!-- item type="other" id="card-christmas-blue" price="20.00" date="2019-12-09">
<available size="#"/>
<image
small="2019/card-christmas-blue-small.jpg"
large="2019/card-christmas-blue-large.jpg"/>
</item -->
</itemset>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
<xsl:template match="/itemset">
<xsl:for-each select="item">
<xsl:variable name="prefix"><xsl:value-of select="@id"/></xsl:variable>
<xsl:variable name="price"><xsl:value-of select="@price"/></xsl:variable>
<xsl:for-each select="available">
<xsl:element name="item">
<xsl:attribute name="id"><xsl:value-of select="$prefix"/><xsl:text>_</xsl:text><xsl:value-of select="@size"/></xsl:attribute>
<xsl:attribute name="price"><xsl:value-of select="$price"/></xsl:attribute>
</xsl:element>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-black">
<name>L&#228;tzchen mit aufgesticktem Text &#8222;I am a fork()&#8220;, schwarz</name>
<description>
<p>Das ideale Geschenk f&#252;r unsere Nachwuchs-Hacker und deren Eltern.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-black">
<name>Baby bib with stitched text &#8220;I am a fork()&#8221;, black</name>
<description>
<p>The ideal present for our youngest hackers and their parents.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-black">
<name>Babyslabbetje met geborduurde tekst &#8220;I am a fork()&#8221;, zwart</name>
<description>
<p>Het ideale geschenk voor de jongste hackers en hun ouders.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>L&#228;tzchen mit aufgesticktem Text &#8222;I am a fork()&#8220;, pink</name>
<description>
<p>Das ideale Geschenk f&#252;r unsere Nachwuchs-Hacker und deren Eltern.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>Baby bib with stitched text &#8220;I am a fork()&#8221;, pink</name>
<description>
<p>The ideal present for our youngest hackers and their parents.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>Bavaglino per neonato con scritta cucita &#8220;I am a fork()&#8221;, rosa</name>
<description>
<p>Il regalo perfetto per il piccolo hacker ed i suoi genitori.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="baby-bib-pink">
<name>Babyslabbetje met geborduurde tekst &#8220;I am a fork()&#8221;, roze</name>
<description>
<p>Het ideale geschenk voor onze jongste hackers en hun ouders.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>&#8222;Public Money, Public Code&#8220; Tasche, beige</name>
<description>
<p>Mit dieser Tasche kann man nicht nur seine Eink&#228;ufe, sondern auch eine
wichtige Botschaft transportieren.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>&#8220;Public Money, Public Code&#8221; bag, natural</name>
<description>
<p>With this bag, you can at the same time carry goods<em>and</em>an
important message.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>Borsa &#8220;Public Money, Public Code&#8221;, colore neutro</name>
<description>
<p>Questa borsa &#232; molto pratica, ti permette di trasportare due cose assieme: la spesa<em>e</em>un
messaggio molto importante per chi passa vicino a te.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-pmpc-natural">
<name>&#8220;Public Money, Public Code&#8221;-tas, naturel</name>
<description>
<p>Met deze tas kunt u tegelijk goederen vervoeren<em>en</em>een belangrijke boodschap verspreiden.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-since2001-blue">
<name>Stofftasche &#8222;Since 2001&#8220; / &#8222;There is NO CLOUD&#8220;, blau</name>
<description>
<p>Die Tasche zum 20. Geburtstag der FSFE.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-since2001-blue">
<name>Bag &#8222;Since 2001&#8220; / &#8222;There is NO CLOUD&#8220;, blue</name>
<description>
<p>This bag was issued for FSFE's 20th birthday.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="bag-since2001-blue">
<name>Tas &#8222;Since 2001&#8220; / &#8222;There is NO CLOUD&#8220;, blauw</name>
<description>
<p>Deze tas is vervaardigd voor de 20ste verjaardag van de FSFE.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="card-christmas-blue">
<name>Weihnachtskarten, Paket zu 10 St&#252;ck, mit 10 Briefumschl&#228;gen</name>
<description>
<p>Unterst&#252;tzen Sie die FSFE, indem Sie diese Weihnachts-Gru&#223;karten
kaufen! Gr&#246;&#223;e A6, aufklappbar, mit einer weihnachtlichen Grafik
auf der Vorderseite und einem kleinen FSFE-Logo auf der
R&#252;ckseite.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="card-christmas-blue">
<name>Christmas cards, package of 10, with 10 envelopes</name>
<description>
<p>Support FSFE by buying these christmas greeting cards! A6 sized,
folded, with a Christmassy graphic on the front and a small FSFE
logo on the back.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="card-christmas-blue">
<name>Kerstkaarten, pak van 10 stuks met 10 enveloppen</name>
<description>
<p>Steun de FSFE door deze kerstkaarten te kopen! A6-formaat,
gevouwen, met een kerstafbeelding op de voorkant en een klein FSFE-logo op de achterkant.</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="girlie-multilingual-black">
<name>Mehrsprachiges T-Shirt, schwarz</name>
<description>
<p>Zeigen Sie Ihre Liebe f&#252;r Freie Software in 24 Sprachen!</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="girlie-multilingual-black">
<name>Multilingual T-shirt, black</name>
<description>
<p>Show your love for Free Software in 24 languages!</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="girlie-multilingual-black">
<name>Meertalig T-shirt, zwart</name>
<description>
<p>Laat uw liefde voor Vrije Software in 24 talen zien!</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="girlie-multilingual-blue">
<name>Mehrsprachiges T-Shirt, blau</name>
<description>
<p>Zeigen Sie Ihre Liebe f&#252;r Freie Software in 24 Sprachen!</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="girlie-multilingual-blue">
<name>Multilingual T-shirt, blue</name>
<description>
<p>Show your love for Free Software in 24 languages!</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="girlie-multilingual-blue">
<name>Meertalig T-shirt, blauw</name>
<description>
<p>Laat uw liefde voor Vrije Software in 24 talen zien!</p>
</description>
</info>
</infoset>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<infoset>
<version>1</version>
<info id="magnet-nocloud-blue">
<name>There is NO CLOUD K&#252;hlschrankmagnet, schwarz mit blauer Schrift</name>
<description>