source: spip-zone/_plugins_/booksearch/googlebooks.rss.html @ 50622

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

echapper les amp des urls

File size: 1.0 KB
Line 
1#HTTP_HEADER{Content-Type: text/xml; charset=utf-8}
2<?xml version="1.0" encoding="utf-8"?>
3[(#SET{api,[(#VAL{https://www.googleapis.com/books/v1/volumes?maxResults=40}|parametre_url{q,#ENV{q},&})]})]<!-- [(#GET{api})] -->
4
5<rss version="2.0" 
6        xmlns:dc="http://purl.org/dc/elements/1.1/"
7        xmlns:content="http://purl.org/rss/1.0/modules/content/"
8>
9
10<channel xml:lang="fr">
11        <title>Booksearch: #ENV{q}</title>
12        <link>[(#SELF|url_absolue)]</link>
13        <generator>SPIP - www.spip.net</generator>
14
15<BOUCLE_books(DATA){source json,#GET{api}}
16{datapath items}
17>
18<item>
19        <title>[(#VALEUR{volumeInfo/authors}|print|texte_backend): ][(#VALEUR{volumeInfo/title}|texte_backend)]</title>
20        <link>[(#VALEUR{volumeInfo/infoLink}|quote_amp)]</link>
21        <description>
22        <![CDATA[
23        [<img src="(#VALEUR{volumeInfo/imageLinks/thumbnail}|quote_amp)" style="float:right">
24        ][<b>(#VALEUR{volumeInfo/publishedDate})</b> ][(#VALEUR{volumeInfo/description}|print)][
25        - (#VALEUR{volumeInfo/categories}|print)]
26
27        ]]></description>
28</item>
29
30</BOUCLE_books>
31
32
33</channel>
34
35</rss>
36
Note: See TracBrowser for help on using the repository browser.