Re: [Zim-wiki] new plugin: fileview
On Tue, Jun 29, 2010 at 6:09 PM, Thorsten Hackbarth thorsten.hackba...@gmx.de wrote: Am Dienstag, den 25.05.2010, 12:21 +0200 schrieb Jaap Karssenberg: I'm really interested in the plugin to preview / browse attachments. This is something I wanted to create myself, but didn't find time for yet. Might even want this as core functionality instead of as a plugin. Sorry for the even later reply. Here is a very basic version of the plugin. Still a lot to do, but works for me. I use it to browse collections of pdf files (technical documentation, data sheets, etc). Basic functionality looks quite good although there are a lot of rough edges that will need polishing before including it in trunk. Still I think this is very useful for various users. I suggest putting it in the wiki at http://zim-wiki.org/wiki and use a page there to track improvements. Alternatively you could check in a bazaar tree for this plugin in launchpad. Some suggestions: * Use gtk.pixbuf to generate thumbnails instead of imagemagick * Follow the freedesktop.org spec for storing thumbnails * Use the open_file method in zim to allow opening files on double click * Maybe use a small pane for image preview instead of the tooltip ? For more flexibility I suggest changing the zim layout to something like this: +-+ |menu | +-++--+ | | top pane | | | | | | | s ++ s | | i | wiki editor | i | | d | | d | | e | | e | | b ++ b | | a |tabs| | a | | r | bottom pane | r | | | | | +--+--+ I'll keep this in mind when refactoring the interface. Regards, Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Updates for Quick Note dialog (was Create Note)
On 7 July 2010 00:11, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Just updated the Quick Note plugin (this was called Create Note before, but renamed to better cover the functionality). The dialog now lets you choose to either create a new page for each note (appending a number to the page name if the page already existed) or to append all notes to the same page. Also the dialog now supports a customizable template with a timestamp etc. The plugin can be called directly from the commandline (useful for global desktop keybindings) and is also shown in the trayicon menu. Some testing of these changes would be appreciated. Thanks, I'm building from bzr now. I am getting these errors: == ERROR: Test loading plugins and meta data -- Traceback (most recent call last): File /home/dotancohen/code/zim/tests/plugins.py, line 22, in runTest plugin = zim.plugins.get_plugin(name) File /home/dotancohen/code/zim/zim/plugins/__init__.py, line 31, in get_plugin mod = get_plugin_module(pluginname) File /home/dotancohen/code/zim/zim/plugins/__init__.py, line 23, in get_plugin_module mod = __import__('zim.plugins.'+pluginname) ImportError: No module named createnote == FAIL: Test parsing dates -- Traceback (most recent call last): File /home/dotancohen/code/zim/tests/parsing.py, line 25, in testParseDate self.assertEqual(parse_date('1/1'), (today.year, 1, 1)) AssertionError: (2011, 1, 1) != (2010, 1, 1) -- Ran 101 tests in 13.392s FAILED (failures=1, errors=1) From where can I get the createnote module? What should I do about the second error? In related news there is also a firefox plugin under development which will use this dialog. Anyone feel like testing early versions should check out Micheal's work at https://launchpad.net/zimcapture/ Testing it now, I found some issues. I'll let Micheal know. Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] Shifting accents
Hello everyone! I use Zim for a two years for short notes only. Although I'd like to exist the common way for storing any kind of documents, contacts, e-mails, notes, associating it with each other, Zim is not the proper way to do this (yet, but I hope some day). There are some methods to organize data oriented to one particular task: Eviolution is good for e-mail, contacts, and calendar; Nautilus is good for files; Referencer is good for articles and for notes but with restrictions (as Nautilus btw); a lot of CMS like Drupal and Joomla with using plugins like DOCman are good but are heavyweight. Only Google moves to the side of the total data integration. However the Google way is the web way and it is not the proper way sometimes, moreover even Google is too far from that. Unlike CMS where data storage structure is hidden from the user in binary database, Zim uses the file system as the database. In such a db the text notes have favor position over the data stored in other formats. This is consistent with the idea of Zim, but complicates an integration of other data formats to Zim, the latest threads in this mailing list have faced the issue. I propose to slightly shift accents to hold different data in more uniform way. In future this can differ the concept Zim stands on but rise it to a new level. The idea is simply the integration of Zim's database into a user's directory tree. Every directory in the tree will hold a file named e.g. '.zimlocal' containing associations of files and directories with some data type. In a simplest case a data type is the mark notes page or folder in terms of Zim. As it is hard to distinguish the notes and ordinary files, the direct marking of them is the good case. The non-marked files just places where they are, they can be attached to notes or not. Every note page has familiar Zim's format so we don't need to change the engine much. In a more general case '.zimlocal' files can hold the links between files bypassing or alternating the links in notes pages. In addition there may be received a new way to browse data in Zim: in the left panel where the folders' tree is shown, can be the file and directory tree. We can look further and see additional plugins allowing to deal with vCards, vCalendars, maildirs etc. With this way we'll can associate contacts, e-mails, comments, documents, calendar milestones etc. It may result a kinda OS :) As for me, right now I strongly need a way to store comments with links for a big collection of an articles and books, and I don't need to separate this collection from the rest of files in my projects. The Referencer which is used for now is not good for this. I hope my suggestion will not seem useless to you, or too complicated. Jaap, you're doing a great job. Let's make a brainstorm and figure out something good. Regards, Evgeny Kurbatov ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Updates for Quick Note dialog (was Create Note)
On Wed, Jul 7, 2010 at 10:59 AM, Dotan Cohen dotanco...@gmail.com wrote: Thanks, I'm building from bzr now. I am getting these errors: You can ignore both errors. First is due to renaming the plugin - test still detects the old version elsewhere in your path. Second error is unrelated and is actually a glitch in the test, not in the functionality. -- Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Updates for Quick Note dialog (was Create Note)
On 7 July 2010 12:19, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Wed, Jul 7, 2010 at 10:59 AM, Dotan Cohen dotanco...@gmail.com wrote: Thanks, I'm building from bzr now. I am getting these errors: You can ignore both errors. First is due to renaming the plugin - test still detects the old version elsewhere in your path. Second error is unrelated and is actually a glitch in the test, not in the functionality. Thank you, I'll build then. Tell me, my real Zim (0.47) keeps all the data in ~/.zim. Is there a way to start the test Zim with the path ~/.zim-test so that I do not risk my real data? Thanks! -- Dotan Cohen http://gibberish.co.il http://what-is-what.com ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Shifting accents
Evgeny, I'm sorry but I'm not sure I understand what exactly it is you are proposing. I see some brainstorm about adding things like email, contacts etc. in zim. I'm not sure zim is the right tool for this. But that depends on what you are trying to do with the data. I also see a proposal to add meta data to folders. But I don't understand what problem you are trying to solve here. Probably you should start out with describing a use case in some detail and if we agree on that we can discuss implementation details later. Probably the wiki at http://zim-wiki.org/wiki is a good place to put such a detailed use case. Regards, Jaap On Wed, Jul 7, 2010 at 11:11 AM, Evgeny Kurbatov evgenykurba...@yandex.ru wrote: Hello everyone! I use Zim for a two years for short notes only. Although I'd like to exist the common way for storing any kind of documents, contacts, e-mails, notes, associating it with each other, Zim is not the proper way to do this (yet, but I hope some day). There are some methods to organize data oriented to one particular task: Eviolution is good for e-mail, contacts, and calendar; Nautilus is good for files; Referencer is good for articles and for notes but with restrictions (as Nautilus btw); a lot of CMS like Drupal and Joomla with using plugins like DOCman are good but are heavyweight. Only Google moves to the side of the total data integration. However the Google way is the web way and it is not the proper way sometimes, moreover even Google is too far from that. Unlike CMS where data storage structure is hidden from the user in binary database, Zim uses the file system as the database. In such a db the text notes have favor position over the data stored in other formats. This is consistent with the idea of Zim, but complicates an integration of other data formats to Zim, the latest threads in this mailing list have faced the issue. I propose to slightly shift accents to hold different data in more uniform way. In future this can differ the concept Zim stands on but rise it to a new level. The idea is simply the integration of Zim's database into a user's directory tree. Every directory in the tree will hold a file named e.g. '.zimlocal' containing associations of files and directories with some data type. In a simplest case a data type is the mark notes page or folder in terms of Zim. As it is hard to distinguish the notes and ordinary files, the direct marking of them is the good case. The non-marked files just places where they are, they can be attached to notes or not. Every note page has familiar Zim's format so we don't need to change the engine much. In a more general case '.zimlocal' files can hold the links between files bypassing or alternating the links in notes pages. In addition there may be received a new way to browse data in Zim: in the left panel where the folders' tree is shown, can be the file and directory tree. We can look further and see additional plugins allowing to deal with vCards, vCalendars, maildirs etc. With this way we'll can associate contacts, e-mails, comments, documents, calendar milestones etc. It may result a kinda OS :) As for me, right now I strongly need a way to store comments with links for a big collection of an articles and books, and I don't need to separate this collection from the rest of files in my projects. The Referencer which is used for now is not good for this. I hope my suggestion will not seem useless to you, or too complicated. Jaap, you're doing a great job. Let's make a brainstorm and figure out something good. Regards, Evgeny Kurbatov ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] new plugin: fileview
Jaap, I use this plugin on a daily base and the only rough edges I see is the lack of resizing the window. Why not put it in trunk to boost development? There are other plugins which have had rougher edges over the time than this, and still they were allowed in trunk. This plugin is extremely useful for us users who store additional data in the zim tree, the previews are just fantastic help to find referenced material by visual inspection. I give this plugin a thumb up for trunk. -- Svenn ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] new plugin: fileview
Dne St 7. července 2010 15:58:20 Svenn Are Bjerkem napsal(a): I give this plugin a thumb up for trunk. +1 -- Vlastimil Ott www.e-ott.info Stahujte časopis o softwaru. Zdarma. http://www.openmagazin.cz ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp