yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] meltwater:
I'm only on my phone at the moment so could you post the details of the errors you are getting. Previously setup was quite specific, with locations hard coded, I hope the current build is more flexible.

1. Make sure your channel data directory is specified in the registry key (post what you have set it to).

2. I think for your 1st run, populate the channel list by running the exe directly and selecting Channel List. After that you may need to reload the tab to see the list if it worked, by leaving and returning or left softkey. Then you should be able to navigate the feeds.

3. Note at the moment I've only disabled the facebook functions and it is based on the normal facebook tab so the normal version of the fbtab must work on your version of sense (I.e.non 192x and some other builds which need to use the patch).

4. Make sure you add the keys from the .reg, the PageLevel and Refresh state are important now.

Will look at the errors in detail when back on pc.
[Windows Mobile Software Development] zard:
Here it is, same as what you had provided:

REGEDIT4

[HKEY_CURRENT_USER\Software\HTC\Manila]

"RSSFeed.LaunchAppSel"=dword:0

"RSSFeed.LaunchAppName0"="RSS Util Debug"

"RSSFeed.LaunchApp0"="\\Program Files\\RSSUtil\\RSSUtil.exe"

"RSSFeed.LaunchAppArgs0"=""

"RSSFeed.RSSUtilExe"="\\Program Files\\RSSUtil\\RSSUtil.exe"

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

"RSSFeed.PageLevel"=2

"RSSFeed.RefreshState"=0

Ran rssutil.exe from Resco Explorer. Here's the error message:

##File Error

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

Used MS rss hub to select endgadget, then updated feeds. Copied Channels.opml from c:\program files\rss hub\channeldata to storage card\program files\rss hub\channeldata

Ran rssutil.exe with resco explorer, selected List, and got the following error:

An unexpected error has occurred in rssutil.exe.

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

Yes, Facebook v1.6 tab is working fine. I'm using Manila 2016 People Tab, and the rest of tabs are Manila 2018/2019. I have other tabs like ManilaTV, Radio, CallHistory, Stock, Twitter, Document Browser, e-Reader, etc.

Yep, as shown above.
[Windows Mobile Software Development] meltwater:
Thanks for going through it again for me. Will try to find where you posted the channel file and test it on mine. Sounds like it is set up correctly, so if it works on mine its probably a .net issue.

Will create some test files if needs be and work out where the error is.
[Windows Mobile Software Development] zard:
If you remember (you can check previous posts of mine), I had tested different versions of .net on my device (old to new) and all gave errors, but slightly different errors though. Since the previous test, my wm build had changed to 23690 but still I'm getting the same error messages.

BTW, do you have RSS Hub in your rom? I haven't tried running your RSS Tab without RSS Hub cooked in. It's just a wild guess.
[Windows Mobile Software Development] meltwater:
Yep I do remember now (hard to search on phone). I only use the files generated from the hub, the list is only from the channels.opml file. just checked and it still loss fine on my device.

Will generate some basic blank/minimal opml files to try and some debug info in the exe.

UPDATE:

Added test files to the zip, ChBlank will generate no entries (will populate with facebook data instead simply because I set it to default to it). ChSmall will show two entries (for some reason 1 still populates with facebook data - I'll see if I can spot why that is another time...) and then your original file.

Just found your original post:

http://xdaforums.com/showpost.php?p=7950803&postcount=112

According to the exception, you get to generate_rssdata(), in the code I open and read the file in generate_rsslist() and then I step through the data objects I've created in generate_rssdata(). Note this must have been when you have requested listing of a particular feed rather than the channels. For the channel list I read the file in generate_channellist() and then continue to go through the data items in the main constructor (so the details of the error message might give me more info...).

Let me know how you get on. Will look into generating a RSSUtil.exe with some extra debug tomorrow.
[Windows Mobile Software Development] meltwater:
Just a thought (been looking through the code), what is the path of your item icon files, just realised these are still hardcoded to:

"\Program Files\RSSUtil\Icons\"

Will try to update the code to make this relative to the exe location. DONE in latest release.
[Windows Mobile Software Development] meltwater:
WIP - 04 Oct 2010

1. Removed the need to have Ch160-Logo2.img

(can be removed from "RSS Hub\ChannelData" location. No longer used by tab.)

2. Added RSSIcon.png to "RSSUtil\Icons"

(Ensure you include this in your directory. Used as default header icon.)

3. Header now should populate with FeedIcon or Default RSS Icon.

4. Added debugging #define

(will keep enabled at the moment) which generates "RSSUtilDebug.xml" in "\RSSUtil\". Please include if you get exception errors etc, more debug will be added as we go)

Available from the latest checkin.

NOTE: I've now removed the old zip files from the 1st few posts, so only source of files is directly from the codeplex page.

What area would people like improved next? I can't promise I'll do it in that order, but it may sway my choice!

At the moment my thinking is if I can get a basic Item View created, I can perhaps tidy things up and get the tab ready for an initial release...
[Windows Mobile Software Development] zard:
Using this latest build. Attached is my "RSSUtilDebug.xml". The screen error is:

------

An unexpected error has occurred in RSSUTIL.exe

Select Quit and then restart this

program, or select Details for more

information."

Details show the following:

"RSSUtil.exe

NullReferenceException

at

RSSUtil.RSSChannels.generate_channellist()

at RSSUtil.RSSChannesl..ctor()

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

------
[Windows Mobile Software Development] meltwater:
Make sure you post the DebugFile from the same session (at the moment it is set to delete and create a new log file each time you run). It looks like the log file is from viewing a rss feed rather than the channel list, like the exception suggests.

Although I can see it doesn't get to the end in that instance either... Should have a new build up soon, which hopefully avoids some of the places we could be getting null exception.

OK New Build Available...Hold that 4th Aug V2 is not right, even I'm getting errors will sort it out later tonight

DETAILS:

The registry values weren't cleared correctly, found that trying to delete a key which doesn't exist produces "Value not as expected exception" rather than ignoring it. I wrongly thought by using the version of the function which doesn't specify the type of exception it reports would mean it ignores it instead, now fixed by putting in try& blank catch.
[Windows Mobile Software Development] meltwater:
4th Aug V3 - Seems to be better.

@zard

Hopefully might sort out your issues.

I think I'll try to make the log file stay for the current day, I just don't want it to get too big or have too much data to look through.

I'm interested to see if the Item View is working, it's using the WebBrowser control which has caused me problems in the past (well others when testing not me directly), but there is no simple alternative (although I can probably add an option to open directly in your default browser instead).
[Windows Mobile Software Development] zard:
I tested 3544 and 3552.

I usually do a List Channels first before Read Data and I will encounter problem. For the test 3544, I did it that way. I have the debug xml captured for list channel, list data and test data. The error message for list data is:

##File Error

##Invalid/No file at : \Storage Card\Program Files\RSS Hub\

ChannelData\ \Storage Card\Program Files\RSS

Notice that there is a space before "\Storage Card..." and a double "\Storage Card\..." after the "...RSS Hub\ChannelData\". Previously, no such double issue but the space before "\Storage Card..." was there all the time.

The error message for list channel was provided in yesterday's feedback.

For 3552, I did a more detailed documentation of my testing for your reference.

1. Setup RSS Hub for Cnet News.com and Engadget Mobile.

2. Pulled down the feeds for both of them within RSS Hub.

3. Copied the following files from \Program Files\RSS Hub\ChannelData over to \Storage Card\Program Files\RSS Hub\ChannelData

- Ch102-Logo.img

- Ch102.xml

- Ch104-Logo.img

- Ch104.xml

- Channels.bak

- Channels.opml

Note that Ch160-Logo.img and Ch160.xml (test data) are already in \Storage Card\Program Files\RSS Hub\ChannelData.

4. Slide tab to Facebook tab.

5. Slide to RSS Tab.

6. Command Line - Read

7. Slide away from RSS Tab and slide back to RSS Tab.

8. RSS Tab had been populated with Test Data (GeekBeat.TV....)

9. Command Line - List

10. Slide away from RSS Tab and slide back to RSS Tab.

11. RSS Tab shows CNET News.com and Engadget Mobile.

12. Command Line - Read

13. Slide away from RSS Tab and slide back to RSS Tab.

14. RSS Tab had been populated with Test Data (GeekBeat.TV....)

Deleted Ch160-Logo.img and Ch160.xml (test data) from \Storage Card\Program Files\RSS Hub\ChannelData.

1. Slide to RSS Tab.

2. Command Line - Read

3. Error message appeared

##File Error

##Invalid/No file at : \Storage Card\Program Files\RSS Hub\

ChannelData\ \Storage Card\Program Files\RSS

My analysis:

1. RSSUtil.exe is not reading data properly except test data. Your correction of not hardcoding location seems to be not working, but ending up with double location being hardcoded.

2. RSSUtil.exe is now able to list channels list channels.opml that was created by RSS Hub.
[Windows Mobile Software Development] zard:
Regarding Item View, are you referring to click the listed rss feed from RSS Tab? I clicked on either CNET News.com and Engadget Mobile icons and my PIE open with a blank page. In the URL space above, it showed \Storage Card\Program Files\RSS Hub|ChannelData\Ch102.xml or Ch104.xml. If I click on either of them not on the icon, nothing happens.

And in case you want the files I copied from RSS Hub, here it is attached.
[Windows Mobile Software Development] zard:
command read data resulted in the following error:

##File Error

##Invalid/No file at : \Program Files\RSS

Tested that and the result is above. Even if I left it as per your reg, the difference is only the additional \Storage Card appearing.

I compared by file size and even creation date and time, all files are the same but creation date and time are changed. So the only way was to copy over everything from new build.

BTW, in order to prevent all data from previous build testing, I deleted all registry entries and added new registry entries before testing.
[Windows Mobile Software Development] meltwater:
If you click on the change set it will show you:

Change	File

edit	Build/Program Files/RSSUtil/RSSUtil.exe

edit	Source/RSSUtil/bin/Debug/RSSUtil.exe

edit	Source/RSSUtil/Program.cs (view diff)

edit	Source/RSSUtil/RSSChannels.cs (view diff)

edit	Source/RSSUtil/RSSReader.cs (view diff)

Sorry I changed the test file to Ch199.xml, my bad! (I was checking what error message I got when the file was not present!)

Can you load the channel list ok?

If so then try selecting one of the items.

Note: I have found that Atom format feeds are not supported yet (working on that now). The xml file will start:

<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet...

I'll have a look through your feeds and see which may have issues, but non-Atom feeds should load fine (out of the 25 I have only about 2 are atom feeds).

Obviously I'll need to test things a little before I can say it handles Atom feeds ok.

I'll add your test feeds to my list to make sure they are handled correctly.
[Windows Mobile Software Development] zard:
So for the above instance, does it mean that the only change file is RSSUtil.exe?

Need your clarification here. Is RSSUtil read data supposed only to be able to read your test data or is it supposed to be able to read data from RSS Hub?

Test data (Ch160.xml or Ch199.xml)

RSS Hub data (Ch102.xml and Ch104.xml)

Yes, I can read the channel list from RSS Hub, but not the individual feeds within each of the channel (error message appears as explained in red fonts in my earlier post). If I click on the text area of the channel within the channel list, nothing happens.

Here's some good news.

1. Command read test data, slides out of rss tab and back to it again, I see test data.

2. Click on first row of text area.

3. Rss tab shows List of updates of feeds for first channel list.

4. Click on first row of text area again.

5. White screen showing details of the feed appears. Text is too big and I can't scroll left or right nor change size of text.

I've captured the screen shots for your reference.

Analysis:

I'm thinking that you are trying to tell me that read data is not working for me because of the non-Atom feeds. That is why I had to read test data before I'm able to see the channel feeds items, which explains the above result.

I'm happy that there's some headways this few days. Cheers!
[Windows Mobile Software Development] zard:
You need to update your RSSapp.reg values for line 9 and 10 to have open and close inverted commas. See below:

"RSSFeed.PageLevel"="2"

"RSSFeed.RefreshState"="0"
[Windows Mobile Software Development] meltwater:
Good spot, in fact they should be dwords, as I hope to use them as numerical values:

"RSSFeed.PageLevel"=dword:2

"RSSFeed.RefreshState"=dword:0

File will be updated in next changeset (attached here too).

Just done some initial stuff for the manual in the wiki.

I've also updated the debug page so it shows you some of the key registry values, which might help out with testing [although you can see I use ^ and @ in my title bar].

RSSFeed.RefreshState
0 - None [Set by SenseTab following screen refresh]
1 - Wait for RSSUtil [Set by SenseTab following request which needs new data]
2 - Processing data [Set by RSSUtil to indicate it is working on getting the data]
3 - Data ready [Set by RSSUtil to indicate it has finished and SenseTab can refresh the screen]

RSSFeed.PageLevel
2=feed list [view of each of the available feeds]
1=item list [view of all the items within a feed]

Wow, I've impressed myself....just tried the image caching feature I put in yesterday..works a treat! Still need to generate all the configuration options it will need and provide progress of the processing, but the method works very nicely! At long last, I will be able to browse my RSS feeds offline but still have images shown!!!!

UPDATE:

Item view using the WebBrowser control...both an interesting and annoying one this...

From what I've been reading the settings for the WebBrowser control are supposed to driven by those which are used by Internet Explorer which are set in the registry, if you change them it'll change all instances of the control (it does explain why apparently the same versions of .net and ie can have different effects - what happens if you change your zoom level in ie?). There are methods which allow you to change this for a particular instance, but it gets very complicated and beyond my skills, plus they may not work anyway.

However, we may have a solution in the form of style sheets (css files), I can insert a style sheet which will "hopefully" allow me to set things like the font sizes directly...this might be enough to make the control usable (still other issues with using it, but it's a start!). Can even set the stylesheet as an external file which will allow easy skinning!
[Windows Mobile Software Development] mike2nl:
Oh what a screenshot, water in my eyes ;). I hope i can install the latest version before the weekend. Because i have to travel to austria and kuwait city, and i am back on sunday the 17. october. Otherwise i have no toy to play with it :D.
[Windows Mobile Software Development] meltwater:
Aside from the odd error, it is coming along nicely!

Will make sure I up load the next version well before the weekend then. :D

Posted some screenshots too on 1st post (animated gif of screens)! Just to prove it can look good when it is working.
[Windows Mobile Software Development] Captain_Throwback:
dang it, I finally got around to trying this, and my RSS tab is only displaying FB tab information. I didn't initially copy your sample channel data, as i already have data on my Storage Card. I did install the FB tab right before installing the RSS tab, though. Now I have to read through the thread and figure out where I messed up :(.
[Windows Mobile Software Development] meltwater:
RTFantasticM (http://xdaforums.com/wiki/index.php?title=Sense_RSS_Tab_User_Manual)

Hopefully it'll all come clear when you run the exe and "List Channels", then refresh the tab...fingers crossed.

The fbTab data is because I left the old code in.

EXTRA INFO:

Ok, I think I've resolved some issues with handling files it can't read, plus improved the support for the one's I was having trouble with. The decoding part is quite rough so don't worry if it rejects your feeds (the Atom format appears to vary a lot more than the newer RSS2.0) I will probably end up rewriting the whole section at some point (I might even look at the spec for RSS and Atom...).

Better dealing with when the tab has just been setup will probably be next (will remove the facebook specific code). So far I've left the code in since I want to make sure when I do remove it I remove all the code we don't need, plus there are still additional aspects of the list object which I want to take control of so the code is useful.

I can understand, seeing all that Facebook Data on the first run could put people off giving it a go.

Release To Do List Any thoughts?
[Windows Mobile Software Development] mike2nl:
@meltwater:

congrats for a solution about the Graphic Resizing issue. This is a very good step forward i hope.

>>Will make sure I up load the next version well before the weekend then

That will be very cool, because then i have toys where i can play with while my flight ;)
[Windows Mobile Software Development] meltwater:
WIP - 7th Oct 2010

1. Reg file corrected

2. 5D3CA1C8_manila - en-us lang file started

3. Regkey view on debug page

4. Started development of local image/html cache (inprogress)

5. Better feed support, plus improved handling of failed read

6. Testing fixed font size in style sheet on ItemView (will see if it helps)

7. Read File test file default to Ch160.xml (was Ch199.xml for last release by mistake).

Wanted to check in changes before I started messing with the sense files again!
[Windows Mobile Software Development] Captain_Throwback:
Hey meltwater!

I was in a bit of a rush when I posted yesterday (just trying to build a quick CAB, install it, & hope for the best, but of course I should've read the entire manual first :rolleyes:. Sorry about that. I was able to get it working about 2 minutes after making that post by running RSSUtil.exe directly. I realized it was just pulling the FB info because it hadn't been updated, which you so kindly stated in your post & in the manual. Not that I have that worked out, the only thing I see missing (using the 10/5 files), is the tab icon when I'm on the tab. I thought I read about this being an issue earlier in the thread, but I'm pretty sure you fixed it, espeically since it's not that way in your screenshots. I'm missing a manila file, right?

I'll be updating to the 10/7 build to try out all the new features. Great work so far!! :)
[Windows Mobile Software Development] zard:
5. The error due to failed read is showing correctly now.

6. Shows correctly with your test data but not for feeds that I have from RSS Hub, i.e. only showed one line of the text about 1/4 from the top of the page. The font size is rather small, I'll suggest to increase it.

7. If possible, could you change the text color in the RSS Tab to white. With white, it's easier to read for most background.
[Windows Mobile Software Development] Captain_Throwback:
Looking good!

I got the 10/7 version installed.

Great progress. I'm attaching some screenshots. I did get one error, I think by pressing the header section one too many times when i was already back to the home state, but I wasn't able to reproduce the error. I'm using my own RSS data.

The only things I noticed are things I believe you already know:

Graphics that are rectangular are squished in Feed view.

For some reason the heading says (2/9) when there are 10 feeds (pic 2), while in other cases there are actual word headings (pic 3 - I assume this is feed dependent). An example of both can be found in pic 4.

When clicking on a specific item, the Tab Item View is nice, with the black background, but doesn't appear to wrap to the screen at all, nor does it allow scrolling (yet). I know this feature is new & raw. A nice start, though!

"&" (ampersand) doesn't appear correctly in feed list (pic 6, last item - appears correctly in RSS Hub)

It would be nice to have a scrollbar in the tab so you know how far you are when scrolling. It's would also be cool to keep the header at the top (so you know which feed you're actually scrolling), but I don't know if that's possible in Sense?

Overall, great work & progress so far. If you need me to provide you with any info that could help, please let me know. I look forward to further development :).

P.S. Now I'm going to look for that post on how to get the tab icon to show up.
[Windows Mobile Software Development] meltwater:
5. Good good.

6. OK, the control definitely behaves differently on other devices, basically all the same problems I've seen before. Will see if I can find an alternative, since I cannot test/fix what I can't see (displays nicely on mine (text is wrapped to page, vertically scrolls)). It is supposed to be driven by the internet explorer settings, so perhaps try changing them.

7. Next time I'm working on those files I'll update them.

Cheers!

Yep working on it, need to get sense to play nice on that (it has to work out the size of the image) or I have to pad the images out when I resize them. [Will leave for now, since although visually its not ideal, the scroll speed has been improved - although once resized full, it will be even quicker]

Noticed that yesterday, put a fix in for the count, the other number is hardcoded at the moment. Need to find alternative text to display when not set by the feed. [Will probably use the same text in the channel list too]

WebBrower control...pain in the...see above. [Looking into RichTextBoxes, might be a solution as I just want to display html markup and images - anything else can be pushed to a full browser, trying to do anything to fix the WebBrowser control is a lost cause]

Will watch for amp& it may be that in the feed text, means I'll have to check for formatting in the titles etc etc. [I recall now, "&" is reserved in xml, hence the amp&, not sure if there are any others but that will need to be handled for anything read from the xml]

Donno about scrollbar, but fixed position header is do-able. I also need to get control of the update bar too (it'll move when you get events in the facebook tab). [Rather than just removing the facebook code, I want to find where it is set so I can do the same - but driven by a reg key!]

Still working on the image caching of the item view, hopefully can apply similar method to grab the linking html page too (it annoys me when the feed item only includes a snippet of the story).

[By the way, I guess you did not have a data connection active which is why the images are not displayed in the item view?]

Thanks for the good info. I've attempted to make the start up a little clearer (it now tells you to set up and initialise) when there are no items loaded. Also disabled the set-up pages for now.

[Added extra comments]
[Windows Mobile Software Development] romualdrichard:
Hi, just to let you know that I can do the traduction for French if needed as I did for facebook tab ;)