(FOAF)Homepage online
My homepage is finally online, with a short bio and links to misc stuff (projects, bookmarks …). It’s generated from my FOAF profile, using PHP5 and XSLT.
As you may see, the XSLT stylesheet is really basic: it just parses the FOAF profile to render informations, loops around foaf:currentProject and foaf:onlineAccount, and sometimes test the lang parameter to display informations in french or english …
This is actually why is use PHP5 instead a simple stylesheet applied to the profile, as I autodetect preferend user language from the browser. Moreover, as one can embed PHP in an XSLT stylesheet with PHP5, I can retrieve the lang parameter, and also display last update, reading file information with filemtime().
Comments
Leave a Reply
You must be logged in to post a comment.
