BBC News - Alpha Preview
Malcolm Hussain-Gambles (1596) 811 posts |
I thought I’d share my initial application !BBCNews http://www.paymentlabs.com/riscos/bbcreader This is my first attempt at a RISC OS application for a long long long time, so bear with me! My main gripes with it are it doesn’t yet open a web browser when the items are clicked, and it doesn’t support the scroll wheel. Hope you like it so far. Cheers, Malcolm |
neil.r (1738) 66 posts |
That’s really good, I like that a lot. I was thinking some time ago that I’d like to do something similar to the old BBC News Ticker program as a learning experience on RISC OS. Having seen this I may resurrect the idea. Is this software going to be packaged into !PackMan so I can automatically grab updates? Would be nice if so. Ta, |
Malcolm Hussain-Gambles (1596) 811 posts |
Glad you like it! |
Malcolm Hussain-Gambles (1596) 811 posts |
I’ve done far more work than expected on it. As usual it’s at https://www.paymentlabs.com/riscos/bbcreader The next release will hopefully be in !Store [Update] was a little bug there, I’ve updated the beta again Looks like there is another bug…nm I’ll look at it again later. another beta is needed! [Update] Quite a few more bug fixes since the last update…getting there! [Update] Version 1.0 preview is avaliable, there’s not been any feedback so it looks like that’s v1.0 |
Bernard Boase (169) 208 posts |
Excellent! What’s the Verbose option do, and how do you turn it off? (!BBCNews 0.01 alpha, Iyonix 5.18). |
Malcolm Hussain-Gambles (1596) 811 posts |
Ah the verbose option will alter the amount of updates in the toolbar in the main window. The latest version has verbose turned off by default. (Also it supports uniserver when you right click a link, so you can view videos etc) |
Bernard Boase (169) 208 posts |
I like the Adjust click option to send to UniLaunch, but I wonder why a URL launches IE on my PC when the default browser is Chrome and Chrome is already running…? (Not really your problem, I guess!) |
Rick Murray (539) 13840 posts |
[off-topic!] @ Bernard: There are two ways to fetch a web document on a PC. The correct way is to ‘run’ a URL and let the assigned handler pick it up. The lame way is to throw the URL to [/off topic] |
Fred Graute (114) 645 posts |
Well here’s some more. :-) It seems to start fetching as soon as it’s loaded. It would be nice if it could be set to only fetch when the window is open. It would also be useful if the number of items fetched could be limited to a specific number, and have a button to fetch the next N items. The thumbnails are added to the Wimp sprite pool, and aren’t removed when BBCNews is quit. It might be better to use a user sprite area so that the memory is released upon quit. To support the scroll wheel you’ll need to enable scroll events and add a simple scroll handler to your code. Please note that you’ll be sent 5 identical scroll events, each with the same scroll offsets. In order to scroll 5 lines, or whatever, you’ll need to call Wimp_GetWindowState each time to get the actual scroll offsets. Then add your scroll distance and call Wimp_OpenWindow. |
Malcolm Hussain-Gambles (1596) 811 posts |
Thanks Fred, |
Andrew Rawnsley (492) 1445 posts |
Bernard – UniServer (4.03/4) works fine with Chrome here on my XP work box. Indeed, that’s how I’m testing !BBCnews. Chrome’s my default browser, UniPrint’s set to use the default browser, and BBCnews opens a new tab. Perhaps it is like file launching where there are different ways of doing the same thing under windows APIs, and Chrome isn’t set “everywhere” as your default browser? UniPrint also allows this to be overridden in its Launching tab. I’m not aware of any outstanding issues with this, but I’m willing to be proven wrong – perhaps drop to email though, as it is a little off-topic? |
Steve Revill (20) 1361 posts |
While your new application development is very welcome, could I remind everyone that before you release your software (even if it’s just a demo or alpha code) you must get it allocated to avoid causing problems. As a side note, I strongly suspect we would reject any allocation which includes “BBC” in the name, because BBC Worldwide tend to guard their brand very fiercely and would probably come down on you like a tonne of bricks for using it without permission (our allocations system does not sort out obtaining third party permission relating to trademarks and brandnames, etc). |
Malcolm Hussain-Gambles (1596) 811 posts |
Thanks Steve, that’s a very good point as regards the BBC brand. I’ll have to change it to !UKNews asap I think. |
Rick Murray (539) 13840 posts |
UKNews? Don’t forget there are well known slang names for the BBC – would ROOL’s allocation guru consider Personally, I like !BeebNews. |
Trevor Johnson (329) 1645 posts |
No mention of Beeb on that branding page, which is understandable because it’s a nickname. |
Malcolm Hussain-Gambles (1596) 811 posts |
FYI: I’ve updated the webpage and application: http://www.paymentlabs.com/riscos/newsuk Oh and Eid Mubarak! |
Trevor Johnson (329) 1645 posts |
Happy Eid! |
Rick Murray (539) 13840 posts |
Hmm, I hope you’ll update the screenshot when the news is a little less depressing. <sigh> Nice to have a clear and obvious RSS reader for RISC OS. Hehe, if only Android could manage to do the same thing! ;-) |
Chris Johnson (125) 825 posts |
The latest version works well. Impressive. Looking forward to the ‘heavier’ applications in the wings. |
Dave Higton (1515) 3526 posts |
You clearly had better luck than I did. I got an hourglass; Alt-Break and “OK” was rewarded by “The file is already open” (approximately) and a refusal to quit. The only way out was the reset button. |
Chris Johnson (125) 825 posts |
I have run it on both the Iyonix and BB and it seems fine. It obviously starts fetching when started – not sure what happens if it cannot connect. |
Malcolm Hussain-Gambles (1596) 811 posts |
Hi Dave, I know exactly what you mean though, it should definately not require a reset though I’ve never had that! I’ve just started working on !RSS – a generic RSS reader. This will have issues such as iconsprites and the loading fixed (as well as a lot more features, e.g. using gzip for download, options for which image renderer to use for different filetypes). |
Chris Evans (457) 1614 posts |
Dave: One of the closefile utilities normally helps in those circumstances. |
Malcolm Hussain-Gambles (1596) 811 posts |
I’ve put another update on my website, which disables download and processing of png files, this may help with the “Borking”. |
Malcolm Hussain-Gambles (1596) 811 posts |
NewsUK is now on the !Store ;-) Now on version 1.12, usual places either !Store (older version as of now) or my website |