Does this remember you something? The answer, of course, is yes, and I can tell you what is: the draft I published here a few weeks ago. The difference? It’s that now that dialog is able to save files.
Ok, UI may suck, but frankly that was not the purpose, the purpose was to have a functioning backend, so the engine can (hopefully) produce some suggestions based on the text written in the notepad, the user himself can add new tags with a line edit field, and in the end, with a label and a comment, a text file will be saved into ~/Nepomuk/PlainTetxtDocument/label (so please, add a label). This directory is created and the full path is given to the caller application.
The first idea is to split files based on types defined in NFO ontology; things may get more complicated later on, but for these testing purposes that’s good enough. A doxygen configuration file is in place, and executing it you can get the API: for saving a file, you just need to pass a NFO url, as you can see in test 1 code, so the dialog itself will know what is the type of the document; later on, there will be the possibility to specify in a more detailed way a document subtype.
Next improvements: implementation details for suggestions and recent annotations, then a simple open dialog is the next step into development. The next weekend (usually my commit-and-publish moment) will be a little complicated because of elections, again, here in Italy, and I will be at the polling station (if wordreference.com does not lie, and this is the correct translation (it does not look as good as I thought)); anyway, stay tuned!
ciao
servirebbe anche un’applicazione per salvare il database di nepomuk in maniera da poterlo riusare in prospetiva di una nuova installazione di kubuntu(nel mio caso). Spero tu mi abbia capito.
ciao, buon lavoro
Per salvare il db di Nepomuk dovrebbe bastarti fare un backup della directory .kde, che si trova nella tua home: in questo modo tutte le impostazioni dei programmi di KDE, compreso quanto memorizzato da Nepomuk, sono salvate.
certo ma vuoi mettere una app ad hoc 🙂
non so magari che si occupasse tipo akonadi
di fare un backup.
Il db di nepomuk non dovrebbe stare in una cartella come ~/.nepomuk?
Non per il momento, dato che è un sistema di salvataggio dei dati solo per KDE… se poi un giorno dovesse diventare cross-DE, allora magari potrebbe essere un’idea!
Ah, e stavo facendo un errore: il backend di strigi è salvato in .strigi, quindi la sua indicizzazione è collocata lì…
[…] Alessandro Sivieri ha preparato una primissima implementazione del dialogo di salvataggio file con supporto a Nepomuk. Cosa che dovrebbe permetterci di attribuire etichette, descrizioni, giudizi e quant’altro ai nostri file, proprio nel momento in cui li salviamo. Per chi ha un blog ed è abituato ad etichettare e descrivere credo che sarà una naturale evoluzione dal web al desktop. Per gli utenti comuni forse la possibilità di esplorare nuovi metodi per organizzare i propri documenti. Per i critici infine: ho scritto “permettere”, non “obbligare” 🙂 […]