[Jslib] Re: Creating a new RDF file with the rdf libraries
Eric Hodel
drbrain@segment7.net
Sun, 07 Apr 2002 21:18:58 +0100
Eric Plaster wrote:
>> Doh, I obviously missed it, could that list be alphabetized or have a
>> little more context? I've updated my code to use jslib properly for
>> the file, but it still shows the same problem with not creating any
>> entries in the RDF file. Perhaps tomorrow I'll make a testcase and
>> post it.
>
> That would be helpfull, and I will have a look at it.
Ok, here it is. You should be able to drop this anywhere in your chome
path and have it work. When you click the Login button, it will log in
to livejournal and download the moods, adding them to the textbox. When
its done (there are ~130 of them) saveMoods() will be called and it will
attempt to save the data into an RDF file. When complete, the message
"Login successful: Test Account" will be displayed in the statusbar
below the textbox.