Changeset 3708 for extensions/piclens/generate_rss.php
- Timestamp:
- Jul 30, 2009, 10:58:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/generate_rss.php
r3650 r3708 19 19 20 20 // extensions video 21 $py_addext = array("gvideo", "dm", "ytube", "wideo", "vimeo" );21 $py_addext = array("gvideo", "dm", "ytube", "wideo", "vimeo", "wat"); 22 22 $video_ext_piclens = array("flv"); 23 23 … … 654 654 { 655 655 case "dm" : 656 echo "< enclosureurl=\"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"; 657 657 break; 658 658 case "ytube": 659 echo "< enclosureurl=\"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"; 660 660 break; 661 661 case "wideo": 662 echo "< enclosureurl=\"http://www.kewego.com/swf/p3/epix.swf?language_code=fr&playerKey=0df9b773a15b&skinKey=7109c4112f57&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&playerKey=0df9b773a15b&skinKey=7109c4112f57&sig=".$sp[0]."\" type=\"application/x-shockwave-flash\" />\n"; 663 663 break; 664 664 case "gvideo": 665 echo "< enclosureurl=\"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"; 666 666 break; 667 667 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"; 669 672 break; 670 673 } … … 733 736 // Format : "Commentaire (Utilisateur - Date)" 734 737 $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']) 738 742 ? l10n('guest') 739 743 : $row['author'])
Note: See TracChangeset
for help on using the changeset viewer.