TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: JS on November 10, 2003, 06:22:56 PM

Title: RSS Stocks Order Question
Post by: JS on November 10, 2003, 06:22:56 PM
All -

In the example below, how do I get the "ABC" stock to show first?  I have tried moving it around within line 10 & 11, but every time I do, something else just moves ahead of it on the Stock Display screen.

rss,9,20,http://www.xanadb.com/nav.pl?page=etc/templates/quotes.xtpl&cont_type=text/xml&symbols=^dji+msft+^gspc+wfc+^ixic,Stocks,0
rss,10,20,http://www.xanadb.com/nav.pl?page=etc/templates/quotes.xtpl&cont_type=text/xml&symbols=ABC+hpq+amd+dell+ibm,,0
rss,11,20,http://www.xanadb.com/nav.pl?page=etc/templates/quotes.xtpl&cont_type=text/xml&symbols=cc+ge+wmt+yhoo+coke,,0

Thanks for any help.
Title: RSS Stocks Order Question
Post by: joelw135 on November 10, 2003, 06:48:50 PM
Did you change the first number, which reflects the order of loading? Change the ABC to 9 and the other to 10.
Title: RSS Stocks Order Question
Post by: JS on November 10, 2003, 07:06:19 PM
Quote from: joelw135Did you change the first number, which reflects the order of loading? Change the ABC to 9 and the other to 10.

Well, no.  I actually want Line 9 to show first as I cycle.

It's just that moving "ABC" around within Line 10 or 11 doesn't seem to put it at the TOP of the second page of stock feeds.
Title: Re: RSS Stocks Order Question
Post by: arbitrajeu on November 10, 2003, 07:22:00 PM
Quote from: JSIn the example below, how do I get the "ABC" stock to show first?  I have tried moving it around within line 10 & 11, but every time I do, something else just moves ahead of it on the Stock Display screen.
I think this is a feed issue, rather than anything to do with TodayPlus.  However, trying a few things with the URL, I found that the following reliably returned ABC first in the XML (can't guarantee TodayPlus will then display it first - worth a try tho):

http://www.xanadb.com/nav.pl?page=etc/templates/quotes.xtpl&cont_type=text/xml&symbols=hpq+ABC+amd+dell+ibm
Title: Thanks
Post by: JS on November 10, 2003, 07:33:20 PM
Yeah, it's not actually "ABC" that I'm trying to get in the top of my list, it's another.  No matter where I place it in the order, it shows up down the list....

I'll live.
Title: RSS Stocks Order Question
Post by: wallacelee on January 16, 2004, 05:49:57 AM
Stock quotes returned from Xanadb doesn't have proper stock names. If I wanna display them in the Rss region, how can I do it?

I wanna hard code it like the following:

if stock quote = 1 then display stock name for 1 with quotes
else if stock quote = 2 then display stock name for 2 with quotes
.
.
.

THanks!

Wallace