Changeset 59537 in spip-zone
- Timestamp:
- Mar 19, 2012, 8:35:18 AM (9 years ago)
- Location:
- _plugins_/oeproxy
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/oeproxy/modeles/oeproxy/storify.html
r59467 r59537 24 24 [(#VALEUR{type}|=={video}|oui) 25 25 [<div class="oe-video-block"> 26 (#VALEUR{permalink}|oembed )26 (#VALEUR{permalink}|oembed{550}) 27 27 </div>] 28 28 ] 29 29 [(#VALEUR{type}|=={link}|oui) 30 [(#VALEUR{data/oembed}|oui) 31 [(#INCLURE{fond=modeles/oembed_[(#VALEUR{data/oembed/type})],data=#VALEUR{data/oembed},url=#VALEUR{permalink}})] 32 ][(#VALEUR{data/oembed}|non) 30 33 <blockquote class="oe-link-block"> 31 [(#VALEUR{data/link/thumbnail}|image_reduire{150,150}|inserer_attribut{class, spip_logos})]34 [(#VALEUR{data/link/thumbnail}|image_reduire{150,150}|inserer_attribut{class,link_logo})] 32 35 <strong><a href="#VALEUR{permalink}">#VALEUR{data/link/title}</a></strong> 33 36 <p class="oe-quote-text">#VALEUR{data/link/description}</p> 34 37 </blockquote> 38 ] 35 39 ] 36 40 [(#VALEUR{type}|=={other}|oui) -
_plugins_/oeproxy/oeproxy/storify.php
r59459 r59537 39 39 $nbs = array_sum($json_story['content']['stats']['elements']); 40 40 $total_page = intval(ceil($nbs/50)); 41 41 42 // et les pages suivantes jusqu'a un max raisonable 42 43 $page=2; … … 46 47 $json_story['content']['elements'] = array_merge($json_story['content']['elements'],$sub_story['content']['elements']); 47 48 } 48 } while ($sub_story AND count($sub_story['content']['elements']) AND $page< $total_page);49 } while ($sub_story AND count($sub_story['content']['elements']) AND $page<=$total_page); 49 50 50 51 $title = $json_story['content']['title']; -
_plugins_/oeproxy/paquet.xml
r59473 r59537 2 2 prefix="oeproxy" 3 3 categorie="outil" 4 version="0.8. 3"4 version="0.8.4" 5 5 etat="experimental" 6 6 compatibilite="[3.0.0-beta;["
Note: See TracChangeset
for help on using the changeset viewer.