It shouldn't be hard because php has a function that can execute shell functions like the ones used in the my scripts.
If you are look for a wiki you can try zim wiki.
thanks actually I just left mediawiki and started using tomboy, in fact I am desperatly trying to get the content out of my old mediawiki that i stupidly didnt export. Zim seems like tomboy with a few extra features like tree organization of notes and formulaes. Tomboy works fine for me. But neither of them from what I can tell have the ability to host your notebooks through a webserver, which is what I am looking for. Basicly I want read/write access to my tomboy notes from anywhere on the internet. But I dont want anything as bulky and complicated as mediawiki. I want the simplicity of tomboy brought into an online wiki interface.
It surprises me that no one has written a script to host your tomboy files directly as an online wiki. Even the makers of tomboy, it seems like such an obvious way to improve the software. They currently have webdav and ways to synchronize files. But IMO synchronizing is a pain and doesnt really work well in two directions. Plus theres just no need to keep two copies of the files if tomboy is on the same machine as your webserver.
Maybe I am just a small demographic, being someone with my own domain and webserver.
Anyway I didnt mean to threadjack, I just thought you might know something about it.
hello this tutorial seems interesting but when i made the python script and ran it i would get and error saying
and this is my python scriptCode:python exporttom.py Traceback (most recent call last): File "exporttom.py", line 17, in <module> file.write(note) # write the file UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 6: ordinal not in range(128)
Code:#!/usr/bin/env python import sys, dbus, gobject, dbus.glib #Varibale you need to assign values to noteName = "Tasks" #enter the name of your tomboy note exportFileName = '/home/kmaster/Documents/tasks.txt' # the export file #Read the tomboy note bus = dbus.SessionBus() obj = bus.get_object("org.gnome.Tomboy", "/org/gnome/Tomboy/RemoteControl") tomboy = dbus.Interface(obj, "org.gnome.Tomboy.RemoteControl") note = tomboy.GetNoteContents(tomboy.FindNote(noteName)) #export the note file = open(exportFileName, 'w') file.write(note) # write the file file.close() # close it
windows crumbles under the power of the almighty linux the penguin
what sort encoding (UTF, ASCII) is your text file using?
The unicode error is from using a bulletpoint in Tomboy
The easiest solution is to not use them!