Jump to content

Structured Data - Rich Snippets for Articles and Reviews


ABGenc

Recommended Posts

I am not experienced about the subject and I hope some experts can help me understand it.

I have read in the following link that if some information is given to Google , the search results can be enriched as given in the examples.

https://developers.google.com/structured-data/rich-snippets/

I have tested and found out that  the ones for Events are already there and Google gets use of those if we set an event through IPS4.1 Calendar.

Going through other subjects I have focused more on articles and reviews.

For the reviews, I have looked into the page records that I have enabled reviews and have seen that there are some items that are required and seems those can be helpful if the record is rated and reviews are written. I hope that those little yellow stars will appear in results for pages that has reviews and rating.

For the articles though, I could not find the required datas within the page records which I think can be really helpful as I have both articles and news databases. 

What I would like to ask is can the following items which seems to be "required" be given within the templates ?

<div itemscope itemtype="http://schema.org/NewsArticle">
  <h2 itemprop="headline">Article headline</h2>
  <h3 itemprop="alternativeHeadline">The headline of the Article</h3>
  <span itemprop="description">A most wonderful article</span>
  <span itemprop="articleBody">The full body of the article</span>
  <img itemprop="image" src="thumbnail1.jpg" alt="thumbnail 1 summary"/>
  <img itemprop="image" src="thumbnail2.jpg" alt="thumbnail 2 summary"/>
  <meta itemprop="datePublished" content="2015-02-05T08:00:00+08:00"/>
</div>

 

Link to comment
Share on other sites

Ok, I have come to an extend and I need help. I managed to put some of those above ( at least required ones ) but having hard time to put datePublished.

I have put this;

<meta itemprop="datePublished" content="{datetime="$record->record_publish_date"}"/>

Resulting ;

	<meta itemprop="datePublished" content="<time datetime='2015-10-28T17:29:27Z' title='28-10-2015 19:29 ' data-short='28 Eki'>28 Ekim</time>"/>

but I need ;

<meta itemprop="datePublished" content="2015-10-28T17:29:27Z"/>

How can I get that ?

Link to comment
Share on other sites

Come on Google, I thought I made some progress and you updated the requirements ? :D

https://developers.google.com/structured-data/rich-snippets/articles

Note : It might seem I am talking to myself but I am hoping to be helpful for others who may be seeking the same information. After some work last night, it seems to be easier to achieve this than I thought.

The steps are ;

  • If you have a news database or category, create a database display template ( Record (Displays the record and comments ) )
  • Read the structured-data requirements and apply them one by one ( this is specific to every subject, I will try to explain it for schema.org/NewsArticle when all is finished)
  • Check if the page meets the requirements using Structured Data Testing Tool
  • If all set, publish.
Link to comment
Share on other sites

  • 1 year later...
  • 4 weeks later...
On 09/12/2015 at 11:09 AM, ABGenc said:

I am not experienced about the subject and I hope some experts can help me understand it.

I have read in the following link that if some information is given to Google , the search results can be enriched as given in the examples.

https://developers.google.com/structured-data/rich-snippets/

I have tested and found out that  the ones for Events are already there and Google gets use of those if we set an event through IPS4.1 Calendar.

Going through other subjects I have focused more on articles and reviews.

For the reviews, I have looked into the page records that I have enabled reviews and have seen that there are some items that are required and seems those can be helpful if the record is rated and reviews are written. I hope that those little yellow stars will appear in results for pages that has reviews and rating.

For the articles though, I could not find the required datas within the page records which I think can be really helpful as I have both articles and news databases. 

What I would like to ask is can the following items which seems to be "required" be given within the templates ?


<div itemscope itemtype="http://schema.org/NewsArticle">
  <h2 itemprop="headline">Article headline</h2>
  <h3 itemprop="alternativeHeadline">The headline of the Article</h3>
  <span itemprop="description">A most wonderful article</span>
  <span itemprop="articleBody">The full body of the article</span>
  <img itemprop="image" src="thumbnail1.jpg" alt="thumbnail 1 summary"/>
  <img itemprop="image" src="thumbnail2.jpg" alt="thumbnail 2 summary"/>
  <meta itemprop="datePublished" content="2015-02-05T08:00:00+08:00"/>
</div>

 

How to get the image name for alt atribute?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...