CVS update: openprivacy/htdocs/notes

From: cvs@openprivacy.org
Date: Sat Dec 16 2000 - 14:47:38 PST


Date: Saturday December 16, 19100 @ 14:47
Author: fen
CVSWEB Options: -------------------

Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes

-----------------------------------

Update of /usr/local/cvsroot/openprivacy/htdocs/notes
In directory openprivacy.org:/home/fen/projects/openprivacy/htdocs/notes

Modified Files:
        flow.txt
Log Message:
prob-created-or-modified

*****************************************************************
File: openprivacy/htdocs/notes/flow.txt

CVSWEB Options: -------------------

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?annotate=1.15

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?rev=1.15&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt.diff?r1=1.15&r2=1.14

-----------------------------------

Index: openprivacy/htdocs/notes/flow.txt
diff -u openprivacy/htdocs/notes/flow.txt:1.14 openprivacy/htdocs/notes/flow.txt:1.15
--- openprivacy/htdocs/notes/flow.txt:1.14 Sat Dec 16 12:31:02 2000
+++ openprivacy/htdocs/notes/flow.txt Sat Dec 16 14:47:38 2000
@@ -1,4 +1,4 @@
-$Id: flow.txt,v 1.14 2000/12/16 20:31:02 fen Exp $
+$Id: flow.txt,v 1.15 2000/12/16 22:47:38 fen Exp $
 
 http://pix.comedia.com/OpenPrivacy/20001214/DSCN5532.JPG
 
@@ -18,6 +18,20 @@
 JP: for each channel,
             if (not (prob-created-or-modified channel))
                create-prob(channel)
+
+jetspeek.prob-created-or-modified(rssChannel) {
+ URI = rssChannel.getURI
+ description = rssChannel.getDescription.
+ hash = sha1(URI + description)
+ if not hashTable.exists(hash) {
+ prob = ProbFactory.create(
+ OpinionFactory.create(namespace=RSS,
+ channel=rssChannel,
+ description=description,
+ ...))
+ storeLocally(prob)
+ hashTable.put(hash, prob)
+ }
 
 // create a primary (secret,public) key pair
 // store this pair as a primary (top-level) pair



This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST