From: cvs@openprivacy.orgCVS update: openprivacy/htdocs/notes
Date: Monday December 18, 19100 @ 17:30
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:
added comment
*****************************************************************
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.23
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?rev=1.23&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.23&r2=1.22
-----------------------------------
Index: openprivacy/htdocs/notes/flow.txt
diff -u openprivacy/htdocs/notes/flow.txt:1.22 openprivacy/htdocs/notes/flow.txt:1.23
--- openprivacy/htdocs/notes/flow.txt:1.22 Mon Dec 18 17:26:46 2000
+++ openprivacy/htdocs/notes/flow.txt Mon Dec 18 17:30:10 2000
@@ -1,4 +1,4 @@
-$Id: flow.txt,v 1.22 2000/12/19 01:26:46 burton Exp $
+$Id: flow.txt,v 1.23 2000/12/19 01:30:10 fen Exp $
= =======================================
@@ -31,16 +31,17 @@
// create a primary (secret,public) key pair for JetsPeek
// store this pair as a primary (top-level) pair
+// note that this operation is standard to every ReputationServer
//
-JP: (JPN1s,JPN1p) = createPseudonym(rand())
+(JPN1s, JPN1p) = reputationServer.createPublicKeyPair()
// JetsPeek is a OCS <-> OpenPrivacy gateway
// when JetsPeek loads the OCS feeds, it creates PROBs for the RSS channels
//
-JP: receive OCS feed
-JP: parse into RSS channels
-JP: for each rssChannel in (RSS_channels)
- jetspeek.putProb(rssChannel)
+RSS_channel[] = jetspeek.get-OCS-feed(xmltree)
+for each rssChannel in (RSS_channel[]) {
+ jetspeek.putProb(rssChannel)
+}
// in this simple reference example, JetsPeek keys off of two fields:
// URI and description are used to see if we should create a new prob
@@ -50,8 +51,10 @@
jetspeek.putProb(rssChannel) {
URI = rssChannel.getURI // get the channel's URI
description = rssChannel.getDescription // and description
+ //
+ // hash these to determine uniqueness for import into prob tree
+ //
hash = sha1(URI + description)
-
if not hashTable.exists(hash) {
op = New Opinion // create new opinion object
op.setProperty("namespace", "RSS*")
This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST