RSS channel's pubDate and lastBuildDate are mixed.

Description

In com.sun.syndication.feed.rss.Channel :
getLastBuildDate() always seem to return null;
getPubDate() returns pubDate correctly, but if pubDate tag isn't present in the RSS feed, content of lastBuildDate tag is returned instead.

This implies that in case both pubDate and lastBuildDate tags are filled, the contents of lastBuildDate can't be retrieved. In case only lastBuildDate is present, it can be read, but it's wrongly interpreted as pubDate.

Environment

1.0 version (of ROME Fetcher)

Activity

Show:
Vlastimil Fürst
June 28, 2013, 2:13 PM
Edited

Just in case it helps, the feed itself it's obtained this way:

In case I'm doing something wrong, please tell me. It is a code I took from a colleague who was leaving for a bigger company.

Assignee

Nick Lothian

Reporter

Vlastimil Fürst

Labels

None

Participants

None

Priority

Major