[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[curn-users] Problem calling RSSItem.getFirstContentOfType
- To: curn-users@xxxxxxxxxxx
- Subject: [curn-users] Problem calling RSSItem.getFirstContentOfType
- From: "scott w" <scottblanc@xxxxxxxxx>
- Date: Tue, 7 Aug 2007 16:03:01 -0700
- Authentication-results: wildbean.clapper.org from=scottblanc@xxxxxxxxx; sender-id=neutral; spf=neutral
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=fImXyhUfX+uInKHRVMLmJhXfrtrOVoDKx1QcqNxAv8ZIq4IUXAFXoIx7G0GT2o5FCAShaRPWT4AwV3VjlcybnRrunalRtSyVSXB4JLzM89MdgYAKIx7qim69i65nxvaQFHd7reH7IQULFIZgF+Ds2QIqqZnzNEAyFoTCl24+Tio=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Jsn/WP91Dg95kRskbVtyVy/U7DITtFZTVmXlcUfbe5JHtOhCZOINCZytFp6XHkmXKLl4tFAnv8ZuAmEMFCr/qhvSVMHRZCHi7cMuqS878Y5dK7K/EYqD6+5UGgH7xzVEXefOM1EWgi0wUwJfLEwQcaL2s4a8EShR6qugfSWc2kg=
- Sender: owner-curn-users@xxxxxxxxxxx
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.
thanks,
Scott
Back to curn-users archive.