<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi John,</p>
<p><br>
</p>
<p>I checked the plugins, which lead me to p<span style="font-family: Calibri, sans-serif; font-size: 16px;">erl_lib/EPrints/XHTML.pm as they call on subroutines in that file. </span><span style="font-family: Calibri, sans-serif; font-size: 16px;"></span></p>
<p><span style="font-family: Calibri, sans-serif; font-size: 16px;"><br>
</span></p>
<p><span style="font-family: Calibri, sans-serif; font-size: 16px;">Here's an example that I pulled from an
<a href="http://research.gold.ac.uk/cgi/exportview/goldsmiths/Banissy=3AMichael_J=2E=3A=3A/RSS/Banissy=3AMichael_J=2E=3A=3A.rss" id="LPlnk957342">
RSS feed on Goldsmiths</a> (within the description tag for each item):</span></p>
<p><br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px; background-color: rgb(255, 255, 255);"><description> Banissy, Michael
J. &lt;http://research.gold.ac.uk/view/goldsmiths/Banissy=3AMichael_J=2E=3A=3A.html&gt;; Jonas, Clare and Cohen Kadosh, Roi. 2014. Synesthesia: an introduction. Frontiers in Psychology, 5(1414), pp. 1-3. ISSN 1664-1078 [Article] </description></span><br>
</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">I'm trying to remove the following link, which is generated because the author has other items in the same repository:</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px; background-color: rgb(255, 255, 255);">&lt;http://research.gold.ac.uk/view/goldsmiths/Banissy=3AMichael_J=2E=3A=3A.html&gt;</span></span></p>
<p><span style="font-size: 12pt;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px; background-color: rgb(255, 255, 255);"><br>
</span></span></p>
<p>I'm stumped - I've tried turning off show_links and have also changed the _to_text_dump subroutine, which transforms <a> into " <href>" within the description tag.<br>
</p>
<p><br>
</p>
<p>Cheers,<br>
</p>
<p><br>
</p>
<p>Andrew<br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">--</span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif"><strong>Andrew Hercules</strong></span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Developer</span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Digital Archives & Research Technologies</span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">University of London Computer Centre</span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Senate House, Malet Street, London WC1E 7HU</span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">T: +44 (0)20 7863 1342</span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">E: andrew.hercules@ulcc.ac.uk </span></div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif">W: http://www.ulcc.ac.uk/</span></div>
<div><br style="font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
<div><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:10pt"><em>The University of London is an exempt charity in England and Wales. We are committed to achieving a 20% cut in emissions from University buildings by 2015. Please think before
you print.</em></span></div>
<p></p>
<p></p>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of John Salter <J.Salter@leeds.ac.uk><br>
<b>Sent:</b> 13 November 2015 17:00<br>
<b>To:</b> 'eprints-tech@ecs.soton.ac.uk'<br>
<b>Subject:</b> [EP-tech] Re: EPrints and RSS feeds</font>
<div> </div>
</div>
<div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hi,</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Have you got an example for us to take a look at?</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">In the RSS feed, there are probably links you want/need (e.g in the individual <item>s).</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">The RSS feeds are generated as an export from</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">~/perl_lib/EPrints/Plugin/Export/RSS.pm</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">or</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">~/perl_lib/EPrints/Plugin/Export/RSS2.pm</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">- the key to what you’re trying to do may well be in one of these…</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Cheers,</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">John</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
<b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
<b>On Behalf Of </b>Andrew Hercules<br>
<b>Sent:</b> 13 November 2015 16:39<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> [EP-tech] EPrints and RSS feeds</span></p>
</div>
</div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">
</p>
<div id="divtagdefaultwrapper">
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Hi everyone,</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Just wondering if anybody has experience changing the way that RSS feeds display citation information. I'm trying to eliminate links as they are adding an additional space
that's causing confusion with third-party sites that consume the RSS feed. </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">By default, in <i>perl_lib/EPrints/XHTML.pm</i>, show_links is enabled with show_links => 0. I tried changing the 0 to a 1 and to undef, but the link still persists. Likewise,
I also tried modifying the _to_text_dump subroutine in <i>perl_lib/EPrints/XHTML.pm
</i>by specifying that $contents .= "", but the link still shows.</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Any thoughts or suggestions on where else I should look would be much appreciated as I'm still learning the ins and outs of EPrints.</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Have a great weekend!</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Cheers,</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black">Andrew</span></p>
<p style="background:white"><span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
<div id="Signature">
<div id="divtagdefaultwrapper">
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">--</span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<strong><span style="font-family:"Calibri","sans-serif"; color:black">Andrew Hercules</span></strong><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">Developer</span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">Digital Archives & Research Technologies</span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">University of London Computer Centre</span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">Senate House, Malet Street, London WC1E 7HU</span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">T: +44 (0)20 7863 1342</span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">E: <a href="mailto:andrew.hercules@ulcc.ac.uk" style="color: blue; text-decoration: underline;">
andrew.hercules@ulcc.ac.uk</a> </span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black">W: <a href="http://www.ulcc.ac.uk/" style="color: blue; text-decoration: underline;">
http://www.ulcc.ac.uk/</a></span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<span style="font-family:"Calibri","sans-serif"; color:black"> </span></p>
</div>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; background: white;">
<em><span style="font-size:10.0pt; font-family:"Calibri","sans-serif"; color:black">The University of London is an exempt charity in England and Wales. We are committed to achieving a 20% cut in emissions from University buildings by 2015. Please think before
you print.</span></em><span style="font-family:"Calibri","sans-serif"; color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>