W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > November 2009

Re: Basic semantic sitemap in RDFa for Drupal

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Mon, 30 Nov 2009 15:42:16 +0100
To: "Stephane Corlosquet" <scorlosquet@gmail.com>, "Steven Pemberton" <Steven.Pemberton@cwi.nl>
Cc: "RDFa mailing list" <public-rdf-in-xhtml-tf@w3.org>, sioc-dev@googlegroups.com, "Lin Clark" <lin.w.clark@gmail.com>
Message-ID: <op.u37psqzwsmjzpq@steven-750g>
On Mon, 30 Nov 2009 15:36:41 +0100, Stephane Corlosquet  
<scorlosquet@gmail.com> wrote:

> Hi Steven,
>
> Thanks for your feedback!
>
> On Mon, Nov 30, 2009 at 8:58 AM, Steven Pemberton
> <Steven.Pemberton@cwi.nl>wrote:
>
>> Looks good to me.
>>
>> There's something slightly odd with classifying people's names as being  
>> in
>> the same language as the document:
>>
>>        <http://drupalrdf.openspring.net/user/20> a sioc:User ;
>>             foaf:name "lucerukimam"@en .
>>
>
> good point. This is inherited from the xml:lang="en" attribute of the  
> html
> tag of the document. Is there anyway in RDFa to reset this language tag  
> in
> the markup? is adding xml:lang="" to the tag containing the foaf:name the
> right way to do it?

Yes.

>> and I don't see the need for duplicating the data on number of replies  
>> in
>> @content:
>>
>>  <td class="replies" property="sioc:num_replies" content="4"
>> datatype="xsd:integer">4</td>
>>
>
> I agree, however the value of the td tag is sometimes enriched with some
> extra HTML markup,

Fair enough!

Best wishes,

Steven

> for example when you are logged in it tells you how many
> new comments have been added since you list visited the page, and you  
> will
> see something like the screenshot [1] which corrresponds to this markup
> <td datatype="xsd:integer" content="21" property="sioc:num_replies"
> class="replies">21<br/><a href="/node/149#new">19 new</a></td>
>
> we thought it's less markup to add the content attribute in the td tag
> rather than wrapping 21 with some extra HTML markup.
>
>
> Steph.
> PS: for the records, the ticket on the Drupal issue tracker is
> http://drupal.org/node/614508
>
> [1] http://skitch.com/scor/njcry/recent-content-drupalrdf.openspring.net
>
>
>
>>
>> when
>>
>>  <td class="replies" property="sioc:num_replies"
>> datatype="xsd:integer">4</td>
>>
>> would do just as well.
>>
>> Best wishes,
>>
>> Steven Pemberton
>>
>>
>> On Sat, 28 Nov 2009 01:39:41 +0100, Stephane Corlosquet <
>> scorlosquet@gmail.com> wrote:
>>
>>  Hi,
>>>
>>> There is a patch under review for annotating the "Recent content" page
>>> with
>>> RDFa in Drupal 7 core. This page lists the latest activity on a given
>>> Drupal
>>> site: title, author, number of comments and last updated date for each
>>> page.
>>> I've setup Drupal 7 with this patch at
>>> http://drupalrdf.openspring.net/tracker for reviews. We think it could  
>>> be
>>> a
>>> potentially be good entry point for semantic web aware crawlers which
>>> could
>>> find here the relevant pages to update their index, a basic semantic
>>> sitemap
>>> in fact.
>>>
>>> Do you think this is something SearchMonkey or Sindice would be able to
>>> take
>>> advantage of? Is it useful in general? Are we using the right RDF
>>> mappings?
>>> Is there any other elements we should annotate on this page?
>>>
>>> regards,
>>> Stephane.
>>>
>>
>>
Received on Monday, 30 November 2009 14:42:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:33 UTC