[foaf-dev] FOAF and Google, SEO etc.
pscott209 at gmail.com
Mon Mar 19 06:06:53 EDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
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
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.
- -- 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/
-----END PGP SIGNATURE-----
More information about the foaf-dev