About Restful, RDF and Views

Events happening in the community are now at Drupal community events on www.drupal.org.
alejandrodf's picture

Hello folks,

In my project I have a content type with represents a person. I can see the RDFa labels in the html code of my nodes and if I access the /node.rdf I can see the RDF generated by Restful module.

Now I want to create a page where I have some text and a list of members. So I have created a new content type with a field for a description and a Viewfield to display a view with the list of members. It's a multilingual website so I have to use this method because views don't support multilanguage neither the name, header and footer.

Using RDFa distiller and Parser http://www.w3.org/2007/08/pyRdfa/ I can see the RDFa labels are succesfully included in my site. However when I try to access /node.rdf the RDF code of the views' items is not included.

Any ideas of what I should do? Maybe the way I'm trying to do this it's not the best.

Thanks in advance!

Comments

You will not have access to

linclark.research's picture

You will not have access to the .rdf description on a Views page. The .rdf description of an entity is only available from the entity's page.

Your RDFa markup should

scor's picture

Your RDFa markup should appear in the Views markup (if you've set up the Views to display full nodes or teaser), but given that the .rdf is generated differently and not the same way the RDFa is, it won't be listed in the .rdf. This is a good feature request though, so if you like, please file it at http://drupal.org/project/issues/rdfx so we can discuss it further, and see how we could fix that.

Hi linclark and scor, I have

alejandrodf's picture

Hi linclark and scor,

I have created the feature request :) . I have been reading the code, but I don't have any ideas of how it's work. If I'm able to understand it I will try to help with this issue

Thanks!!

Semantic Web

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: