[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [curn-users] Problem calling RSSItem.getFirstContentOfType
On 8/7/07 7:03 PM, scott w wrote:
> I sent this to Brian directly but realize shouuld have probably sent to
> this mailing list first. Sorry Brian!
>
> The problem I have is that all of the items for all of the feeds I have
> tried return null when calling item.getFirstContentOfType (...). I've
> looked through the code very carefully and I don't see
> RSSItem.setContent ever get called.
>
> What I see happen is that when RSSItemAdapter is constructed it has a
> reference to a SyndEntry which itself does have a non-null value for
> content. But the contentMap which maps mime type to content never gets
> populated because setContent is never called anywhere and when
> RSSItemAdapter is eventually copied, the original content is also lost.
>
> So I'm wondering is whether this is a bug (can't imagine that it is
> given how important the content field) or what I am doing wrong/missing?
>
> Any feedback would be greatly appreciated.
Scott,
Can you do me a favor, and try the 3.2-alpha-9 release? It's not
public yet, which is why there's no link to it, but you can find it here:
http://www.clapper.org/software/java/curn/download/tmp/install-curn-3.2-alpha-9.jar
If it has the same bug, please let me know, and I'll look into it. But I'd
rather debug the current code base, obviously.
Thanks.
--
-Brian
Brian Clapper, http://www.clapper.org/bmc/
I must have a prodigious quantity of mind; it takes me as much as a
week sometimes to make it up.
-- Mark Twain, "The Innocents Abroad"
---
*** Posted to the curn-users mailing list (curn-users@xxxxxxxxxxx).
Back to curn-users archive.