yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] zard:
mike2nl,

Since you are able to read the feeds while I still can't, even with the latest WIP, can you share with me your feeds file? I'm using my own cooked rom with Manila 2018, so I have RSSHub (RSSHub_2_1_2_1116_01) running on home tab. If you are running a different package or RSSHub, can you upload for me please. Thanks.

Update:

meltwater,

I found the Channels.opml file for RSSHub at Device\Program Files\RSS Hub\ChannelData. I copied it to Storage Card\Program Files\RSS Hub\ChannelData but I still get same error message. Even after SR, still the same error message.
[Windows Mobile Software Development] meltwater:
My version of RSSHub is 2.1.2.1115 so it really shouldn't be that different - ok you've found your file.

UPDATE - OK SO YOUR VERSION IS PROBABLY SIMILAR THEN:

Ok try updating your registry key to point to "\Program Files\RSS Hub\ChannelData" where your channel.opml file is then. Also, any chance you can copy & paste the text from the exception details (or was that everything in the screenshot already)?

Otherwise I can run the read of the channels.opml file on my system with the debugger and see where it fails.

Ok, I think it may just not be finding it. I've found an error in that I check if the file was processed correctly but I didn't check correctly if I had found it. :(

Uploaded: 20100901B - WIP.zip

Note you will still get an error (but a proper one, not an exception) since the problem is the RSSUtil is not finding your file. You should be able change your registry key to look in the correct location.

"RSSFeed.FeedDataStore"="\Program Files\RSS Hub\ChannelData\" I expect.
[Windows Mobile Software Development] zard:
Attached are all the files in "\Program Files\RSS Hub\ChannelData".

If I changed registry to point to "\Program Files\RSS Hub\ChannelData", there is a pop-up window with error message:

##Invalid file at:\Program Files\RSS Hub\ChannelData\Ch160.xml

If registry points to "\Storage Card\Program Files\RSS Hub\ChannelData", the following errors appears:

[Read Data Error Message]

Error:

An unexpected error has occurred in RSSUtil.exe

Select Quit and then restart this program, or select Details for more information.

Details:

RSSUtil.exe

NullReferenceException

at

RSSUtil.RSSReader.generate_rssdata()

at RSSUtil.RSSReader..ctor()

at RSSUtil.Program.Main(String[] args)

[List Channels Error Message]

Error:

An unexpected error has occurred in RSSUtil.exe

Select Quit and then restart this program, or select Details for more information.

Details:

RSSUtil.exe

NullReferenceException

at RSSUtil.RSSChannels..ctor()

at RSSUtil.Program.Main(String[] args)
[Windows Mobile Software Development] meltwater:
Ok try "\Program Files\RSS Hub\ChannelData\" I should make it less fussy if that is the problem.

I'll give your file a try, but since the exception is in generate_rssdata(), it suggests that was the problem (trying to read from an object which hasn't been populated). Latest WIP should detect if it has not found the file now.
[Windows Mobile Software Development] zard:
Sorry, it was already "\Program Files\RSS Hub\ChannelData\", my fault.
[Windows Mobile Software Development] meltwater:
Ok I'll test the file tonight, probably something I've missed or slightly different in yours.

Yep you will get Invalid/No File for the Read Data option, unless you copy one of your feeds and name it Ch160.xml (that option is fixed to that filename).

UPDATE:

Just tried the "List Channels" using your Channels.opml file and it works fine. I'll try moving it to a different location and see if that works.

Yep that works too!
[Windows Mobile Software Development] zard:
Yes, I'm using latest WIP "20100901 - WIP".
[Windows Mobile Software Development] zard:
I did a rename of my existing feed to Ch160.xml and still had the same error for Run data and List Channels.

Maybe I should use the same RSS package that you are using. Do you have that?
[Windows Mobile Software Development] meltwater:
No it's preinstalled on my rom.

Your files are fine, and that is all the tab is using from RSSHub, I've got your RSS list showing fine on my device. I've even moved it to "\Program Files\RSS Hub\ChannelData\" and it works there too. WIP Package is 20100901B, I would only expect you to get errors stating "Invalid/No File..." instead of exceptions now.

Note: If it has worked then there will be no prompt after selecting Channel List...just press your "update now" button...or change tabs.

Double check your key is called "RSSFeed.FeedDataStore" I can't think of what else it could be.
[Windows Mobile Software Development] mike2nl:
I have upadeted now to 20100901B. I have changed the colors in the manila file 476C4205_manila to GTX. Re-compiled and it is working. More later..

EDIT 1:

i have used the files from zard. And i have moved my files to zard's folder.

OK in my registry i have \Storage Card\....

In the error message i have:

##invalid/No file at : \Storage Card\Program Files\RSS Hub\ChannelData\ Channels.opml

What i mean in is the 1x space before Channels.opml. Is this an mistake from the error popup

or is this in the source code? Possible an error?

EDIT 2:

when i use click on "Top Headlines", in 1st screenshot, i get the error in screenshto 2.

When i use the graphic on the right side , in 1st screenshot, i get the 3rd screenshot and this is OK, i think.

..

more later..
[Windows Mobile Software Development] meltwater:
I think I'll add a reg key for GTX (if not present it will default to non-GTX) then the colours can be correct without you needing to recompile that file (it's gonna be changing often).

Edit1: Good spot, will have a closer look when I've got the code in front of me. UPDATE: Nope I did add " " to it as well, I'll remove it anyway (it's not really needed and would help spot if there was a space in future).

Edit2: Might be since the registry keys are missing (I did add some to the reg file), will look into this (should handle things without them being there).
[Windows Mobile Software Development] mike2nl:
more now...

What i have used is:

- 20100901B

- files from zard

- RSSFeed.FeedDataStore = \Storage Card\Program Files\RSS Hub\ChannelData\

Report:

menu -> app test - rssutil.exe - test data -> run

wait for CPU load is nearly 3%

On main RSS Tab = update now = screenshot 1 = OK

menu -> app test - rssutil.exe - read data -> run

wait for CPU load is nearly 3%

On main RSS Tab = update now = screenshot 2 = OK

menu -> app test - rssutil.exe - list channels -> run

wait for CPU load is nearly 3%

On main RSS Tab = update now = screenshot 3 = OK

menu -> app test - rssutil.exe - select header -> run

wait for CPU load is nearly 3%

On main RSS Tab = update now = nothing happens

menu -> app test - rssutil.exe - select header link -> run

wait for CPU load is nearly 3%

On main RSS Tab = update now = nothing happens

menu -> app test - rssutil.exe - select item 22 -> run

wait for CPU load is nearly 3%

On main RSS Tab = update now = error popup screenshot 4

I think it is ok, because there are no 22 channels

Same test with read data before select item 22

On main RSS Tab = update now = error popup screenshot 4

I think it is NOT ok, because RSSFeed.ItemCount says = 22

menu -> app test - rssutil.exe - select item 0 link -> run

wait for CPU load is nearly 3%

On main RSS Tab = update now = nothing happens

menu -> app test - rssutil.exe - open settings page -> run

Settings pages comes up and i can work with it.

I hope that helps. If you need more tests, meltwater, please ask...
[Windows Mobile Software Development] janneman22:
so

button is a background image

made of 3 images

top

middle

bottom

and the transperant icon is displayed over the button

in total 4 images make one (stretchable) button?

please write this in your post. If that's right:D
[Windows Mobile Software Development] meltwater:
Yep you are spot on. The middle bit can be as small as 1 pixel high if required.
[Windows Mobile Software Development] janneman22:
and what style must the images are? glossy, gtx like or what ever

it should be better to have design as other parts of rsstab

(i just like the concept on the wiki, that style should be nice)
[Windows Mobile Software Development] meltwater:
I think fairly clean images, nice and clear. Hopefully colour for the status but that may not be GTX friendly.
[Windows Mobile Software Development] mike2nl:
meltwater, i can change everything :D:D. No problem when the icons are in color, i will hack it *lol
[Windows Mobile Software Development] meltwater:
Ok will see if we can address some of these.

[1] - only implemented clicking on header when looking at rss feed item list (which takes you to channel list) and when looking at channel list only rss feeds will do stuff.

[2] - not done links yet so thats OK

[3]&[4] - wouldn't be populated with suitable data to provide a link (but should have protection - error message or something)

[5] - not done links yet so thats OK (just left the media link in RSS Feed item list as it was for now)

The page the view is in will affect the result of the clicks (the sense tab will send the same command lines but the RSSUtil will look at the RSSFeed.PageLevel (//2=feed list 1=item list 0=item detail) - no item detail yet...

Tests you can do: populate the channel list, and then select different RSS feeds, they should then display the list of items. Then select the header, and it should take you back to the channel list, etc etc. After the initial population of the channel list, shouldn't need to run the RSSUtil directly.

Should be improved when tab reports what the RSSUtil is doing and then updates itself (& when icons are resized). Will try to remove the exception errors (so far it seems easier to isolate where they occur if I don't put general handlers in).

So any idea where Zard was going wrong?

Off topic: Also, what app gives you your cpu/mA readings?

GTX, can you post me the colour values/changes you make and I'll add a selection based on reg value at some point.
[Windows Mobile Software Development] mike2nl:
@meltwater:

>>Off topic: Also, what app gives you your cpu/mA readings?

BattClock = dutch app :D
[Windows Mobile Software Development] zard:
Hi meltwater and mike2nl,

With regards to the errors that I'm having:

1. My Channels.opml works for both of you, so these are not the problem.

2. My RSS Hub version is different, so this might be the problem, I'll cook the RSS Hub v2.1.2.1115.01 version to test.

3. My rom has NetCF3.7 cooked in. Could this be causing all those errors? I'm cooking a rom with NetCF from the shipped rom import to test.
[Windows Mobile Software Development] mike2nl:
[1&2] OK..

[3] i have read now in different threads that people with the 3.7 .NET have problems. The point is, this version is not official from MS and can give more problems then ever then the older versions. You can read this is xxx forums around the web.

Why you use this version? There are 2 different 3.5 versions.

- 2.0.7045.00 - ok the grandma :D

- 3.5.7283.00 - default

- 3.5.9198.00 - solves battery drain problems in CHT and others (scroll functions, ....). It is faster around 5..8%. Tested from me.

- 3.7.8345.00 - leaked and not certificated version also for windows 7 for windows mobile
[Windows Mobile Software Development] meltwater:
Yep from your list, only .net could be the problem. Unfortunately MS has put several bugs in .net since they've been working on wm6.5.x and wp7, but I think the focus has only been on fixing the wp7 ones, so we are left with some issues.

However...It is probably just my code not being careful about what it is doing...so I'll try to put more protection for things:

My common errors I've found are caused by trying to read registry values which haven't been created and not returning a default value to use (value ends up as "null" which causes problems later). Also if I write something to the registry which hasn't been populated (i.e. was missing from the xml) I need to make sure the data I'm trying to write is not "null".

These are the things which don't show up when I test since I've set the registry values and I've written the code to read specific files. I've corrected most of the entries but probably missed one or two, as it's something I've found after it was written.

It's things like:

int prevItemCount = (int)regkey.GetValue("RSSFeed.ItemCount");
regkey.SetValue("RSSFeed.FeedDetails", theRSSFeed.RSSFeedDetails.description);

Should be:

int prevItemCount = (int)regkey.GetValue("RSSFeed.ItemCount",0);
regkey.SetValue("RSSFeed.FeedDetails", theRSSFeed.RSSFeedDetails.description + "");

The rss hub version won't make any difference, we are just using the files it creates for now (which check out fine).

Hey that is one neat app! (not sure why I can't get % for cpu instead of * but still).

I particularly like that it will monitor registry values, could be quite handy for testing the RSSTab!
[Windows Mobile Software Development] zard:
Can you give me a link to download NetCF 3.5.9198.00 as cab or as package so that I can try?

I tested CF from my shipped rom with the older RSS Hub but I'm still having problem. Yes, I am using 'B' WIP, and had checked the registry also.
[Windows Mobile Software Development] mike2nl:
Hi zard,

no problem. Here are the file...
[Windows Mobile Software Development] zard:
Thanks mike2nl.

I've cooked the NetCF in and I'm getting even longer error messages now. Tried changing registry to point to device and storage card, same long error message.

You using Rhodium right? Which rom are you running? I want to give it a try.

I'm using 24631 build, Manila 2018.
[Windows Mobile Software Development] mike2nl:
Hi zard,

very strange you problem...but ok. My rom = signature, or here

HTC stock ROM original. With CHT, GTX and all the trouble tab's.

Only the meltwater tabs are running :D:D.

HTC Touch Pro 2 - dutch ROM
[Windows Mobile Software Development] mike2nl:
@meltwater:

>>Hey that is one neat app! (not sure why I can't get % for cpu instead of * but still).

Please see the screenshots. Edit text and then secelct with plus and minus CPU and then copy and paste the % character.

>>I particularly like that it will monitor registry values, could be quite handy for testing the RSSTab!

Yes, indead this helps to show things. Dutch software and dutch proved (DP) :D;)
[Windows Mobile Software Development] meltwater:
Yep I looked at that bit but not close enough. Cheers.

Thumbs up to the dutch software!

Will try to do some more at some point.
[Windows Mobile Software Development] zard:
So that means you are using WM 6.5.1 while I'm using WM 6.5.X. That probably tells us there are some differences of the WM build that might be causing the errors, unless meltwater is also using WM 6.5.1.

Meltwater,

What device and rom are you using?
[Windows Mobile Software Development] boa19861105:
Hello Is there zh-tw Language ?

Will there be cab?
[Windows Mobile Software Development] meltwater:
OK there are two things we can do here.

1. If by any chance you have access to visual studio you can debug the code directly on your device, you can single step to the point where it fails. If you don't intend to do dev work using visual studio, then this option is overkill (it takes a long time to setup and get working).

2. Much easier option, I can build a version which produces prompts for every step it goes through so you can easily debug it (option will be switched via reg key or special commandline option...). This may well be the better option as no doubt we will come across certain feeds which are formatted slightly differently etc.

For now, need to finish off the current bits:

- auto load of the screen after reading data

- better identification of feed id to get icons etc.

I suggest you hold off until I get that debug mode done, since even if we find it works on one build and not another, we will still need to work out why.

Although will be a while, things are busy on all sides at the moment.
[Windows Mobile Software Development] meltwater:
Also a note on sizing.

At the moment the orange icon I've got in my screen shot is "Width=39 Height=43" (that's just the size of the icon which was there before, not some zen design).

I think the button itself should not be more than 64 wide, that should be plenty of room for fingers without taking up too much space.

The media icon bit shouldn't be taller than the icon we have, so I suggest 40 high (which is around two lines of text which I would expect to be minimum height we'd go for an item - but this is flexible really), but the width can go up to the same as the button.

Of course I can only speak for my WVGA device, we can see how they fit on VGA etc later on. The graphics can be resized but obviously it helps to know the scale of things.
[Windows Mobile Software Development] mike2nl:
Hi zard,

i use wm6.5-pro, not wm6.5.1 ox any other .x, info says:

CE: 5.2.21887 (build 21887.5.0.86)

Manila: 2.5.20121225.0

Rom: 2.07.404.1 (80303) NLD

Date: 02/04/2010

EDIT 1:

zard, you have written in one of your last posts:

"\Storage Card\Program Files\RSS Hub\ChannelData\" to \Program Files\RSS Hub\ChannelData\".

Can you check in the registry in the rss data range if there somethging like

\\Storage Card\Program Files\RSS Hub\ChannelData\ or \\Program Files\RSS Hub\ChannelData\

I mean the doubble backslash. That was an issue on my isde and i had have the same problem.

Not all but some of them. MS is a little bit idiot about path names. We all know this.

Also if there a space between names in the path then you WILL have problems wit some software.

Not all, but i know this from XP, Vista and 7 stuff. You can read this in MS blogs.

On my side i have changed all to (dutch language):

\Opslagkaart\Programmabestanden\..\.. or \Programmabestanden\..\..

Means no spaces in the path name. And from up that moment i had not so much problems. Meltwater do you remember the doubble slash issue?

Possible an issue, i am not shure.
[Windows Mobile Software Development] meltwater:
Mines WM 6.5.3 according to the branch list.

As I said, hold off worrying too much about this, with extra debug option we can probably find it is something small in my code. Also I need to redo the xml reading code, I'm sure it shouldn't need to be as complicated as it is (I just jumped in with the 1st block of example code I found just to test things).

Things will just have to be done slowly, as 1 dev with no time = not a lot.
[Windows Mobile Software Development] mike2nl:
You are right meltwater. I think a special debug version will bring light in the darkness. And meltwater says ..light.. and it was light ;) in the code darkness.
[Windows Mobile Software Development] zard:
Sure. Since I was testing, I thought my testing steps and result would be useful for you.

Thanks.
[Windows Mobile Software Development] meltwater:
Yep, I'll go though them in more detail when I'm looking at the code again, thank you for the info. It's a puzzle that is for sure.

It's not an easy thing to test since it only functions only in a very specific way at the moment (that's what you get with half-baked code), so working out what does work and should work and what doesn't work but should work and what doesn't work but shouldn't work is a job in itself! Even I find it hard and I've done the code.
[Windows Mobile Software Development] mike2nl:
@meltwater:

you have written >> visual studio

Which version? I can install the most of them on my company laptop. Ok, i am not a windows coder, brrrr :). I am a realtime, multitasking, performance and time (taskclasses) orientated coder. PLC/SPS coder on UNIX (windmill) www.br-automation.com. This is my motherhouse. But i will take a look and when you can point me on it, i will help out where i can. Possible?
[Windows Mobile Software Development] meltwater:
By all means go for it!

I'm a embedded coder myself so mishmash .net isn't my strong point.

You will need either visual studio 2005 standard/pro or visual studio 2008 pro, but not visual studio 2010! Fortunately you can get 90 day trail versions of vs2008pro, which can last a surprisingly long time :D

I think this link will give you the info for setting up:

http://www.msdev.com/Directory/Description.aspx?eventId=1665

Cheers
[Windows Mobile Software Development] mike2nl:
This is what i have default installed on my company laptop:

Microsoft Visual Studio 2008 Professional Edition

I will follow the advise link :). I think i will have some question what do you have installed. I mean the SDK's but this will be a PM.
[Windows Mobile Software Development] janneman22:
here's another concept

comments welcome :)
[Windows Mobile Software Development] meltwater:
widows phone 7 style, like it, beyond my skills but perhaps someone out there will be up for it at some point!
[Windows Mobile Software Development] janneman22:
i could help you.

it looks a little like wp7.

colors are based at the concept on the wiki

If you like, i could custom it a little
[Windows Mobile Software Development] meltwater:
Well at the moment I'm gonna focus on the functional side, sense is a pain for doing layouts etc with (takes a lot of trial and error testing - no live debugging) so will leave switching the display around too much for now until the data side is sorted.

A wp7 concept RSS reader would be an interesting project/concept though, I bet it would be nice and easy with silverlight (seems to be better suited to graphics than .net).
[Windows Mobile Software Development] zard:
Very nice. As I'm not good in either graphics nor programming, I can only give my views. I'll like to suggest reducing the size of the "Unread items" and "New feeds" to give more space to the bottom information area. The bottom area can afford bigger fonts or line spacing to make it easier to read.
[Windows Mobile Software Development] zard:
I'm not good in either graphics nor programming, so option 2 is better. I will help to do the testing and provide the feedbacks when it is ready.
[Windows Mobile Software Development] zard:
I've read your posts on double backslash and after that, I was very careful to check on that. Unfortunately, my issues are not related to that. :-(

I'll wait for the next option 2 build and help with the testing, and hopefully we can nail down this problem eventually.
[Windows Mobile Software Development] meltwater:
The backslash issue was something I fixed in the software, so should be fine.

However, there is a possible issue of paths with a space in them in general with windows mobile (although the paths I've been using include them and been working for me). You can try putting quotes around the paths " ", although I would have expected to get problems myself if this was the issue.

But yeah wait for the debug version, that's the easiest option.
[Windows Mobile Software Development] mike2nl:
@meltwater:

The backslash issue is FIXED well.

@janneman22:

This is some thing for later when meltwater have a good running system.

Something like widget or skin function. We can support it together when

you are interested.

But when i skin this with GTX colors and shadows it will be a possible skin.
[Windows Mobile Software Development] janneman22:
sure. first we have to make a working tab. but when you need me, you can pm me
[Windows Mobile Software Development] mike2nl:
On thursday evening my new HD2 will be arrive. Then i have to install CHT from our group and then the FB and RSS tab. OR it is better without the FB tab. What do you mean meltwater?
[Windows Mobile Software Development] fabuloos92:
hi guys, i'm a noob

can i have a cab to install this wonderful tab?

or a tuto step by step?

thankssssssssssssss
[Windows Mobile Software Development] mike2nl:
Sorry to say that, but as noob you run in trouble. That's shure, because you must have some know how to solve things. Also for us it is sometimes very difficult to solve things, and this as doctor's ;). But you can read the first four postings from meltwater, and when you have read that and you mean you can handle it... there are two downloads in the first four postings. With that you can install these things.

This is BETA ware. Please think about that. In the worst case you have to hard reset your phone.