TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: Geezer on February 15, 2005, 10:33:42 AM

Title: RSS Data Limit
Post by: Geezer on February 15, 2005, 10:33:42 AM
Is there a LIMITED amount of data that can be used from an RSS file?  I have 24 titles but I can only pull data from 17.  My theory, and I'm hoping I'm wrong, is that it's limited to the 0-17 range; giving a total of 18 titles.  Can anyone confirm this?  This could be a big bug but I always seem to find some limits in TP lately. :-(
Title: RSS Data Limit
Post by: Broesel on February 15, 2005, 11:11:23 AM
Quote from: GeezerIs there a LIMITED amount of data that can be used from an RSS file?  I have 24 titles but I can only pull data from 17.  My theory, and I'm hoping I'm wrong, is that it's limited to the 0-17 range; giving a total of 18 titles.  Can anyone confirm this?  This could be a big bug but I always seem to find some limits in TP lately. :-(

Don't know, if there is a limit, but I use an rss-feed from

earthqake.usgs.gov

http://earthquake.usgs.gov/recenteqsww/catalogs/eqs7day-M5.xml

It has more then 18 titles and shows fine in the skin (limited by 20 in the skin itself)

I'm attaching the rss-file (rename to txt from zip)

Regards Broesel
Title: RSS Data Limit
Post by: Geezer on February 15, 2005, 12:01:47 PM
Dang it!  I thought I was on to something. :-)  Thanks for the quick response.  I'll take a look at your link when I get home and see what's going on.  Perhaps it's something in my config that's causing the limitation.  If I can get your link to display correctly, then it's my rss feed perhaps. But that wouldn't explain my file.  I use a static text file (in RSS format) to display some text.  But it only displays 1-17.  I've gone over the code many times and don't see ANYTHING that contradicts the rest of the code in the same area.  Thanks again..

Geezer
Title: RSS Data Limit
Post by: jhollin1138 on February 15, 2005, 12:15:55 PM
There were some string and "item" limitation in RSS version 0.91. The limit of the number of "items" was 15.  I believe all limitations were removed with RSS version 0.92.

BTW, I have my forum feed set to 15.
Title: RSS Data Limit
Post by: Geezer on February 15, 2005, 12:19:33 PM
Quote from: jhollin1138There were some string and "item" limitation in RSS version 0.91. The limit of the number of "items" was 15.  I believe all limitations were removed with RSS version 0.92.

BTW, I have my forum feed set to 15.

This explains a few things.  Thanks..  I think my script is in .91.  Now when you say your forum feed is set to 15, are you talking about the specific TodayPlus forum or can you limit the RSS feeds we use that are hosted here to only 15?  Is that a long question or what? :-)
Title: RSS Data Limit
Post by: jhollin1138 on February 15, 2005, 02:02:14 PM
Quote from: GeezerThis explains a few things.  Thanks..  I think my script is in .91.  Now when you say your forum feed is set to 15, are you talking about the specific TodayPlus forum or can you limit the RSS feeds we use that are hosted here to only 15?  Is that a long question or what? :-)
I am referring to the actual RSS feed for my forum (btw, v0.92), not all the additional feeds that I am also hosting.

As far as more forum feed, I am running a PHP script to actually do the feed.  I have the ability to increase or decrease the number of feed "item" from forum it is feeding.
// How many posts do you want to returnd (count)?  Specified in the URL with "c=".  Defaults to 15, upper limit of 50.
$count = ( isset($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : 15;
$count = ( $count == 0 ) ? 15 : $count;
$count = ( $count > 50 ) ? 50 : $count;
Title: RSS Data Limit
Post by: Geezer on February 15, 2005, 02:38:41 PM
Quote from: jhollin1138As far as more forum feed, I am running a PHP script to actually do the feed.  I have the ability to increase or decrease the number of feed "item" from forum it is feeding.
// How many posts do you want to returnd (count)?  Specified in the URL with "c=".  Defaults to 15, upper limit of 50.
$count = ( isset($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : 15;
$count = ( $count == 0 ) ? 15 : $count;
$count = ( $count > 50 ) ? 50 : $count;

Thanks for the insite Jim.  But I'm still thinking something is wrong locally on my PPC.  I can't seem to view any feed past the 17th thread.  I'm using a RSS formatted text file with 24 titles.  But I can only see up to the 17th one.  I've tried changing the skin code to show item number 18 or 24 in the 16th slot but it still doesn't show.  I'm going to do some more investigating when I get home.  But I don't get it yet. :-(
Title: RSS Data Limit
Post by: Geezer on February 15, 2005, 05:31:45 PM
Quote from: Broesel
Quote from: GeezerIs there a LIMITED amount of data that can be used from an RSS file?  I have 24 titles but I can only pull data from 17.  My theory, and I'm hoping I'm wrong, is that it's limited to the 0-17 range; giving a total of 18 titles.  Can anyone confirm this?  This could be a big bug but I always seem to find some limits in TP lately. :-(

Don't know, if there is a limit, but I use an rss-feed from

earthqake.usgs.gov

http://earthquake.usgs.gov/recenteqsww/catalogs/eqs7day-M5.xml

It has more then 18 titles and shows fine in the skin (limited by 20 in the skin itself)

I'm attaching the rss-file (rename to txt from zip)

Regards Broesel

I get this file as a corrupted zip file.  Can you verify that?  Thanks  Geezer
Title: RSS Data Limit
Post by: uk_skinner on February 15, 2005, 06:28:07 PM
I think after you downloaded it just rename the extension to txt.  Don't unzip it.
Title: RSS Data Limit
Post by: jhollin1138 on February 15, 2005, 11:11:27 PM
Quote from: uk_skinnerI think after you downloaded it just rename the extension to txt.  Don't unzip it.
Yep, it worked fine for me.
Title: RSS Data Limit
Post by: Broesel on February 16, 2005, 02:07:28 AM
Quote from: jhollin1138
Quote from: uk_skinnerI think after you downloaded it just rename the extension to txt.  Don't unzip it.
Yep, it worked fine for me.

Sorry but I can't attach txt-files so I allways rename it to zip
(but wrote that in my post)

Regards Broesel
Title: RSS Data Limit
Post by: Geezer on February 16, 2005, 07:18:02 AM
Sorry, I missed the part about renaming it.  I did get your feed to work without any problems.  I've also discovered what I think is causing my problem.  I haven't had the time to prove it yet but I think the RSS file can only be so big.  Mine was sitting ar 16k, I think, and the latter part of the text wouldn't work.  But If I split the file in half, the latter part of the text will display.  So, I'm still working it.  I sure hope I get this fixed soon.  It's causing me to delay the documentation that much longer. :-(
Title: RSS Data Limit
Post by: Broesel on February 16, 2005, 07:39:39 AM
Quote from: GeezerI haven't had the time to prove it yet but I think the RSS file can only be so big.  Mine was sitting ar 16k, I think, and the latter part of the text wouldn't work.  But If I split the file in half, the latter part of the text will display.

Hmm, that looks like TodayPlus uses a Buffer, that is limited to size
of the RSS-Feed. Maybe you should post your rssx.txt here so we can try to
use it and see, if the issues are on other PPC too.

Regards Broesel
Title: RSS Data Limit
Post by: Geezer on February 16, 2005, 11:20:22 AM
Quote from: Broesel
Quote from: GeezerI haven't had the time to prove it yet but I think the RSS file can only be so big.  Mine was sitting ar 16k, I think, and the latter part of the text wouldn't work.  But If I split the file in half, the latter part of the text will display.

Hmm, that looks like TodayPlus uses a Buffer, that is limited to size
of the RSS-Feed. Maybe you should post your rssx.txt here so we can try to
use it and see, if the issues are on other PPC too.

Regards Broesel

Yep, that's exactly what it's looking like.  I just completed splitting the rss file and modified the code accordingly.  Guess what...it worked.  So, currently I'm using 2 seperated RSS.txt files and all is bliss.  However, the code, I've been told is not not optimized so I will work to do that AFTER I get this version released.  At least now it's running the way I envisioned it.  I'll load it up to here later tonight AFTER I get home from work.  Thanks again for all the help..

Geezer
Title: RSS Data Limit
Post by: Geezer on February 17, 2005, 10:09:31 AM
Quote from: Broesel
Quote from: GeezerI haven't had the time to prove it yet but I think the RSS file can only be so big.  Mine was sitting ar 16k, I think, and the latter part of the text wouldn't work.  But If I split the file in half, the latter part of the text will display.

Hmm, that looks like TodayPlus uses a Buffer, that is limited to size
of the RSS-Feed. Maybe you should post your rssx.txt here so we can try to
use it and see, if the issues are on other PPC too.

Regards Broesel

Sorry, it looks like I forgot again to upload that file.  I'll try again this evening.  I'm cuirous to see if you can prove my issue.
Title: RSS Data Limit
Post by: Geezer on February 17, 2005, 10:16:43 PM
Broesel,
 Check you mail. :-)
Title: RSS Data Limit
Post by: Broesel on February 18, 2005, 02:59:09 AM
Quote from: GeezerBroesel,
 Check you mail. :-)

@geezer: got it, will test, when I get home from work :)

Regards Broesel
Title: RSS Data Limit
Post by: Geezer on February 18, 2005, 05:45:50 AM
Quote from: Broesel
Quote from: GeezerBroesel,
 Check you mail. :-)

@geezer: got it, will test, when I get home from work :)

Regards Broesel

Now THAT'S funny!   :rofl:   And I, for one, certainly undertand.. HAHAHA!!
Title: RSS Data Limit
Post by: Broesel on February 18, 2005, 12:50:59 PM
Quote from: Geezer
Now THAT'S funny!   :rofl:   And I, for one, certainly undertand.. HAHAHA!!

:D  :D  :D

Well, I tested the file and ......  yes, it only shows 17 of the titles
after that everything is blank. So I assume, it must be
limited in the size.

Sorry, no better message
Regards Broesel
Title: RSS Data Limit
Post by: Geezer on February 18, 2005, 08:28:09 PM
Ok, Cool, sorta.  At least it's something that we know now and can work around... knowing TP's limitations.  Thanks for the help..
Title: RSS Data Limit
Post by: ArcaTaurus on March 07, 2005, 09:13:09 AM
In my experience with TD, the limitation are 65 Items for the RSS.
Title: RSS Data Limit
Post by: Geezer on March 07, 2005, 01:10:41 PM
Quote from: ArcaTaurusIn my experience with TD, the limitation are 65 Items for the RSS.

Wow, that's quite a test to start off with.  There are other limitations of the RSS too.  Like the amount of data that is allowed in any ONE description.  Thanks, that's good info to know.  But then again, that's what this thread is all about. :-)