Schema for News articles?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
aendra's picture

Hi everyone!

I'm building a newspaper website and am trying to use best practices with regards to metadata and semantic web.

To this end, I'm thinking it makes sense to use some sort of semantic web schema for articles. I've found two:

Browsing around, I've only ever seen OGP on news sites and not run across anything resembling the IPTC protocol. Is there any reason I'd use rNews instead? Open Graph also has support with the D7 Metatag module while I can't find anything about rNews.

Any thoughts? Or is there another news-specific schema that I'm missing?

Thanks!

Comments

News Schema

Dan@Ontos's picture

Hi, I suggest to stick to the rNews standard and also check Schema.org. IPTC working group for rNews has aligned their work to schema.org Further have a look at the w3c guide for HTML markup guide using RDF(a). At the end of this month NYT will start to publish their article using rNews.

Hope this helps. Dan

+1 on rNews standard

joebachana's picture

http://dev.iptc.org/rnews for more info. I agree w/ Dan you should check out schema.org as well as the rdfa primer Dan mentions, which I think you can find here: http://www.w3.org/TR/xhtml-rdfa-primer/ .

Also take a look at SKOS: http://www.w3.org/2004/02/skos/

Good luck, sounds like an awesome project! -Joe

Joe Bachana
First Employee at DPCI
1560 Broadway
NY, NY 10036
212.575.5609
www.dpci.com

Thanks for the feedback. I've

aendra's picture

Thanks for the feedback. I've been looking at the Schema.org spec for rNews, it really looks like what I'm trying to convey.

However, the bigger question resulting from that is, how do I use this with Drupal 7? It doesn't seem like there are any modules supporting it at the moment...

--
ændrew rininsland
news, photos, data, code.
aendrew.com :: @aendrew

Rdfa

Dan@Ontos's picture

Hi,
You might look at this project http://svn.aksw.org/papers/2011/ISWC_RDFaEditor/public.pdf from Uni Leipzig. It is open source for WP and TinyMCE and creates rdfa for articles using different nlp engines. Alternative is opencalais and openpublishapp.
Cheers, Dan

There are modules that

linclark's picture

There are modules that facilitate marking up field structures with metadata. Which tool you use depends on what consumers you want to target.

Google still says in their schema.org FAQ that they only process Microdata. To place microdata around field values, you can use the microdata module. There is a video linked from the project page that shows how to use it.

Otherwise, if you are targeting an RDFa consumer you can use the Schema.org module or the RDFx module if you want to place terms from other vocabularies.

rNews and OGP have different

scor's picture

rNews and OGP have different sponsors behind them (IPTC/NYTimes and Facebook, respectively). It's possible to use both these formats together, so I'd install the D7 metatags for OGP, and check out schema.org for rNews using http://schema.org/NewsArticle (this schema.org type has been aligned with rNews). However I don't know of any testing tool for rNews, the Google Rich Snippet testing tool does not offer the news type yet. But you are welcome to implement it now. I suspect as rNews matures, such testing tool for news specifically will emerge. In the meantime you can use more generic tools like http://linter.structured-data.org/ or http://inspector.sindice.com/

OGP

yelvington's picture

OGP is important for business reasons that should be painfully obvious. rNews is a good idea with no actual current business benefit.

A Bit Late - but an additional word on rNews

kansandhaus's picture

Ændrew,

Apologies for just seeing this now, but I'd like to add my $0.02.

My name is Evan Sandhaus and I work as the Lead Architect for Semantic Platforms at The New York Times. Along with several of my colleagues at the IPTC, I worked to develop rNews over the last year. We would be happy to answer any questions you might have about it. You can post to the forums at rNews.org or reach out directly at evan 'at ' nytimes.com.

I wish you all the best in your efforts and hope we can be a resource to you.

All the best,
Evan

PS: Stephane is another great resource and has done great work bringing semantic markup to Drupal.

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

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