Page 1 of 1

Rss Feed

Posted: Tue May 21, 2013 10:28 am
by Jack Thompson

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


Rss Feed

Posted: Tue May 21, 2013 11:08 am
by Maryna Brodina

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


Rss Feed

Posted: Tue May 21, 2013 11:40 am
by Jack Thompson

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


Rss Feed

Posted: Tue May 21, 2013 12:29 pm
by Maryna Brodina

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


Rss Feed

Posted: Tue May 21, 2013 12:41 pm
by Jack Thompson

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

how would i check for parameters?


Rss Feed

Posted: Tue May 21, 2013 1:40 pm
by Maryna Brodina

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


Rss Feed

Posted: Tue May 13, 2014 8:06 am
by Johnny6773854

Thank you this works for my rss feed!!