FOAF patches



Hi guys,

Attached are some patches to allow the FOAF stuff to compile.

However, at the moment backend-htmlchainer.cs has gone away so
we no longer have anything that creates the FOAF Clues that are
required.  I'm thinking of adding them into TextChainerBackend.
How does that sound?

Cheers!

-- 
Andrew Ruthven
Senior Systems Engineer, Actrix Networks Ltd   -->   www.actrix.gen.nz
At Actrix puck actrix gen nz
At Home:  andrew etc gen nz

Index: backends/FoafFileBackend.cs
===================================================================
RCS file: /cvs/gnome/dashboard/backends/FoafFileBackend.cs,v
retrieving revision 1.11
diff -u -r1.11 FoafFileBackend.cs
--- backends/FoafFileBackend.cs	16 Feb 2004 04:48:25 -0000	1.11
+++ backends/FoafFileBackend.cs	16 Feb 2004 09:01:04 -0000
@@ -81,11 +81,11 @@
 					Console.WriteLine ("Person identified by {0} {1}",
 							   prop, val);
 
-					Match res = foaf.GenerateMatch (prop, val);
+					Match res = foaf.GenerateMatch (prop, val, c);
 					if (res != null)
 							result.AddMatch (res, c);
 
-					result.AddChainedClues (foaf.GenerateClues (prop, val, c), c);
+					result.AddChainedClues (foaf.GenerateClues (prop, val, c));
 			}
 		}
 
Index: util/rdf/foaf.cs
===================================================================
RCS file: /cvs/gnome/dashboard/util/rdf/foaf.cs,v
retrieving revision 1.7
diff -u -r1.7 foaf.cs
--- util/rdf/foaf.cs	14 Feb 2004 09:43:02 -0000	1.7
+++ util/rdf/foaf.cs	16 Feb 2004 09:01:04 -0000
@@ -105,8 +105,8 @@
 			return clues;
 		}
 
-		public Match GenerateMatch (string property, string value) {
-				Match match = new Match ("Addressbook");
+		public Match GenerateMatch (string property, string value, Clue c) {
+				Match match = new Match ("Addressbook", c);
 
 			IRdfNode person = FindPerson (property, value);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]