Ignore:
Timestamp:
Jul 30, 2009, 10:58:32 PM (15 years ago)
Author:
tiico
Message:

Suppress render for comment and author
Add double select in piclenswall admin page + jquery
Add compatibility with wat.tv video and correct rdd feed to adapt with cooliris 1.11
Correct %I2 param for parser : without picture name, display picture file
Suppress slashes in "name" and "descriptions" parameters
Change version to 0.4.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/generate_rss.php

    r3650 r3708  
    1919
    2020// extensions video
    21 $py_addext = array("gvideo", "dm", "ytube", "wideo", "vimeo");
     21$py_addext = array("gvideo", "dm", "ytube", "wideo", "vimeo", "wat");
    2222$video_ext_piclens = array("flv");
    2323
     
    654654                                                {
    655655                                                        case "dm" :
    656                                                                 echo "<enclosure url=\"http://www.dailymotion.com/swf/".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
     656                                                                echo "<<media:content url=\"http://www.dailymotion.com/swf/".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
    657657                                                                break;
    658658                                                        case "ytube":
    659                                                                 echo "<enclosure url=\"http://youtube.com/v/".$sp[0].".swf\" type=\"application/x-shockwave-flash\" />\n";
     659                                                                echo "<media:content url=\"http://youtube.com/v/".$sp[0].".swf\" type=\"application/x-shockwave-flash\" />\n";
    660660                                                                break;
    661661                                                        case "wideo":
    662                                                                 echo "<enclosure url=\"http://www.kewego.com/swf/p3/epix.swf?language_code=fr&amp;playerKey=0df9b773a15b&amp;skinKey=7109c4112f57&amp;sig=".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
     662                                                                echo "<<media:content url=\"http://www.kewego.com/swf/p3/epix.swf?language_code=fr&amp;playerKey=0df9b773a15b&amp;skinKey=7109c4112f57&amp;sig=".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
    663663                                                                break;
    664664                                                        case "gvideo":
    665                                                                 echo "<enclosure url=\"http://video.google.com/googleplayer.swf?docid=".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
     665                                                                echo "<<media:content url=\"http://video.google.com/googleplayer.swf?docid=".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
    666666                                                                break;
    667667                                                        case "vimeo":
    668                                                                 echo "<enclosure url=\"http://vimeo.com/moogaloop.swf?clip_id=".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
     668                                                                echo "<<media:content url=\"http://vimeo.com/moogaloop.swf?clip_id=".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
     669                                                                break;
     670                                                        case "wat":
     671                                                                echo "<media:content url=\"http://www.wat.tv/swf2/".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n";
    669672                                                                break;
    670673                                                }
     
    733736                // Format : "Commentaire (Utilisateur - Date)"
    734737                        $commentstring .= ($first ?  '' : " / \n")
    735                                         .trigger_event('render_comment_content',$row['content'])
    736                                         .' ('. trigger_event('render_comment_author',
    737                                                                 empty($row['author'])
     738//                                      .trigger_event('render_comment_content',$row['content'])
     739                                        .empty($row['content']) ? '': $row['content']
     740//                                      .' ('. trigger_event('render_comment_author',
     741                                        .(empty($row['author'])
    738742                                                                ? l10n('guest')
    739743                                                                : $row['author'])
Note: See TracChangeset for help on using the changeset viewer.