Changeset 81325 in spip-zone


Ignore:
Timestamp:
Mar 13, 2014, 10:22:20 AM (5 years ago)
Author:
bmarne@…
Message:

jsonp aussi dans les modèles de sortie oembed

Location:
_plugins_/oembed
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/oembed/output/modeles/article-photo.json.html

    r54706 r81325  
    1 <BOUCLE_doc(DOCUMENTS){id_article}{extension IN png,jpg,gif}{0,1}>[(#ARRAY{
     1<BOUCLE_doc(DOCUMENTS){id_article}{extension IN png,jpg,gif}{0,1}>[[(#ENV{callback_jsonp})\(](#ARRAY{
    22version,1.0,
    33type,photo,
     
    99height,[(#ENV{maxheight,#HAUTEUR})],
    1010url,[(#URL_DOCUMENT|image_reduire{#ENV{maxwidth,0},#ENV{maxheight,0}}|extraire_attribut{src}|sinon{#URL_DOCUMENT}|url_absolue)]
    11 }|json_encode_html)]</BOUCLE_doc>
     11}|json_encode_html)[\)(#ENV{callback_jsonp}|oui)]]</BOUCLE_doc>
     12#FILTRE{trim}
  • _plugins_/oembed/oembed/output/modeles/article.json.html

    r54706 r81325  
    1 <BOUCLE_art(ARTICLES){id_article}>[(#ARRAY{
     1<BOUCLE_art(ARTICLES){id_article}>[[(#ENV{callback_jsonp})\(](#ARRAY{
    22version,1.0,
    33type,rich,
     
    1010url,[(#URL_ARTICLE|url_absolue)],
    1111html,[<h4 class='title'><a href='[(#URL_ARTICLE|url_absolue)]'>(#TITRE)</a></h4>[<blockquote class='spip'>(#INTRODUCTION)</blockquote>]]
    12 }|json_encode_html)]</BOUCLE_art>
     12}|json_encode_html)[\)(#ENV{callback_jsonp}|oui)]]</BOUCLE_art>
     13#FILTRE{trim}
  • _plugins_/oembed/paquet.xml

    r81314 r81325  
    22        prefix="oembed"
    33        categorie="multimedia"
    4         version="1.0.10"
     4        version="1.0.11"
    55        etat="test"
    66        compatibilite="[3.0.0;3.0.*]"
Note: See TracChangeset for help on using the changeset viewer.