File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes ROME : Unable to get full description of posts for a feed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "ROME : Unable to get full description of posts for a feed" Watch "ROME : Unable to get full description of posts for a feed" New topic
Author

ROME : Unable to get full description of posts for a feed

Amit Savani
Greenhorn

Joined: Mar 02, 2009
Posts: 17
Hi,

I am parsing feed from http://feeds.feedburner.com/Commercial_LCD_Monitors. But while getting description of each post I got few lines and then it gets truncated with ending [...] characters.

eg. content of sample post

<p class="features_description">Stand out from the crowds with a higher level of professionalism with the L305 mobile data projector. The 3000:1 ANSI lumens and advanced 3-chip LCD technology delivers images that are of the highest quality, realistic and sharp. Colours are not only [...]

Can anyone explain what is the issue and possible resolution if any?

Thanks & Regards,
Amit Patel


Regards
SCJP 1.4, SCBCD 5.0
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

This isn't in your hands. The site generates its RSS feed like that, any RSS client or API cannot modify the behavior of the feed...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Many sites don't include the full content in their feeds. It's probably part of a strategy to drive traffic to the actual web site.
Amit Savani
Greenhorn

Joined: Mar 02, 2009
Posts: 17
Ankit Garg wrote:any RSS client or API cannot modify the behavior of the feed...


I checked same feed with google reader where I can see whole post without truncation
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Interesting; looking at the link you posted, it does indeed have more content where the results you posted has the ellipsis. Maybe ROME has an option that can be set that determines this behavior?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

The page that you linked isn't an RSS feed itself. I clicked on the View Feed Xml on that site and in that the feeds have truncated content...
 
Consider Paul's rocket mass heater.
 
subject: ROME : Unable to get full description of posts for a feed
 
Similar Threads
study guide
Reason for getting null value in facebook feed post.
Cleared with 77%
voila!!!!!!!!!! 100%
RSS Feed