Changeset 59459 in spip-zone


Ignore:
Timestamp:
Mar 16, 2012, 3:57:26 PM (8 years ago)
Author:
cedric@…
Message:

Le proxy oembed sait importer storify

Location:
_plugins_/oeproxy
Files:
2 added
3 edited

Legend:

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

    r58064 r59459  
    3131                ',^https?://.*facebook.com/(people/[^/]+/(\d+).*|([^/]+$)),i' => 'facebook',
    3232                ',^http://(?:www.)?imdb.com/title/([^/]+),i' => 'imdb',
     33                ',^http://(?:www.)?storify.com/([^/]+)/([^/]+),i' => 'storify',
    3334#               ',^http://(www.)?amazon.fr/[^/]+/[^/]+/([^/]+)/,i' => 'amazon',
    3435
    3536        );
     37
    3638        static $support_formats = array(
    3739                'xml',
  • _plugins_/oeproxy/modeles/oeproxy/twitter.html

    r58815 r59459  
    1 <blockquote class="oe-tweet-block">
    2         <p class="oe-tweet-text">#ENV*{text}</p>
    3         <div class="oe-tweet-user-block">&mdash;
     1<blockquote class="twitter oe-quote-block">
     2        <p class="oe-quote-text">#ENV*{text}</p>
     3        <div class="oe-quote-user-block">&mdash;
    44                <a href="http://twitter.com/#ENV*{screen_name}"><img src="#ENV*{profile_image}">
    5                         <span class="oe-tweet-user-screen_name">@#ENV*{screen_name}</span></a>
    6                         <span class="oe-tweet-user-name">#ENV*{name}</span>
     5                        <span class="oe-quote-user-screen_name">@#ENV*{screen_name}</span></a>
     6                        <span class="oe-quote-user-name">#ENV*{name}</span>
    77        </div>
    8         <div class="oe-tweet-meta">[<a href='#URL'>(#ENV*{created_at}|affdate_heure)</a>][<span class='via'>
     8        <div class="oe-quote-meta">[<a href='#URL'>(#ENV*{created_at}|affdate_heure)</a>][<span class='via'>
    99                via (#ENV*{source})</span>][
    1010                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>
  • _plugins_/oeproxy/paquet.xml

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