I am still looking for big real-life examples, applications, whatever, using RDF.
Amazes me that RSS started as RDF but now looks completely different. I would like to see a description of the history of RSS, why things happened as they did.
I am still looking for big real-life examples, applications, whatever, using RDF.
Amazes me that RSS started as RDF but now looks completely different. I would like to see a description of the history of RSS, why things happened as they did.
I read that somebody predicted a 100 years ago that there would be music for the masses, with people listening using one earphone each. Although it was a nice prediction, neither wireless nor loudspeakers occured to him. So much for us trying to predict things. (from a thread on comp.lang.forth).
Dum me, I just found the http://www.advogato.org/diary/ link that everybody uses to add diary entries. Oh well, hacking my own xmlrpc thingie was fun.
Ok, I am curious.
This is a test. What happens if I already did send a diary entry today via Send?
The next days I will be working on a paper about component models in an extended subset of UML. After that we have planned a tool for conversion of XMI to PVS, and I have to write a report with the plan. That will keep me busy for a while!
How do you add entries to your Advogato diary?
I like to be able to write diary entries with my favorite text editor (gvim) and store them in a file. With the Python script below in my CGI directory, called todiary.py, I can now send an Advogato diary entry from anywhere, via my Send Entry page.
You can use that Send Entry page too, I do not try to steal passwords :-) But of course you can also just copy the HTML there and the Python CGI program below to your own site.
Once I have a diary entry I can edit it with the "Edit" button Advogato supplies. But I did not find a way to add a new diary entry. Is it even there?
import cgi
import sys
sys.stderr = sys.stdout # errors to browser
print "Content-type: text/plain"
print
# Get cgi parameters, Python Cookbook recipe 11.3.
fieldStorage = cgi.FieldStorage()
params = {}
for key in fieldStorage.keys():
params[key] = fieldStorage[key].value
diaryEntryString = params['yourfile']
name = params['name']
pw = params['pw']
import xmlrpclib
server = xmlrpclib.Server("http://www.advogato.org/XMLRPC")
cookie = server.authenticate(name, pw)
diary = server.diary
diary.set(cookie, -1, diaryEntryString)
print 'Sending this to you Advogato Diary:'
print '-----------------------------------'
print diaryEntryString
print 'number of diary entries is now: %s' % diary.len(name)
I made an overview of what we can do with the HTML tags:
The following HTML is accepted...
a (hyperlink works normally with href attribute?)
i italic
b bold
tt true type
p paragraph
blockquote Your blockquote goes here.
pre same as tt?
As you can see I don't know how to use these:
To my surprise I found this Advogate XMLRPC interface for diaries on the advogato site. What a fun idea!
New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!