yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] meltwater:
I thought I had rolled back that mode9 file, but perhaps I missed it. I'll double check it in the m9editor.

Testing...overall stability, hopefully it won't jump back to the channel list by mistake now. Also times should be ok now for feeds which use text codes.

The feed "order" is simply the order in the channel.opml file for now. Will start to look into that when I put in the category support (want to investigate options on generating pop up menu for those kind of options).
[Windows Mobile Software Development] Captain_Throwback:
It actually did jump back to the Channel List on me already (after I was viewing something in Item View). It also did it to me after I had viewed about 4 different items in Item View, when I pressed to look at a 5th, it simply kicked me back to the Channel List.
[Windows Mobile Software Development] meltwater:
I'll keep an eye out for that, from what I've seen so far it appears to be ones near the top after you've scrolled down a bit. Had problems trying to catch what the tab sends to rssutil.exe to cause it though.

If I press on with the fixed position header it may stop the sense code getting the selected item wrong (since it will be a totally different item being selected), I'll have another look at the code though, might have missed something.

Mode9 file - yep I've just checked and the change managed to find it's way back in (due to file dates). Will correct and update the build. [Ok codeplex is down AGAIN, strike two... Updated now]
[Windows Mobile Software Development] amno1970:
Spain

Hello,

Attached is my spanish (es-es) translation file.

I updated the build with the latest rssfeedicon.mode9 and manila won't start. Any idea?

Regards,

Alfredo
[Windows Mobile Software Development] amno1970:
Solved

Solved the manila won't start problem.

Some problems now:

- Channel List, All, RSS Feeds, Posts, New labels are not updated with translated values.

More feedback soon...
[Windows Mobile Software Development] meltwater:
Yep I'm getting that too, although the file has been restored to the original one. I'll experiment with it a little more then, that file is getting annoying!

Will go back and check out the sense part, something doesn't seem 100% happy in there somewhere at the moment. It seems fine once it is going though (I suspect it is not directly related to the mode9 file though but the restarting of sense after the tab has been running or something).

Interestingly, I've not change much on the sense side since the last release - except adding all the language files (only a slight change in 0D4FCC6F_manila.lua for the details text adjustment and a tiny bit removed from 476C4205_manila.lua) so restoring the whole sense (windows) folder from older build won't be a problem [i.e. Change Set 3811].

Anyway, will have a look into this, as usual sense is a difficult one to predict. Perhaps it doesn't like something in my language files....nope problem is still present with that set of files (and no language files). Chances are it is a change I've made in the 476C4205_manila.lua a while back, but once restarted a few times it is ok.

The language file is used by sense and the rssutil for the translations, but the locale is set independently for them (sense has it's own locale setting to the windows mobile locale). So 1st question is, are you getting some things translated (i.e. the menu options = sense locale) and not others (i.e. most of the stuff in the list view = device locale).

Two options:

1. You can over-ride the language file for the RSSUtil by creating a string key:

"RSSUtil.LangFile" with the name of the language file you wish to use "501DCF32_manila".

2. You may find your device locale is slightly different to your sense one (for spanish there are a few variants i.e. "es-es_tradnl"). So you could try translating that file too 467C6FDA_manila.

It is a little clearer when the settings page is enabled, but don't want to start on that yet.
[Windows Mobile Software Development] winderp:
Waitting for gb2312 to be solved...

u r the man! come on!
[Windows Mobile Software Development] meltwater:
smiles. Yep will attempt to put something in for that soon.

Been investigating a different WebBrowse control too, so kinda tied the RSSUtil.exe side up at the moment.

For the sense side, I think I need to go back to ChangeSet:3495 and then slowly re-add each of the mods back in and do lots of reset of sense tests. Whatever the problem that causes the freeze on 1st start, it seems to go away after a few resets. It's a long job though, takes about 20 min to be sure it is ok each time sense is reset etc and each time I add something back in I'll need to retest...fun!!!
[Windows Mobile Software Development] winderp:
I'm not a programer and have no knowledge in programming,So I can do nothing to help you,so sad...

I searched some articles in google,I found some Chinese programers have the same problem too in their programming, but for pc programming not for moblie programming.

One of the articles said the thinking is "gb2312 - Unicode - UTF8", there is a section code to handle it. I don't know Whether can help you or not, Please forgive me for my precipitancy.

This is some codes for gb2312/Unicode/UTF8 convert each other (VC++):
[Windows Mobile Software Development] winderp:
There is another article, it said don't need Unicode to convert,and this article is a English article:

http://www.codeproject.com/kb/string/UTF8.aspx

I also found a program, it can convert about 40 kinds of Encoding to convert each other. it is a multilang program including the English lang, it named "EncodingConverter".I use it to convert the files in ...\RSS Hub\ChannelData on pc ,then copy back to Storage Card, rsstab display them normaly,Do you need it?
[Windows Mobile Software Development] meltwater:
Cheers. This code could probably be adapted, hopefully though I can use the in built encoding options of .net to do it (which would hopefully support other langs too). But if the other ways fail, I'll use the method you've posted, seems reasonable to me (probably better support since it doesn't need the codepages).

Having a hard time finding a totally stable version of the sense code to start on, when it seems I've found one, I go and do something else for a bit and then find it has frozen on me...(again fine after a reset, but highlights something is there which is not right or it's just my setup and something else is messing it up...).
[Windows Mobile Software Development] meltwater:
Yep the more info the better, will give me an idea how other people do it and save fighting routes which others have found not to work.
[Windows Mobile Software Development] realthor:
I've tried several roms these latest days and one of them had this included. It was so nice that now I am missing it a lot on 826x_21682_Sense_2019. Is there a way to have it as a cab ?

Many thanks.
[Windows Mobile Software Development] meltwater:
From FbTab->

Can you control where the apilang.xml is placed, if local to the applications directory i.e. Program Files\RSSUtil\ then it will use the correct one. Or is everything put into windows when you cook.

If it is a problem then I can probably name the file apilang[appname].xml i.e. apilangRSSUtil.xml, apilangFacebookUtil and get the dll to work out what app is calling it, but would rather keep it simpler.

[I'm aiming to make the meltwater.apilang.dll suitable for any app, eventually the FbTab will get upgraded to use it]
[Windows Mobile Software Development] Captain_Throwback:
I don't think Sense is the [cause of the freezing] issue, as I don't have any freezing on 1st start or after the device has been idle. I'm currently running a stock ROM on my Tilt 2, with the Oboe Home Tab & Leo Core added-on. No CHT, because that seems to cause some Sense instability (if I had to bet, I'd say that was your problem).

As far as the item detection, how would the static header help? Also, one thing I noticed is that the tab actually stays on the last feed you were on even after you leave it - is that something that will be configurable in the future (reset to channel view when leaving tab)?

P.S. I can make a CAB that includes everything but the tab control file (of course, that's the easy part). I currently install mine to the Storage Card, and it works just fine (of course the Manila files still go to \Windows, of course). And as you mentioned, if people really want to try it, if they post their Tab Control file, I/we can even mod it and make an install CAB for it. Uninstallation can be done by uninstalling those CABs, and installing a "clean-up" CAB I can post here. Perhaps having a test CAB will get you a bit more feedback?
[Windows Mobile Software Development] realthor:
Yes please!!, a cab would be great to test. Personally I don't like that many tabs and from a ui point of view you would replicate something that already exist on the system...an RSS app, perhaps just wrapped up by the tab. So no tab for me, just the home screen widget (ticker).

Could it be seen in CHT editor under widgets, like calendar, appointments, etc ?

Many thanks.
[Windows Mobile Software Development] Captain_Throwback:
CHT already has an RSS widget :confused: . . .
[Windows Mobile Software Development] jirkab:
Czech language

But if the contents of the file 26948339_manila (example):

<Page Order="[COLOR="Blue"]X[/COLOR]" Name="rssfeed.page" PackageName="HTC" Title="[[[B]IDS_RSSFEED[/B]]]">

and language file (example 103878F8_manila for czech):

<trans-unit id="IDS_RSSFEED">
<source>RSS čtečka</source>
</trans-unit>

the tab name is set according to the language file.

ApiLang.xml:

<langcode id="cs-cz">
<description>Česky</description>
<source>103878F8_manila</source>
</langcode>
[Windows Mobile Software Development] winderp:
I replaced the RSSUtil.exe, the problem still on. Searched for the tempfile.xml,I cannot find it. Is there need other operations?
[Windows Mobile Software Development] meltwater:
Yep probably is, but love the new CHT. :D

Static header would help since it is a totally different object, rather than a list item, but I need to create the action handler for it etc still.

It is by design that it keeps it's state, it would be possible to detect when you leave the tab and load the channel list, but not sure if it would be ideal, it would cause a lag (at least for my touch hd) as it deals with that processing.

Yep it may help, perhaps when we decide it is a stable enough release version.

Not quite sure which part of sense doesn't "replicate something that already exist on the system", it's kinda the point of sense, you avoid jumping into apps.

Yep you can do it that way, but you do get IDS_RSSFEED on first run of sense (I guess there is another lang file somewhere which is loaded first. Oh and I'll update the language name in ApiLang, it will be used by the settings page.

I'll do another version, might I need to specify the path when writing the file, will put some more debug info in too so we can track how far it gets. Will test it out a little more and post it (will probably be monday though).
[Windows Mobile Software Development] winderp:
My friend! Could you think about to let the rsstab‘s home page show the rss sort first?e.g. “news”,“blog”,"amusement"... because I have too many rss urls:mad:

Of course I dont sure my thinking is practical;)
[Windows Mobile Software Development] meltwater:
Yes it is on my to do list (I have 37 feeds on my list, so I've been planned to do it), but will get the current things working before I move on to that.

Will be busy today workwise, so won't be able to do the test build for now. - Ok, did it while drinking my tea. :D

Put in some extra debug and also corrected a bit (was re-reading the original file). See how that goes...file should be created in the RSSUtil directory.
[Windows Mobile Software Development] winderp:
This time can find the tempfile.xml in the \Storage Card\Program Files\RSS Hub\ChannelData\,but the tempfile.xml is still has encoding="gb2312" and the problem is still on。

the item view and the web view all not display correctly.
[Windows Mobile Software Development] meltwater:
Interestingly, the encoding is different (winmerge shows that the file is changed):

Old File (the old file has older item in it but you can see it is different...):

<title><![CDATA[ÐÇµºÊ±ÊÂ]]></title>
<description><![CDATA[ÓÐË¼ÏëµÄÐÂÎÅ£¬ÓÐ¼ÛÖµµÄ±¨µÀ¡£]]></description>
<link>http://www.stnn.cc/news/</link>
<language>zh-cn</language>
<generator>www.stnn.cc</generator>
<copyright>Copyright 2005 stnn.cc All Rights Reserved</copyright>
<item received="2010-10-31T03:04:19 Z">
<title><![CDATA[³¯º«ÀëÉ¢¼ÒÊô»áÃæ À«±ð60¶àÄêÐðÀë±ð¿à]]></title>
<description><![CDATA[<br>¡¡¡¡10ÔÂ30ÈÕ£¬ÔÚ³¯ÏÊ½ð¸ÕÉ½µØÇø£¬Ò»Ãû³¯ÏÊÀÏÈË£¨ÖÐ£©Óë¾Ó×¡ÔÚº«¹úµÄÃÃÃÃ£¨ÓÒ£©»áÃæÊ±ÐË·Ü²»ÒÑ¡£º«¹úÓë³¯ÏÊµÄÀëÉ¢¼ÒÊôÃÇµ±ÈÕÆðÔÚ³¯ÏÊ½ð¸ÕÉ½µØÇø¾ÙÐÐÖÐÇï»áÃæ¡£ÕâÊÇº«³¯×ÔÈ¥Äê9ÔÂµ×Ö®ºóÊ±¸ô13¸öÔÂÔÙ´Î¾ÙÐÐÀëÉ¢¼ÒÊô»áÃæ¡£ <br><br>¡¡¡¡ÐÇµº»·ÇòÍøÏûÏ¢£º³¯ÏÊºÍº«¹úµÄÀëÉ¢¼ÒÊô30ÈÕ¿ªÊ¼ÔÚ³¯ÏÊ¾³ÄÚµÄ½ð¸ÕÉ½µØÇø¾ÙÐÐÖÐÇï»áÃæ»î¶¯¡£À«...]]></description>
<link>http://news.stnn.cc/picture/201010/t20101031_1443374.html</link>
<pubDate>2010-10-31</pubDate>
<author>www.stnn.cc</author>
<category>ÐÂ»ªÍø</category>
</item>

New File [tempfile.xml]:

<title><![CDATA[星岛时事]]></title>
<description><![CDATA[有思想的新闻，有价值的报道。]]></description>
<link>http://www.stnn.cc/news/</link>
<language>zh-cn</language>
<generator>www.stnn.cc</generator>
<copyright>Copyright 2005 stnn.cc All Rights Reserved</copyright>
<item received="2010-11-08T03:04:31 Z">
<title><![CDATA[奥巴马展亲民作风 向印度孩子们学跳舞]]></title>
<description><![CDATA[<br>奥巴马访印度孟买一所中学，与学生一同跳舞。<br><br>　　星岛环球网消息：美国总统奥巴马7日到访印度孟买一所中学，与学生一同跳舞，庆祝印度传统排灯节。<br>　　据新华社报道，学生们向奥巴马介绍他们参与的环境保护项目，得到奥巴马赞许。身着各色服装的学生接着跳起传统的排灯节舞蹈。奥巴马夫妇坐在一侧，和着音乐节奏鼓掌...]]></description>
<link>http://news.stnn.cc/picture/201011/t20101108_1450080.html</link>
<pubDate>2010-11-08</pubDate>
<author>www.stnn.cc</author>
<category>星岛环球网</category>
</item>

I could have done something else wrong, but I can try reading the file directly on mine and see how it looks. It's definitely done something in the right direction, but will need to see now what else I need to do!

EDIT: Nope, even this file doesn't work on mine...will have a think on it.

OK, try these test files and let me know (I've tried your CH102.xml file and it doesn't display for me so I can't see when I've fixed the file).

1st test - changes the encoding type and adds feed tile from CH102 so see if the encoding to blame.

2nd test - removes the CDATA specifier from the titles, hopefully this will allow the chars to be read for titles only.

Replace your Ch101.xml file with the test ones (backup your old one 1st if you want to).

Also check the item view too, the web view might support it as is.
[Windows Mobile Software Development] winderp:
My brother,both of Ch101-test1.xml and Ch101-test2.xml are all display correctly.
[Windows Mobile Software Development] meltwater:
Hey that is good!

There are two changes which may be important, the encoding="UTF-8" change from "gb2312" which I didn't think the xml reader did anything with (but now I catch a file with it in). Also I noticed that I'd changed the property of the file to remove the "Byte Order Mark"...

A few more test files then...

Ch101-test3.xml - identical to the tempfile.xml but with the encoding= text changed (will have the "Byte Order Mark" the same as tempfile.xml).

Also could you test the tempfile.xml using the last proper release of RSSUtil.exe, this will detect the "gb2312" text but wont try to change it (this will let me know if I need to change the text or if I am not re-reading the file correctly).
[Windows Mobile Software Development] winderp:
Report 1:

RSSUtil@#292 and RSSUtil@#301 all can display the Ch101-test1.xml & Ch101-test2.xml & Ch101-test3.xml correctly.

Report 2:

Use RSSUtil@#301 to make a tempfile.xml and rename it to Ch101.xml.

The RSSUtil@#292 and RSSUtil@#301 all can display it correctly.

Report3:

Use RSSUtil@#301 to make a tempfile.xml then

Use The RSSUtil@#292 to display the item witch I seletcted before, it can not display correctly, check the RSSUtilDebug.xml:

It seemed that RSSUtil@#292 dispaly it not from tempfile.xml. at this time I rename the tempfile.xml to Ch169.xml, the RSSUtil@#292 can directly display the item correctly.

Presumptuously conjecture that both RSSUtil@#292 and RSSUtil@#301 didnt read the tempfile.xml ?
[Windows Mobile Software Development] meltwater:
I think you are right.

I'll do some tests and make sure it reads the tempfile.xml correctly after the conversion. Will then do the same but without the tempfile.xml hopefully (i.e. perform the conversion without writing the temp file). Will be later on tonight or tomorrow I expect. Thanks so far!

@captain_throwback :- I think I've fixed the jump back to the channel list, obviously will keep it on my device for a bit and test it a little more.
[Windows Mobile Software Development] winderp:
I did another test :

Use RSSUtil@#301 to display the Ch175.xml (Cannot display correctly). The tempfile.xml is generated.

Copy Ch175.xml & tempfile.xml to my PC. after that, delete Ch175.xml & tempfile.xml in \Storage Card\Program Files\RSS Hub\ChannelData.

Use the software named EncodingConverter On PC, Convert Ch175.xml with the option Source:gb2312 TO:UTF-8. I named it Ch175_Converted.xml, rename it to Ch175.xml. then copy it to \Storage Card\Program Files\RSS Hub\ChannelData.

Use RSSUtil@#301 to display the Ch175.xml (Can display correctly). The tempfile.xml is generated too. I named it as tempfile_1.xml.

Use the tool: Beyond Compare, to check the three files(tempfile.xml & Ch175_Converted.xml & tempfile_1.xml), they are Perfectly the same, with almost noting diffrent.
[Windows Mobile Software Development] meltwater:
That is good to know, I've found where I've not re-read the tempfile.xml correctly so should have it corrected soon. I think for now I'll set it only to correct "gb2312", but it should in theory work for any other encoding which needs converting (but will avoid that for now - there are lots of possible encoding to support but not all need converting so will avoid any extra processing unless it is requested).
[Windows Mobile Software Development] winderp:
Good news,Thanks a lot for your work hard:)
[Windows Mobile Software Development] meltwater:
Here's the version which uses the temporary file, hopefully it'll work.

Working on a version which doesn't write to file first [UPDATE: Had a go but can't seem to get it to work how I want, no harm in making the tempfile.xml I suppose, I can always come back to it if there is an issue with it]. You may have noticed that it gets placed in the RSSHub/ChannelData directory, not the RSSUtil one like I said.

Let me know if it works and I'll package it up for a new release (will include the updated Selection handling which should fix the jumping back to the Channel List).
[Windows Mobile Software Development] winderp:
Oh ye! It can show Chinese words correctly,but a little problem,please look at the screen snapshot. the time cannot display correctly.
[Windows Mobile Software Development] meltwater:
That's a pain!

Just had a look and I'm using the publish date which in this case is <pubDate>2010-11-09</pubDate>

This usually includes the time too.

<pubDate>Wed, 15 Oct 2008 15:45:08 GMT</pubDate>

Note that since it is today, all you get is the time of 12:00AM!
[Windows Mobile Software Development] winderp:
May be the rss site's problem some other item is correctly , I will test more later. Now,The rsstab is good enough!congratulations!
[Windows Mobile Software Development] meltwater:
Lol. Well it is definitely a good start I hope.

Hopefully this latest is good enough for proper release. I do have one exception which I am looking into (when you press several items one after another), but otherwise, I intend to continue on experimental dev work (I might split off the release so there is a stable release and an experimental one).

WIP - 9th Nov 2010

Manila

1. Lang Files - All updated to have IDS_RSSTITLE at the top (ensures title is populated on 1st run). Plus added translations for zh-cn, es-es/es-es_tradnl, de-de, cs-cz (many thanks for the translations).

2. Updated example 26948339_manila Tab Control file to have IDS_RSSTITLE.

3. Improved item selection handler (should avoid jump back on Channel List on 2nd item selection - when scrolled down)

RSSUtil

1. Support for "gb2312" encoded files.
[Windows Mobile Software Development] winderp:
I will put this rsstab into my kitchen formally, and will recommend the url -http://xdaforums.com/showthread.php?t=758107 to Chinese forum, to let more Chinese people know the wonderful rsstab.
[Windows Mobile Software Development] meltwater:
Should have a quick update for the aforementioned exception...it was in the debug log file part, so not too major.

OK DONE.
[Windows Mobile Software Development] winderp:
The 4334's 24E697B8_manila couldnt display normaly in my rom. the attachment is mine
[Windows Mobile Software Development] meltwater:
Is it just the "RSS Feed" title bit, if so you can update your tab control file 26948339_manila with [[IDS_RSSTITLE]]. I hadn't done it like that before since it didn't seem to load up when sense was reset, but putting it at the top appears to be enough.
[Windows Mobile Software Development] winderp:
Not only the title but also some menu and state info, i.e. "返回" displays “胔僞” "RSS 订阅" displays “RSS 肢逅” ... they All is not Chinese words ,it is just like the encoding‘s issue.
[Windows Mobile Software Development] meltwater:
Ok, updated.

I've removed the "RSS Feed" item, best stick with "IDS_".
[Windows Mobile Software Development] Captain_Throwback:
@meltwater

Do you want me to use the latest version to make a test cab for public consumption?

(I've already made the CAB for myself, of course :))
[Windows Mobile Software Development] meltwater:
Yes that would be very helpful. Although it can always do with more testing, I've tried not to make too many large changes recently so I think it is quite stable at the moment.