220. File Comparison Report

Produced on Mon May 12 13:05:15 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

220.1 Files compared

# Location File Last Modified
1 Mon May 12 13:05:15 2008 UTC
2 Dolphin-v.6.1.0\inc\js jquery.dolRSSFeed.js Mon Apr 21 07:55:06 2008 UTC

220.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 59
Removed 0 0

220.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

220.4 Active regular expressions

No regular expressions were active.

220.5 Comparison detail

    1   // jQuery  plugin - D olphin RSS  Aggregato r
    2   (function( $){
    3       $.fn.d olRSSFeed  = function () {
    4           re turn this. each( func tion(){
    5                
    6                var $Con t = $(this );
    7                var iRSS ID = parse Int( $Cont .attr( 'rs sid' ) ||  0 );
    8                if( !iRS SID )
    9                    retu rn false;
    10                
    11                var iMax Num = pars eInt( $Con t.attr( 'r ssnum' ) | | 0 );
    12                var iMem ID  = pars eInt( $Con t.attr( 'm ember' ) | | 0 );
    13                
    14                $.getFee d( {
    15                    url:  'get_rss_ feed.php?I D=' + iRSS ID + '&mem ber=' + iM emID ,
    16                    succ ess: funct ion(feed)  {
    17                         if( window .console )  console.l og( feed ) ;
    18                        
    19                         var sCode  =
    20                             '<div  class="rss _feed_wrap per">';
    21                         var iCount  = 0;
    22                         for( iItem Id in feed .items ) {
    23                             var it em = feed. items[iIte mId];
    24                             
    25                             var oD ate = new  Date( item .updated ) ;
    26                             var sD ate = oDat e.toLocale String();
    27                             
    28                             sCode  +=
    29                                 '< div class= "rss_item_ wrapper">'  +
    30                                      '<div cl ass="rss_i tem_header ">' +
    31                                          '<a  href="' +  item.link  + '" targe t="_blank" >' + item. title + '< /a>' +
    32                                      '</div>'  +
    33                                      '<div cl ass="rss_i tem_info"> ' +
    34                                          '<sp an>' +
    35                                               ( sClockIc on != unde fined ? (  '<img src= "' + sCloc kIcon + '"  /> ' ) :  '' ) +
    36                                               sDate +
    37                                          '</s pan>' +
    38                                      '</div>'  +
    39                                      '<div cl ass="rss_i tem_desc"> ' + item.d escription  + '</div> ' +
    40                                 '< /div>';
    41                             
    42                             iCount  ++;
    43                             if( iC ount == iM axNum )
    44                                 br eak;
    45                         }
    46                        
    47                         sCode +=
    48                                 '< div class= "rss_read_ more">' +
    49                                      '<a href ="' + feed .link + '"  target="_ blank">' +  feed.titl e + '</a>'  +
    50                                 '< /div>' +
    51                             '</div ><div clas s="clear_b oth"></div >';
    52                        
    53                         $Cont.html ( sCode );
    54                    }
    55                } );
    56                
    57           }  );
    58       };
    59   })(jQuery) ;