Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Rss Feed

I am looking to make an rss feed in my app and i have managed to get it to display the information but i cannot make it just display a couple of items at a time and none of the links works is there a way to get the individual links in the rss feed to work on the app? or would anyone viewing the app have to copy and paste the link? Image Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rss Feed

Hello! You would need to use Link component instead of Label.

Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Rss Feed

How would i get it to display just a couple of items?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rss Feed

Could you clarify where from you get data? Please check are there any parameters to limit results?

Jack Thompson
Posts: 0
Joined: Fri May 17, 2013 8:43 am

Rss Feed

I get the data from here: http://feeds.bbci.co.uk/sport/0/golf/...

how would i check for parameters?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rss Feed

There is no such parameters in your feed. You can try the following ways to limit results:
1) create Generic Rest Service. Here is more information https://getsatisfaction.com/apperyio/...

2) just hide some records. To do that:

  • create JS asset with code
    codevar count = 0, maxCount = 2;/code

  • before loading the service run JS code:
    codecount = 0;/code

  • in mapping from array to container (based on your screenshot it should be mapping from item to mobilegrid_42) add JS code:
    codeif (count > maxCount) {
    element.hide();
    } else {
    count++;
    }/code

Johnny6773854
Posts: 0
Joined: Mon Mar 31, 2014 7:11 am

Rss Feed

Thank you this works for my rss feed!!

Return to “Issues”