• Welcome to TodayPlus Boards v2.
 

News:

No news is good news.

Main Menu

RSS Data Limit

Started by Geezer, February 15, 2005, 10:33:42 AM

Previous topic - Next topic

Geezer

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. :-(
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

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

Geezer

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
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

jhollin1138

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.
Jim H

Geezer

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? :-)
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

jhollin1138

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;
Jim H

Geezer

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. :-(
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

Geezer

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
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

uk_skinner

I think after you downloaded it just rename the extension to txt.  Don't unzip it.

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.
Jim H

Broesel

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

Geezer

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. :-(
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

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

Geezer

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
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.

Geezer

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.
Toshiba e800, PPC2003 SE, 2.2 Gb MicroDrive, 512 CF, 512 SD, 2 Extended Batteries, Plus other excentric goodies.