Re: [foaf-dev] FOAF and Google, SEO etc.
Paul Scott <[email protected]> Mon, 19 Mar 2012 12:06:53 +0200
| Newsgroups | gmane.comp.web.rdfweb |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/03/2012 20:20, Bruce Whealton wrote: > I was looking at this older post and wanted to follow up on the > topics. Paul had mentioned that his FOAF data is held in a > database and whipped up on the fly. How is that done? Are you > posting foaf data as RDFa? Are you using SPARQL to select the > triples to display? This post is pretty old, but still *somewhat* relevant I guess. I have a bunch of tables in my database holding bits and pieces of information (due to the fact that the code I am using is designed for many many users, not really a single user instance such as on my personal site) so I have a user table, with some information about my FOAF:Person for instance and a table describing the site that will make up the FOAF:Document. Within the document, I use regular DC author etc attribs for some basic information. I then iterate over my "posts" (which are not too many) and build up the FOAF:Post bits with an appropriate title, etc. Once that is all prepared, I simply output on a URI. Nothing too special, but obviously not very scalable for larger datasets. HTH - -- - -- Paul http://www.paulscott.za.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPZwU9AAoJEP24vLf5r1PR9pIIAIEcztXv9ImopEWU9E4j9fGl roQN9dju33w/v7aRKoQtrjAwB/N4puJTQTkaQkQJDlrhS+YAMuKLJsZ9AxqVJVn2 fP5KarUBcgYWCtMdS5GTZ8EqHBnSLFjtyl12CiPDp2oPBpE23nwU+M8d2i4hh+0i 6zUYXt1CBsixFk7ISG2r+o1TqwRVell7Nxxd0ZvmdIDiNaANmXonJeHdm5wq9b5R Xn6iZN91ZSD1MJtnNkAfxQ0icLaxmEmMZcu1aC/xXHxDf9nkVuy3hgEVpdGRK6hr NXCO5XH71B2nm0UhI03N9wDZyzptKQ0b8My42DHsCoOTYaOwDgPJEe1BuN+fEy8= =l2Z4 -----END PGP SIGNATURE-----