EPrints Technical Mailing List Archive
Message: #01292
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: RSS2 confused published date
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: RSS2 confused published date
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- Date: Fri, 9 Nov 2012 15:30:17 +0000
Hi John,
I'm making progress. I've done what you suggest:
$item->appendChild( $session->render_data_element(
2,
"dc:date",
$eprint->get_value( 'date' ) ) );
And, I've changed the pubDate in my new RSSPD.pm feed.
#my $datestamp = $eprint->get_value( "datestamp" );
my $datestamp = $eprint->get_value( "date" );
if( $datestamp =~ /^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/ )
{
my $time = timelocal( $6, $5, $4, $3, $2-1, $1 );
$item->appendChild( $session->render_data_element(
2,
"pubDate",
EPrints::Time::rfc822_datetime( $time ) ) );
Sent: 09 November 2012 12:01
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: RSS2 confused published date
Hi John,
Thanks for this. I've created a new citation but when I try to add date I get duplication (2007) 2007 in the description.
What I want to do is replace the pubDate which appears on the line above the description and is used to order the output.
Thanks,
Malcolm.
Sent: 08 November 2012 15:22
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: [EP-tech] Re: RSS2 confused published date
2,
"dc:date",
$eprint->get_value( 'date' ) ) );
The feed would then contain the dc:date field as well as the feed-published date.
John
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 08 November 2012 14:15
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: RSS2 confused published date
Hi John,
Many thanks for this. I added the elsif loop as you suggested and it worked, except for the one where I had updated the database and added the time. I reversed this change and made the time fields null again and that worked too. I still would like to have the book's published date, which at the moment is part of the eprint description, but I'm now not sure if that's possible.
Regards,
Malcolm.
Sent: 07 November 2012 16:45
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: [EP-tech] Re: RSS2 confused published date
John
Sent: 07 November 2012 12:27
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: RSS2 confused published date
Hi John,
Our web people want to use the RSS2 output from from the 'browse by author' output for the staff web CVs
Opening the RSS2 feed on the 'Browse by Author' output for 'Abbey, Robert M' gives me the date and the green arrows, which I also get on the 'latest_tool' link. The dates do appear to be the deposited dates.
I'll take a look at the link you've provided.
Many thanks,
Malcolm.
Sent: 07 November 2012 10:55
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: [EP-tech] Re: RSS2 confused published date
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 07 November 2012 10:29
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: RSS2 confused published date
John,
Many thanks, that explains.
But, why do I not get the RSS published date on my second example?
Is it possible to replace the RSS published date with the item's published date?
Thanks,
Malcolm.
Sent: 07 November 2012 10:04
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: [EP-tech] Re: RSS2 confused published date
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 07 November 2012 09:51
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] RSS2 confused published date
Hi,
I'm trying to get the published date to appear before that little green arrow on the RSS2 output, but what I get is the date of deposit. Here, looking at the page source, the document was published in (2007) but the top line shows the date it was deposited - 17th June 2008. The second example shows no top line even though the deposit and published date are entered. Looking at the top line in the first example, it is flagged as being the 'pubDate' so I would expect '2007' to appear and not 'Tue, 17 Jun 2008 15:19:13 +0100' Can someone give me a clue here? Why is the deposit date shown and not the published date? Why do some have no date at all? Is it something to do with null values for the published date?
Tue, 17 Jun 2008 15:19:13 +0100
A practical approach to conveyancing. 9th edition
http://isls-eprints-31.wmin.ac.uk/5176/
http://isls-eprints-31.wmin.ac.uk/5176/
Abbey, Robert M. and Richards, Mark B. (2007) A practical approach to conveyancing. 9th edition. Oxford University Press, Oxford, UK. ISBN 9780199212316
A practical approach to conveyancing. 8th edition
http://isls-eprints-31.wmin.ac.uk/2040/
http://isls-eprints-31.wmin.ac.uk/2040/
Abbey, Robert M. and Richards, Mark B. (2006) A practical approach to conveyancing. 8th edition. Oxford University Press, Oxford, UK. ISBN 019928945X
Regards,
Malcolm.
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
- References:
- [EP-tech] RSS2 confused published date
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: RSS2 confused published date
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- [EP-tech] RSS2 confused published date
- Prev by Date: [EP-tech] Re: How to link to another stage in workflow
- Next by Date: [EP-tech] Martin Hall's Defence of the UK Finch Committee Recommendations: Green or Gold? Open Access After Finch
- Previous by thread: [EP-tech] Re: RSS2 confused published date
- Next by thread: [EP-tech] help on plugin
- Index(es):