I found out the mobile program 'OmniNotes' can import from Springpad archives, and a springpad archive apparently is a JSON file in a ZIP file. JSON is the same thing as XML just a little bit different, and I found an example here:
https://github.com/springpartners/sprin ... xport.json. So all you need to do is just change the CintaNotes xml into a json file like in the example, and you can browse and search notes, and the program even has sections ('categories') and some kind of tag support, so that is much better than an XML browser or even a dictionary program. Here is how to make a springpad archive and make it appear in the Omninotes program:
1) Install autohotkey from
https://autohotkey.com2) Export your Cintanotes database to C:\cintanotes.xml, include every export field (but attachments are not neccessary.)
3) Paste these few lines in a file with a text editor and make the file have the extension .ahk:
Code: Select all
FileEncoding, UTF-8
FileRead, xml, C:\cintanotes.xml
pos := 1
FileAppend, [, C:\asdf.json
while pos := RegExMatch(xml, "\<note\suid\=\""(?P<noteuid>.{36})\""\stitle\=\""(?P<title>.*?)\""\screated\=\""(?P<created>.{15})\""\smodified\=\""(?P<modified>.{15})\""\ssource\=\""(?P<source>.*?)\""\slink\=\""(?P<link>.*?)\""\sremarks\=\""(?P<remarks>.*?)\""\stags\=\""(?P<tags>.*?)\""\s.*?section\=\""(?P<section>\d*?)\""(\splainText\=\""(?P<plaintext>.*?)\"")?\>(\n\t\t)*?\<\!\[CDATA\[(?P<cdata>.*?)\]\]\>(\n\t\t\<attachments\>\n\t\t\t.*?(\n\t\t\t.*?)*?\n\t\t.*?\n\t)*?\<\/note\>", out, pos + StrLen(out))
{
StringReplace, outtags, outtags, %A_SPACE%, "`,", All
StringReplace, outcdata, outcdata, `n, <br>, All
StringReplace, outcdata, outcdata, \, \\, All
StringReplace, outcdata, outcdata, /, \/, All
StringReplace, outcdata, outcdata, ", \", All
StringReplace, outcdata, outcdata, `t, \t, All
StringReplace, outtitle, outtitle, \, \\, All
StringReplace, outtitle, outtitle, /, \/, All
StringReplace, outtitle, outtitle, ", \", All
StringReplace, outtitle, outtitle, `t, \t, All
StringReplace, outcreated, outcreated, T,, All
StringReplace, outmodified, outmodified, T,, All
FormatTime, created, %outcreated%, yyyy-MM-ddTHH:mm:ss+0000
FormatTime, modified, %outmodified%, yyyy-MM-ddTHH:mm:ss+0000
FileAppend, `n {`n "tags":["%outtags%"]`,`n "text":"%outcdata%"`,`n "created":"%created%"`,`n "name":"%outtitle%"`,`n "notebooks":["%outsection%"]`,`n "uuid":"%outnoteuid%"`,`n "type":"Note"`,`n "modified":"%modified%"`n }`,,C:\asdf.json
}
pos := 1
while pos := RegExMatch(xml, "\<section\sid\=\""(?P<sectionid>\d*?)\""\snum\=\""\d*?\""\sname\=\""(?P<name>.*?)\""\scolor", out, pos + StrLen(out))
{
FileAppend, `n {`n "created":"2014-05-19T13:54:09+0000"`,`n "name":"%outname%"`,`n "uuid":"%outsectionid%"`,`n "type":"Notebook"`,`n "modified":"2014-05-20T17:58:16+0000"`n }`,,C:\asdf.json
}
FileAppend, asdf, C:\asdf.json
FileRead, asdf, C:\asdf.json
asdf2 := RegExReplace(asdf, "\n(\s\s\}),asdf", "$1]")
FileAppend, %asdf2%, C:\export.json
FileDelete, C:\asdf.json
4) Rightclick the file you just made and click 'Run Script'
5) Now find the file C:\export.json, and place it in a .zip file
6) Transfer the .zip file to your phone.
7) Install Omninote from the google play store or from somewhere else.
8) Run it, and in the program, open the hamburger menu, click settings, data, backup, import notes from springpad
9) Browse to the zip file and it will import.
Easy and works! Just one-way though. But in just one of my sections it skipped a bunch of notes, can't figure out why. But it should work. Perhaps this is more useful for you, it certainly must be more usable than XML browser apps that don't work...