Ticket #992: coins-metadata.php.diff
| File coins-metadata.php.diff, 1.7 KB (added by karnesky, 8 years ago) |
|---|
-
coins-metadata.php
old new 3 3 Plugin Name: COinS Metadata Exposer 4 4 Plugin URI: http://www.zotero.org 5 5 Description: Makes your blog readable by Zotero and other COinS interpreters. 6 Version: 0. 56 Version: 0.6 7 7 Author: Sean Takats - Center for History and New Media 8 8 Author URI: http://chnm.gmu.edu 9 9 … … 32 32 $cats = $cats . "&rft.subject=" . urlencode($cat->cat_name); 33 33 } ?> 34 34 35 <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&rfr_id=info%3Asid%2F ocoins.info%3Agenerator&rft.title=<?php echo(urlencode(get_the_title())); ?>&rft.aulast=<?php echo(urlencode(get_the_author_lastname())); ?>&rft.aufirst=<?php echo(urlencode(get_the_author_firstname())); echo $cats; ?>&rft.source=<?php echo(urlencode(get_bloginfo('name'))); ?>&rft.date=<?php the_time('Y-m-d'); ?>&rft.type=blogPost&rft.format=text&rft.identifier=<?php the_permalink(); ?>&rft.language=English"></span>35 <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&rfr_id=info%3Asid%2Fdev.zotero.org%3Awordpress&rft.title=<?php echo(urlencode(get_the_title())); ?>&rft.aulast=<?php echo(urlencode(get_the_author_lastname())); ?>&rft.aufirst=<?php echo(urlencode(get_the_author_firstname())); echo $cats; ?>&rft.source=<?php echo(urlencode(get_bloginfo('name'))); ?>&rft.date=<?php the_time('Y-m-d'); ?>&rft.type=blogPost&rft.format=text&rft.identifier=<?php the_permalink(); ?>&rft.language=English"></span> 36 36 <?php 37 37 return $content; 38 38 } 39 ?> 40 No newline at end of file 39 ?>