On 11-04-21 at 02:21pm, Joey Hess wrote:
> Jonas Smedegaard wrote:
> > Please consider applying attached patch to have meta.pm support FOAF 
> > file advertising from web pages (typically the front page, but not 
> > necessarily).
> 
> > +                   push @{$metaheaders{$page}}, '<link rel="meta" '.
> > +                           'type="application/rdf+xml" title="FOAF" '.
> > +                           'href="'.encode_entities($value).'" />';
> 
> So the FOAF content is included in the meta directive, rather than 
> read in from a file? Is that going to be a useful way to provide it?

no.  Similarly to "stylesheet" and "script", "foaf" style meta hint is 
only a reference.

You can see an example at http://dr.jones.dk/ (rendered using above 
patch) - and (in case you are unfamiliar with FOAF) an example of 
what can come of advertising FOAF data here:

  http://sig.ma/search?q=Jonas%20Smedegaard


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Reply via email to