source: spip-zone/_plugins_/booksearch/demo/iter_booksearch.html @ 43533

Last change on this file since 43533 was 43533, checked in by fil@…, 10 years ago

la demo trie {!par PublicationDate}
http://www.spip-contrib.net/Plugin-Booksearch#comment439326

File size: 943 bytes
Line 
1#CACHE{0}
2
3<h1>booksearch</h1>
4
5#SET{titre,#ENV{titre,SPIP}}
6
7<form action="#SELF" method="POST">
8[(#SELF|form_hidden)]
9<input type="text" name="titre" value="#GET{titre}" />
10<input type="submit" name="go" value="go" />
11</form>
12
13
14<BOUCLE_books(DATA) {source booksearch, #GET{titre}}
15{Publisher!=Books LLC}
16{!par PublicationDate}
17>
18
19[<h1>(#VALEUR{Title}|typo)</h1>]
20
21[<h2>(#VALEUR{Author}|print|typo)</h2>]
22
23[<h3>(#VALEUR{Publisher}|print|typo)</h3>]
24
25[<dt>ISBN</dt>
26<dd>(#VALEUR{ASIN})</dd>]
27
28[<dt>Pages</dt>
29<dd>(#VALEUR{NumberOfPages})</dd>]
30
31[<dt>Prix</dt>
32<dd>(#VALEUR{ListPrice/FormattedPrice})</dd>]
33
34[<dt>Publié :</dt>
35<dd>(#VALEUR{PublicationDate}|affdate)</dd>]
36
37[<dt>SalesRank</dt><dd>(#VALEUR{SalesRank})</dd>]
38
39[<dt>Langue</dt><dd>(#VALEUR{Languages/Language/0/Name})</dd>]
40
41[<img src="(#VALEUR{MediumImage/URL})" height="[(#VALEUR{MediumImage/Height/_})]" width="[(#VALEUR{MediumImage/Width/_})]" />
42]
43
44<hr />
45
46</BOUCLE_books>
47
48
Note: See TracBrowser for help on using the repository browser.