Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rdf]

The Resource Description Framework (RDF) is a language for representing information about resources in the World Wide Web. It is a syntax independent data model that may be serialised in a variety of concrete syntaxes. RDF is the core data format used on the Semantic Web.

2
votes
3answers
428 views

Blank spaces opening RSS XML file - How to solve?

All of the sudden, we are experiencing problems with our RSS feed which comes with the Drupal core 7.x . It is no longer valid due to two spaces before the opening XML tag. The following error is what ...
1
vote
0answers
42 views

schema: being stripped from typeof attribute (Structured data aka RDF)

I've got a field on my account, named bio. In this field, I'm manually adding the following: <a href="https://www.jaypan.com/" typeof="schema:Organization>Jaypan</a> However, the ...
3
votes
1answer
2k views

How to add Structured data to a site?

I am trying to find a lot on Google how to add Structured data to site and from all the tutorials I got an impression that there is RDF module in core which was supposed to do that work like providing ...
1
vote
0answers
39 views

How to add rdf mapping to custom entities? [closed]

How to add specific rdf mapping (ex dcterms) to custom entity fields?
0
votes
1answer
138 views

RDF mapping of a single node?

Is it possible to create RDF mappings for a single node in Drupal 8? I've enabled the module RDF and also downloaded and enabled RDF UI and its submodule - RDFUI_builder. I've already created RDF ...
0
votes
2answers
868 views

How do I remove “active” css class from breadcrumbs?

I am trying to include Structured Data in my breadcrumbs. The google validator throws an error on my final breadcrumb. When I remove class="active" from the code in the code validator window the code ...
1
vote
1answer
66 views

RDF core module doesn't seem to work after security upgrade

I updated from Drupal 7.36 to 7.38 for security reasons. Now the nodes don't get displayed in RDF any more. For example: http://bartoc.org/en/node/112, add .rdf and you get the message "The requested ...
1
vote
1answer
95 views

How to edit Drupal core rdf.module functionality

Using drupal's core RDF module there is a function (shown below) that add "xml:lang" attibute to tags. What I want to do is to change this functionality so that $variables['attributes_array']['xml:...
1
vote
1answer
157 views

RDFa output and Panels

I need to get RDFa working with Panels. As it currently stands, fields output with panels or panelizer will have their property fields set correctly. You can see an example of this at http://schema....
2
votes
1answer
155 views

How to add RDFa to fields in a view? [closed]

I have installed a Drupal 7 views module called Islandora Solr Views and I can create views from the Islandora solr search results. My next goal is to add some semantic data to these fields but after ...
0
votes
2answers
2k views

HTML5 doctype with RDFa

I'm using Omega 3, and have a redundant HTML doctype header line. How do I correct this so I have my HTML5 <!DOCTYPE html> line, and specify RDFa? Currently, the first two lines of my pages ...
0
votes
1answer
79 views

Why do certain fields not behave like fields?

Why do certain fields not behave like fields? For example 'Product title' and 'Product price' fields from Drupal Commerce: You can tell that these two fields are composed very differently. I have ...
2
votes
0answers
20 views

Integrate fivestar module with schemaorg module [duplicate]

Possible Duplicate: Google Rich Snippets and Facebook Open Metagraph I am using D7. I have a content type with a field of type fivestar. I am using schemaorg module to add RDFa to the HTML markup....
3
votes
2answers
657 views

Google Rich Snippets and Facebook Open Metagraph [closed]

I want to implement support for Google Rich Snippets to show author info and fivestar ratings in Google's search engine results pages. I also want to be able to support Facebook's Open Graph to have ...
0
votes
1answer
184 views

Reusing code in .module and .inc files

I plan to develop a module (say M2) that uses a pre-existing module(M1) as a soft dependency. In short there are a number of functions that I can reuse from M1 in my module M2... other than ...
4
votes
1answer
1k views

Do I need RDF enabled on a normal site? [closed]

When you install Drupal 7, you notice that RDF is enabled by default. Now... I have a website called 7 Tutorials and I am wondering if RDF is useful, considering the content shared on the website. I ...
0
votes
1answer
181 views

Clean up rdf mappings and vocabularies

In the past I have imported automatically some vocabularies using rdfx/evoc and put some rdf mappings using rdfx ui. The module also made automatic rdf mappings with taxonomy terms and various fields ...
1
vote
1answer
125 views

Alter submitted by text and retain RDF tags

I am looking to change the submitted by text from: <span rel="sioc:has_creator" datatype="xsd:dateTime" content="2011-03-20T22:54:29+13:00" property="dc:date dc:created">Submitted by <a ...
1
vote
1answer
170 views

Integration with the RDF module

I have a module that creates HTML output. Does it need to support the Drupal 7 RDF module? What are the functions made available from the RDF module that allows a module to integrate with it? What ...