Changeset 54718 in spip-zone


Ignore:
Timestamp:
Nov 20, 2011, 7:13:47 PM (9 years ago)
Author:
cedric@…
Message:

imdb via son api

Location:
_plugins_/oeproxy
Files:
1 added
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • _plugins_/oeproxy/action/api_oeproxy.php

    r54696 r54718  
    3030                ',\w+://([\w]+).wikipedia.org/wiki/([^/]+).*,i' => 'wikipedia',
    3131                ',^https?://.*facebook.com/(people/[^/]+/(\d+).*|([^/]+$)),i' => 'facebook',
     32                ',^http://(?:www.)?imdb.com/title/([^/]+),i' => 'imdb'
    3233
    3334        );
  • _plugins_/oeproxy/modeles/oeproxy/imdb.html

    r54706 r54718  
    1 <div class="oe-tweet-block">
    2         <div class="oe-tweet-user-block">
    3                 <a href="http://twitter.com/#ENV*{screen_name}"><img src="#ENV*{profile_image}">
    4                         <span class="oe-tweet-user-screen_name">@#ENV*{screen_name}</span></a>
    5                         <span class="oe-tweet-user-name">#ENV*{name}</span>
    6         </div>
    7         <div class="oe-tweet-text">#ENV*{text}</div>
    8         <div class="oe-tweet-meta">[<a href='#URL'>(#ENV*{created_at}|affdate_heure)</a>][
    9                 via (#ENV*{source})][
    10                 in reply to <a href='http://twitter.com/#ENV*{in_reply_to_screen_name}/status/#ENV*{in_reply_to_status_id}'>@(#ENV*{in_reply_to_screen_name})</a>]</div>
     1<div class="oe-imdb-block">
     2        <h4 class="oe-imdb-title title"><a href="#ENV{Url}">[<img src="(#ENV*{Poster})" />]#ENV{Title}</a></h4>
     3        <div class="oe-imdb-text">#ENV*{Plot}</div>
     4        <div class="oe-imdb-meta">[(#ENV*{Director}) ][((#ENV*{Year}))]</div>
    115</div>
  • _plugins_/oeproxy/paquet.xml

    r54710 r54718  
    22        prefix="oeproxy"
    33        categorie="outil"
    4         version="0.5.2"
     4        version="0.5.3"
    55        etat="experimental"
    66        compatibilite="[3.0.0-beta;["
Note: See TracChangeset for help on using the changeset viewer.