[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: RSS Feed Max. items
- Subject: [EP-tech] Re: RSS Feed Max. items
- From: Tomasz.Neugebauer at concordia.ca (Tomasz Neugebauer)
- Date: Fri, 19 Feb 2016 17:12:55 +0000
- In-reply-to: <EMEW3|cc3b1a7c14580a5ebc3f80b0ee3e85b9l919rv14eprints-tech-bounces|ecs.soton.ac.uk|10020153w23cb26f6k290520b7b73e6f18@mail.gmail.com>
- References: <913710300910010714tf796f32y72b4f6059049ea8c@mail.gmail.com> <7154BCBB8909D642AE6F44CA713DBC20011F70E8942D@HERMES7.ds.leeds.ac.uk> <EMEW3|79522257d96c4db37d054a0742492dc7l90FFy14eprints-tech-bounces|ecs.soton.ac.uk|10010714tf796f32y72b4f6059049ea8c@mail.gmail.com> <EMEW3|a421dbc2b5abe17a0e887ed134d4f897l90G3h14eprints-tech-bounces|ecs.soton.ac.uk|09D642AE6F44CA713DBC20011F70E8942D@HERMES7.ds.leeds.ac.uk> <913710300910020153w23cb26f6k290520b7b73e6f18@mail.gmail.com> <EMEW3|cc3b1a7c14580a5ebc3f80b0ee3e85b9l919rv14eprints-tech-bounces|ecs.soton.ac.uk|10020153w23cb26f6k290520b7b73e6f18@mail.gmail.com>
Does anyone know how to set the maximum number of items that are shown in the RSS export in EPrints?
I searched and found this thread from 2009 with the $self->{number_to_show} parameter described, but that doesn't seem to be working for me.
Thanks!
Tomasz
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of David Kane
Sent: October-02-09 4:53 AM
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: RSS Feed Max. items
Hi John,
You were right. Changing the RSS.pm solved the problem.
Thanks,
David.
2009/10/1 John Salter <J.Salter at leeds.ac.uk<mailto:J.Salter at leeds.ac.uk>>
Good question...
There's a 'max' value in [ep3]/cgi/latest_tool - that's set to 20 - and ignored.
There's another 'max' that can be set in cfg.d/search.pl for a view - but this is commented out in our archive.
EPrints/Plugin/Export/RSS.pm: $self->{number_to_show} = 10;
EPrints/Plugin/Export/Atom.pm: $self->{number_to_show} = 10;
EPrints/Plugin/Export/RSS2.pm: $self->{number_to_show} = 10;
-possibly the key? ;o)
Cheers,
John
________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>] On Behalf Of David Kane
Sent: 01 October 2009 15:14
To: EPrints.org Technical List
Subject: [EP-tech] RSS Feed Max. items
Hi,
The RSS feed is set to 10 items in EPrints3,
Can anyone tell me where is that number set?
Many Thanks,
David.
--
David Kane
Systems Librarian
Waterford Institute of Technology
Ireland
http://library.wit.ie/
T: ++353.51302838
M: ++353.876693212
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
--
David Kane
Systems Librarian
Waterford Institute of Technology
Ireland
http://library.wit.ie/
T: ++353.51302838
M: ++353.876693212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160219/43a2b1a9/attachment.html