|
2011-09-16
, 19:33
|
Posts: 1,950 |
Thanked: 1,174 times |
Joined on Jan 2008
@ Seattle, USA
|
#52
|
|
2011-09-16
, 20:27
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#53
|
The Following User Says Thank You to fpp For This Useful Post: | ||
|
2011-11-08
, 06:04
|
Posts: 86 |
Thanked: 22 times |
Joined on Jan 2008
@ Moscow
|
#54
|
However, tags may be added to notes' title and/or body and searched.
|
2011-11-08
, 14:20
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#55
|
|
2011-11-08
, 17:55
|
Posts: 86 |
Thanked: 22 times |
Joined on Jan 2008
@ Moscow
|
#56
|
Thanks. I coded the SN API 1.0 by hand when tags were not there yet.
Recently I stumbled upon a python lib for API 2.0 which is probably much cleaner than mine and does tags & other stuff.
This may motivate me to upgrade SnXM, time and energy being the limiting factors
The thing is that I have no idea how to fit tags into the N900 UI without crowding things or popup screens.
I seem to understand that you are speaking of a hack (of sorts) where tags would be supported without UI changes -- say, a convention where tags would be the first line of a note's contents, in "@tag" syntax.
Would that be an accepable compromise ?
|
2011-11-08
, 21:46
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#57
|
|
2011-11-09
, 07:42
|
Posts: 86 |
Thanked: 22 times |
Joined on Jan 2008
@ Moscow
|
#58
|
Hmm, title ? Hadn't thought of that.
It probably does add more constraints or conventions the user needs to respect, though, because there needs to be a way I can detect tags in a local note's content to convert them to SN tags while uploading, and the reverse while downloading.
Tags as first line of content is easy : if first line starts with @, consider the rest as tags, else no tags...
Tags in title need to be distinguished from the title text proper, if you require both (I know I would).
So, title text first, and everything after the first @ is parsed as tags ? But then you need to be careful not to use @ in title text, etc.
Need to think about it a bit. Just don't hold your breath, unless you're a professional diver :-)
|
2012-04-14
, 12:03
|
Posts: 4 |
Thanked: 0 times |
Joined on Jan 2012
@ Italy
|
#59
|
After I reinstalled SnXM I wasn't able to run it, running from X terminal gives the following:
~ sh snxm
Traceback (most recent call last):
File "snxm.py", line 11, in <module>
from ui.mainwindow import MainWindow
ImportError: No module named ui.mainwindow
I have PyQt Full Install 4.7.5-maemo2 — do I need something else?