Ticket #992: coins-metadata.php.diff

File coins-metadata.php.diff, 1.7 KB (added by karnesky, 8 years ago)

diff to WordPress plugin to stop using an incorrect rfr_id

  • coins-metadata.php

    old new  
    33Plugin Name: COinS Metadata Exposer 
    44Plugin URI: http://www.zotero.org 
    55Description: Makes your blog readable by Zotero and other COinS interpreters. 
    6 Version: 0.5 
     6Version: 0.6 
    77Author: Sean Takats - Center for History and New Media 
    88Author URI: http://chnm.gmu.edu 
    99 
     
    3232                $cats = $cats . "&rft.subject=" . urlencode($cat->cat_name); 
    3333        } ?> 
    3434         
    35         <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=<?php echo(urlencode(get_the_title())); ?>&amp;rft.aulast=<?php echo(urlencode(get_the_author_lastname())); ?>&amp;rft.aufirst=<?php echo(urlencode(get_the_author_firstname())); echo $cats; ?>&amp;rft.source=<?php echo(urlencode(get_bloginfo('name'))); ?>&amp;rft.date=<?php the_time('Y-m-d'); ?>&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=<?php the_permalink(); ?>&amp;rft.language=English"></span> 
     35        <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Fdev.zotero.org%3Awordpress&amp;rft.title=<?php echo(urlencode(get_the_title())); ?>&amp;rft.aulast=<?php echo(urlencode(get_the_author_lastname())); ?>&amp;rft.aufirst=<?php echo(urlencode(get_the_author_firstname())); echo $cats; ?>&amp;rft.source=<?php echo(urlencode(get_bloginfo('name'))); ?>&amp;rft.date=<?php the_time('Y-m-d'); ?>&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=<?php the_permalink(); ?>&amp;rft.language=English"></span> 
    3636<?php  
    3737        return $content; 
    3838} 
    39 ?> 
    40  No newline at end of file 
     39?>