CVS update: openprivacy/htdocs/notes

From: cvs@openprivacy.org
Date: Mon Dec 18 2000 - 20:42:28 PST


Date: Monday December 18, 19100 @ 20:42
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:
updated putProb

*****************************************************************
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.33

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?rev=1.33&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.33&r2=1.32

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

Index: openprivacy/htdocs/notes/flow.txt
diff -u openprivacy/htdocs/notes/flow.txt:1.32 openprivacy/htdocs/notes/flow.txt:1.33
--- openprivacy/htdocs/notes/flow.txt:1.32 Mon Dec 18 20:08:23 2000
+++ openprivacy/htdocs/notes/flow.txt Mon Dec 18 20:42:28 2000
@@ -1,4 +1,4 @@
-$Id: flow.txt,v 1.32 2000/12/19 04:08:23 burton Exp $
+$Id: flow.txt,v 1.33 2000/12/19 04:42:28 fen Exp $
 
 http://pix.comedia.com/OpenPrivacy/20001214/DSCN5532.JPG
 
@@ -29,9 +29,10 @@
 // JetsPeek is a OCS <-> OpenPrivacy gateway
 // when JetsPeek loads the OCS feeds, it creates PROBs for the RSS channels
 //
-RSS_channel[] = jetspeek.get-OCS-feed(xmltree)
-for each rssChannel in (RSS_channel[]) {
- jetspeek.putProb(rssChannel)
+RSS_channel_URL[] = jetspeek.get-OCS-feed(xmltree)
+for each URL in (RSS_channel_URL[]) {
+ rss = getRSS(URI)
+ jetspeek.putProb(URI, rss)
 }
 
 // in this simple reference example, JetsPeek keys off of two fields:
@@ -39,8 +40,7 @@
 // TODO: how to merge values from similar probs, e.g.,
 // slashdot.org reputation grafts after description has changed?
 //
-jetspeek.putProb(rssChannel) {
- URI = rssChannel.getURI // get the channel's URI
+jetspeek.putProb(URI, rss) {
     description = rssChannel.getDescription // and description
     //
     // hash these to determine uniqueness for import into prob tree
@@ -51,10 +51,9 @@
         //FIXME: we might not need setProperty now that the property-resolver
         //mechanism has been documented (see datastore.txt)
 
- op = New Opinion // create new opinion object
+ op = New Opinion(URL, // create new XMLDocument
+ property-resolver[]) // with defined properties
         op.setProperty("namespace", "RSS*")
- op.setProperty("channel", rssChannel)
- op.setProperty("URI", URI)
         op.setProperty("description", description)
         //
         // see ProbConfig, below, for a better way to do this
@@ -199,6 +198,8 @@
 // reputations for each of the RSS channels it holds and J1 adds a graft?
 //
 JP:
+
+// ========== in Agent2 ========== look up chennels by reputation
 
 JP: parse into RSS channels
 JP: for each rssChannel in (RSS_channel



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