# RDFa

**URL:** <https://discourse.citationstyles.org/t/rdfa/485>\
**Category:** CSL Development\
**Created:** [June 29, 2008, 10:23pm UTC](https://discourse.citationstyles.org/t/rdfa/485 "2008-06-29T22:23:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [June 29, 2008, 10:23pm UTC](https://discourse.citationstyles.org/t/rdfa/485/1 "2008-06-29T22:23:34Z")

</div>

For those writing CSL implementations, RDFa has finally proceeded to  
candidate recommendation status at the W3C. It’s also starting to see  
support from various companies, software libraries, etc.

All of which is to say it might be worth considering offering an  
RDFa-enhanced output option for the XHTML, since that would offer the  
capability for data round-trippability. Just so happens that the new  
bibo ontology is pretty easy to express in RDFa\* 😉

Bruce

- I’m working on a new home web site that will include RDFa.

---

<div class="post-metadata">

**Author:** ![Liam\_Magee](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Liam\_Magee](https://discourse.citationstyles.org/u/Liam_Magee)\
**Post date:** [June 30, 2008, 1:02am UTC](https://discourse.citationstyles.org/t/rdfa/485/2 "2008-06-30T01:02:23Z")

</div>

Thanks, I worked on a some citation formatting a while back for COiNS and  
Zotero integration.

What are useful formatting cases? So far I had considered:

- Plain text
- XHTML
- XHTML + COiNS

Now:

- XHTML + RDFa (Bibo)

Are there other general purpose formats worth considering (ODF)? Is this  
something worth standardising across implementations?

Regards,

Liam.2008/6/30 Bruce D’Arcus \<@Bruce\_D\_Arcus1\>:

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [June 30, 2008, 2:26pm UTC](https://discourse.citationstyles.org/t/rdfa/485/3 "2008-06-30T14:26:11Z")

</div>

> What are useful formatting cases? So far I had considered:
> 
> - Plain text
> - XHTML
> - XHTML + COiNS
> 
> Now:
> 
> - XHTML + RDFa (Bibo)
> 
> Are there other general purpose formats worth considering (ODF)?

ODF is interesting, particularly now that Microsoft is more fully  
supporting it, and that it’s getting some killer RDF support in 1.2.

> Is this something worth standardising across implementations?

You mean what formats to support, or how to support them?

Bruce

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [June 30, 2008, 2:27pm UTC](https://discourse.citationstyles.org/t/rdfa/485/4 "2008-06-30T14:27:16Z")

</div>

BTW, Andrea added the ODF support to pandoc.

Bruce

---

<div class="post-metadata">

**Author:** ![Liam\_Magee](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Liam\_Magee](https://discourse.citationstyles.org/u/Liam_Magee)\
**Post date:** [June 30, 2008, 9:45pm UTC](https://discourse.citationstyles.org/t/rdfa/485/5 "2008-06-30T21:45:32Z")

</div>

> > Are there other general purpose formats worth considering (ODF)?
> 
> ODF is interesting, particularly now that Microsoft is more fully  
> supporting it, and that it’s getting some killer RDF support in 1.2.
> 
> > Is this something worth standardising across implementations?
> 
> You mean what formats to support, or how to support them?

Just the formats. I think it would be handy if there were a minimal baseline  
for input and output formats across implementations - but how the support is  
provided is probably an internal implementation issue.

One possibility though for XHTML or ODF support would be to use XSLT to add  
various RDFa or microformat “overlays”, i.e. to take generic XHTML:

CSL output

and generate:

CSL output

Minimal XSLT templates could be added to all implementations as a kind of  
formatting decorator service. But I’m not sure this is significant enough a  
use case to warrant further abstraction.

Regards,

Liam.\>

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [June 30, 2008, 11:49pm UTC](https://discourse.citationstyles.org/t/rdfa/485/6 "2008-06-30T23:49:36Z")

</div>

And I’m not really sure how you’d do that. Stripping out unwanted  
content is easy; adding RDFa to bare content would seem pretty much  
impossible?

Bruce

---

<div class="post-metadata">

**Author:** ![Liam\_Magee](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Liam\_Magee](https://discourse.citationstyles.org/u/Liam_Magee)\
**Post date:** [June 30, 2008, 11:56pm UTC](https://discourse.citationstyles.org/t/rdfa/485/7 "2008-06-30T23:56:58Z")

</div>

> > Minimal XSLT templates could be added to all implementations as a kind of  
> > formatting decorator service. But I’m not sure this is significant enough  
> > a  
> > use case to warrant further abstraction.
> 
> And I’m not really sure how you’d do that. Stripping out unwanted  
> content is easy; adding RDFa to bare content would seem pretty much  
> impossible?

I was assuming some access to the underlying CSL variables by the processing  
engine. But this is probably better handled by formatter subclasses or  
conditions rather than externalised through XSLT for the time being.

Regards,

Liam.
