Discussion Forums  >  Uncategorized

Replies: 8    Views: 397

bladeboy
Android Fan
Profile
Posts: 34
Reg: Apr 24, 2011
Sheffield, Engl...
340
07/16/11 02:07 AM (14 years ago)

RSS - is it possible to set truncation points?

I've been building something that is pretty reliant on RSS feeds and am looking to be able to manage the amount of info that is displayed in the app for each item. Currently it automatically truncates the title at a very small number of characters so most items barely get across the actual topic of the posting. Is it possible to set it to show the full title and wrap the text? Also the 'summary' field - is it possible to manually set the character length for that? I'm also pulling in twitter posts as an RSS so the tweet is actually the summary field (done via yahoo pipes) and it seems to cut off at about 120 chars - which is a bit of a pain when dealing with Twitter! Being an Android what I've built so far is in V1.4 - have got V1.5 now but there doesn't seem to be this option in there either? Or am I missing something?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/16/11 02:37 AM (14 years ago)
For sure this is doable in v1.5. Have a look at the Advanced Settings in the RSS screen properties. Also, it sounds like you're more skilled than many users. Because of this, you may end up getting better results if you build your own Menu from a backend data source. Kind of like RSS but far greater control. The docs explain this. Create a new v1.5 app, load it's control panel then use the Documentation link on the left.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
07/16/11 06:21 AM (14 years ago)
Is Android v1.5 out?! Where?!
 
bladeboy
Android Fan
Profile
Posts: 34
Reg: Apr 24, 2011
Sheffield, Engl...
340
like
07/16/11 06:25 AM (14 years ago)
@david Thanks - got round it by creating an RSS badge in Pipes and then embedding that onto the page - works great like that (and gets around the android-no-scroll issue). @raveyd - no, I was just playing with the general config of V1.5
 
Going-Viral
Apple Fan
Profile
Posts: 120
Reg: Jun 13, 2011
Doncaster
1,200
like
07/16/11 12:08 PM (14 years ago)
Bladeboy, Sheffield? Another Yorkshire lad on here :-) I'm struggling with another RSS issue, might help if I knew Objective-C, but everyone has to start somewhere :-)
 
bladeboy
Android Fan
Profile
Posts: 34
Reg: Apr 24, 2011
Sheffield, Engl...
340
like
07/16/11 12:34 PM (14 years ago)
@Going-Viral - I can't claim to be any expert in RSS - I just knocked something up in Pipes which does all the hard work for you. Problem is it's potentially throttled and falls over quite easily when it hits something it's not expecting. But yes - am from Sheffield.
 
Going-Viral
Apple Fan
Profile
Posts: 120
Reg: Jun 13, 2011
Doncaster
1,200
like
07/16/11 12:37 PM (14 years ago)
Pipes? Is this something like Nimblekit?
 
bladeboy
Android Fan
Profile
Posts: 34
Reg: Apr 24, 2011
Sheffield, Engl...
340
like
07/16/11 01:15 PM (14 years ago)
http://pipes.yahoo.com/pipes/ - it mashes up multiple RSS feeds and allows you to manipulate them (eg amend the content on the fly, filter stuff out or in etc) I'm using it output a twitter list as rss (which twitter doesn't allow for some reason even though it's in the api)
 
Going-Viral
Apple Fan
Profile
Posts: 120
Reg: Jun 13, 2011
Doncaster
1,200
like
07/16/11 01:23 PM (14 years ago)
Good tip, thanks :-)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.