Active Topics

 



Notices


Reply
Thread Tools
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#81
Suggestion : at the top of libgreader.py, replace :

import simplejson as json
with:

try:
import json
except:
import simplejson as json
This way your code will run unchanged on Python > 2.5.

Just tried on my PC, it was the only change needed :-)

I need to understand how your "views" are designed, to see if I could make a simple one for Maemo4...
__________________
maemo blog
 
Posts: 115 | Thanked: 83 times | Joined on Aug 2010 @ Paris, France
#82
Great time in Strasbourg

Used some time in the train to work a little on GRead, with some work on controls :
  • add context menu on each window, with actions available for the selected item plus the ones available on the window menu. Very useful in portrait mode (but the menu is long to appear on long press, i have an idea to tweak this, but... later !)
  • add more shortcuts :
    • J/N and K/P to move down/up in each list (just select the next/previous entry, without activating it, you can either use enter to activate it, or another shortcut to do an action on the item)
    • O to change the orientation (useless in portrait mode )
    • shift-A and shift-M on a selected feed in the feeds list to mark the feed as read (without asking confirmation !), same shortcuts as on the items list
  • libgreader now use the python json lib instead of simplejson if available (python >= 2.6. Note : it's python 2.5 on Maemo5, but it can be useful for other platforms)

The application if fully usable now, with all these controls, and with the "pseudo-offline" capabilities, i used it this week-end without network some times (or really poor bandwidth) and i had no problems at all, just sometimes long to fetch feeds content but it was attended.

And just to say... i'm thinking a lot about storage

Last edited by Twidi; 2010-09-21 at 00:22.
 
Posts: 398 | Thanked: 301 times | Joined on Sep 2007 @ Texas
#83
Hi Twidi,

I used Gread over the weekend. I like it. Consider making it a preference to turn off the self hiding header of each item. I suppose you would appreciate git pushes (not sure on the terminology)?

I have a question though. I changed it to sort by date, oldest first. But this needs a fetch of all outstanding items to work correctly. This seems to consume a lot of memory, at least the device feels sluggish when I have around 800 items fetched. Is there a way to ask Google for the oldest items? Then I can go back to fetching a subset of all outstanding items. I source dived for a bit but didn't see an obvious method to do this.

thanks,
Frank
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#84
Originally Posted by Frank Banul View Post
Hi Twidi,
I used Gread over the weekend. I like it. Consider making it a preference to turn off the self hiding header of each item. I suppose you would appreciate git pushes (not sure on the terminology)?
Do you mean turn off the title itself, or turn off the self-hiding ?
__________________
maemo blog
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#85
Originally Posted by Twidi View Post
Great time in Strasbourg
Used some time in the train to work a little on GRead, with some work on controls :
  • add context menu on each window, with actions available for the selected item plus the ones available on the window menu. Very useful in portrait mode (but the menu is long to appear on long press, i have an idea to tweak this, but... later !)
  • add more shortcuts :
    • J/N and K/P to move down/up in each list (just select the next/previous entry, without activating it, you can either use enter to activate it, or another shortcut to do an action on the item)
    • O to change the orientation (useless in portrait mode )
    • shift-A and shift-M on a selected feed in the feeds list to mark the feed as read (without asking confirmation !), same shortcuts as on the items list
  • libgreader now use the python json lib instead of simplejson if available (python >= 2.6. Note : it's python 2.5 on Maemo5, but it can be useful for other platforms)
The application if fully usable now, with all these controls, and with the "pseudo-offline" capabilities, i used it this week-end without network some times (or really poor bandwidth) and i had no problems at all, just sometimes long to fetch feeds content but it was attended.
And just to say... i'm thinking a lot about storage
All good stuff, thanks again ! Almost perfect now... almost :-)
__________________
maemo blog
 
Posts: 90 | Thanked: 5 times | Joined on May 2010
#86
Has the app been packaged?? Is it there under extra-devel??
 
Posts: 176 | Thanked: 59 times | Joined on Mar 2010
#87
Originally Posted by hotzigetty View Post
Has the app been packaged?? Is it there under extra-devel??
Yes, please can someone package this now ?
 
Posts: 398 | Thanked: 301 times | Joined on Sep 2007 @ Texas
#88
Originally Posted by fpp View Post
Do you mean turn off the title itself, or turn off the self-hiding ?
Remove it altogether. It's redundant, eats screen space, and the self hiding eats CPU effectively delaying you from beginning to read the content while it moves.

Please keep in mind that my opinion above is just that. No disrespect intended to this fine application.

Frank
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#89
Originally Posted by fpp View Post
All good stuff, thanks again ! Almost perfect now... almost :-)
*Alert!*

If I'm not mistaken there is a regression in this version... all the new stuff you listed is there, but it seems all navigation has disappeared from the "post view": not only the keys (j/k/n/p) but also the "furtive buttons" don't work any more...

Is it only me ?
__________________
maemo blog

Last edited by fpp; 2010-09-21 at 16:27.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#90
Originally Posted by Frank Banul View Post
Remove it altogether. It's redundant, eats screen space, and the self hiding eats CPU effectively delaying you from beginning to read the content while it moves.
Frank
Frank, I fully agree with #1 and #3... but it leads me to the exactly opposite conclusion :-)

- yes, it takes some screen space, but it's often useful because some feeds have little to no content except the title. And for large posts with a lot of content you generally scroll the page anyway...

- it's only redundant because it's also in the window caption, only not so useful because you often see only a small part of it. Especially in portait mode, and of course when "scrolling marquee" is turned off (I also can't stand it :-).

- OTOH there is another useful bit of info that's often lacking from the "view post" page, especially when browsing through the "all posts from all feeds" list : the feed from which the current post came from. That name is generally shorter and would fit well in the caption.

So my personal preference (which I pompously call "the Fred mode") would be :

* feed name in the windows caption

* post title at top of page, as it is now, but not fading and scrolling with the rest...
__________________
maemo blog
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:21.