Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 07-21-2013, 12:40 AM
HTMLBasicTutor's Avatar
HTMLBasicTutor HTMLBasicTutor is offline
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 26,710
iTrader: 5 / 100%
Microdata, Microformats, RFDa - Which are You Using?

Which of the structured data markup schemes are you using? Why did you choose that one? Are you combining schemes?

Beyond the basic structured data markup you can add to a blog, basic ecommerce site, video site or business information page, how are you dealing with more complex pages? e.g. Multiple similar products that are on your own site, multiple currencies, category pages.

How are you nesting the data?

Anyone have a really good resource for your chosen structured data markup scheme? (Please don't refer to Google's, Bing's, Schema.org or the spec pages for Microdata, Microformats or RFDa. Anyone can find those, spend hours reading them and come away just as confused as when they arrived plus they don't go into complex situations.)
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 07-21-2013, 07:21 AM
Cricket's Avatar
Cricket Cricket is offline
No Longer Active
 
Join Date: 10-13-03
Location: Texas
Posts: 42,181
iTrader: 0 / 0%
I fully admit that this is a topic that I am totally clueless about so I will be watching this thread with great interest.

Are there any 'Structured Data Markup Schemes For Dummies' books out there?
 
Reply With Quote
  #3  
Old 07-21-2013, 08:44 AM
ScriptMan's Avatar
ScriptMan ScriptMan is offline
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 14,038
iTrader: 4 / 100%
What did she say?

+1 on what Cricket said.
 
Reply With Quote
  #4  
Old 07-21-2013, 01:53 PM
DocSheldon's Avatar
DocSheldon DocSheldon is offline
v7n Mentor
 
Join Date: 01-01-10
Location: Baja California
Posts: 3,740
iTrader: 1 / 100%
Quote:
Originally Posted by HTMLBasicTutor View Post
Which of the structured data markup schemes are you using? Why did you choose that one? Are you combining schemes?
I started using RDFa as my preferred choice for structured markup some time ago, but when they came out with schema.org, I whined and bitched a while, then made the shift.
I haven't combined them by choice, but during the process of reworking sites that already had another semantic markup employed, I've had few problems getting schema to play well with others during the process.

Quote:
Beyond the basic structured data markup you can add to a blog, basic ecommerce site, video site or business information page, how are you dealing with more complex pages? e.g. Multiple similar products that are on your own site, multiple currencies, category pages.
I haven't had to deal with this yet. Sounds like the sort of thing most likely to occur with an ecommerce site, and one of our guys specializes in semantic ecomms, so I'm blissfully ignorant.

Quote:
Anyone have a really good resource for your chosen structured data markup scheme? (Please don't refer to Google's, Bing's, Schema.org or the spec pages for Microdata, Microformats or RFDa. Anyone can find those, spend hours reading them and come away just as confused as when they arrived plus they don't go into complex situations.)
My favorite resources are other specialists I work with. Every day is a learning experience. I've also found some pearls in a couple of G+ conversations with folks I consider a lot sharper than myself on semantic markup.
If I have a very specific question, I'll usually take it to someone I know on G+ or in Skype, but a couple of times, a focused Google search has pointed me to a blog post with step-by-step instructions. No single resource that has stood out, though.
 
Reply With Quote
  #5  
Old 07-21-2013, 07:09 PM
Tiggerito's Avatar
Tiggerito Tiggerito is offline
v7n Mentor
 
Join Date: 09-12-10
Location: Adelaide, South Australia
Posts: 320
iTrader: 0 / 0%
I'm similar to @DocC. Started with RDFa then converted to schema.org.

Part of the motivation was to use HTML5 in a valid way. schema.org is HTML5 but at the time XML namespaces which RDFa uses was not. And schema.org is a simpler to understand notation, so is good for maintenance etc.

So now I mostly use schema.org but have left older code in mixed formats. Don't fix what aint broke.

The only exception is breadcrumbs. schema.org does not do them very well so I still use RDFa notation.

I personally stick to the docs, their examples and the rich snippet testing tool. Then cross fingers and wait.

I'd advise people to look for articles on schema/semantic markup related to their own CMS as implementation options vary. e.g. Raven have created a popular one for WordPress:

http://wordpress.org/plugins/schema-creator/

Or their general tool could help all:

http://schema-creator.org/organization.php
 
Reply With Quote
  #6  
Old 07-21-2013, 08:22 PM
HTMLBasicTutor's Avatar
HTMLBasicTutor HTMLBasicTutor is offline
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 26,710
iTrader: 5 / 100%
Quote:
Originally Posted by Tiggerito View Post
The only exception is breadcrumbs. schema.org does not do them very well so I still use RDFa notation.
I got this Microdata coding to validate in HTML5 and it is appearing in Google Webmaster Tools:
Quote:
<p>You are here: <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.domain-name.com/" title="Link title" itemprop="url"><span itemprop="title">Home</span></a>
> </span>
<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.domain-name.com/main-category.htm" title="Main Category" itemprop="url"><span itemprop="title">Main Category Name</span></a> > </span>
<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.domain-name.com/sub-category.htm" title="Sub Category" itemprop="url"><span itemprop="title">Sub Category Name</span></a> ></span>
<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<span itemprop="title"><strong>Page Name</strong></span> </span>
</p>
Reference started from: Markup: Breadcrumbs - Bing

Somewhere else I saw that the person said the make the page a hyperlink also but that is bad usability/design. A long standing web design standard is to not make the page they are on clickable.

Last edited by HTMLBasicTutor; 09-11-2013 at 10:48 AM.
 
Reply With Quote
  #7  
Old 07-22-2013, 02:46 AM
Tiggerito's Avatar
Tiggerito Tiggerito is offline
v7n Mentor
 
Join Date: 09-12-10
Location: Adelaide, South Australia
Posts: 320
iTrader: 0 / 0%
Quote:
Originally Posted by HTMLBasicTutor View Post
Somewhere else I saw that the person said the make the page a hyperlink also but that is bad usability/design. A long standing web design standard is to not make the page they are on clickable.
I'd agree. I just checked one of my sites and the rich snippets work fine without the last one being a link.

When I first did them I think I have to make sure there was a home link at the start. Not sure if that is required now.
 
Reply With Quote
  #8  
Old 07-22-2013, 07:06 PM
HTMLBasicTutor's Avatar
HTMLBasicTutor HTMLBasicTutor is offline
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 26,710
iTrader: 5 / 100%
For those who might be interested, WG Decision to remove Microdata from HTML 5.0, remove JS API, continue HTML Microdata as a separate spec
 
Reply With Quote
  #9  
Old 07-22-2013, 08:30 PM
Tiggerito's Avatar
Tiggerito Tiggerito is offline
v7n Mentor
 
Join Date: 09-12-10
Location: Adelaide, South Australia
Posts: 320
iTrader: 0 / 0%
Quote:
Originally Posted by HTMLBasicTutor View Post
My take is that they have just separated out microdata from the html5 specification and put it in its own sub specification.

That does not mean it is not valid to use microdata in html5?
 
Reply With Quote
  #10  
Old 07-26-2013, 11:49 PM
Dan's Avatar
Dan Dan is offline
v7n Mentor
 
Join Date: 10-14-03
Location: Sydney, Australia
Posts: 1,055
iTrader: 0 / 0%
I think I use microdata... It's whichever one Google recommends on their Rich Snippets answers page. I managed to sorta get the review things working but i botched it because they were using a cached page and not refreshing everytime I made code changes which meant I was putting old-code-with-new-code-with-code-that-no-longer-exists which ended up giving me sketti-code (you know spaghetti, but like how you said it when you were a kid?)

The testing tool does give me a fairly good idea of whether its working or not, but sadly Google doesn't use the actual data in the results for my site as far as I know. Which is a shame
 
Reply With Quote
  #11  
Old 07-27-2013, 12:13 AM
HTMLBasicTutor's Avatar
HTMLBasicTutor HTMLBasicTutor is offline
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 26,710
iTrader: 5 / 100%
Anyone have a good example of how to do the "You Might Like" or "Related" type section on a product page?

Which would you use? Product and isRelatedTo property or SomeProducts in Schema?
 
Reply With Quote
  #12  
Old 07-27-2013, 07:55 AM
DocSheldon's Avatar
DocSheldon DocSheldon is offline
v7n Mentor
 
Join Date: 01-01-10
Location: Baja California
Posts: 3,740
iTrader: 1 / 100%
Quote:
Originally Posted by HTMLBasicTutor View Post
Anyone have a good example of how to do the "You Might Like" or "Related" type section on a product page?

Which would you use? Product and isRelatedTo property or SomeProducts in Schema?
Again, I don't do ecomms, but I would imagine that isrelatedto would be more appropriate.

By the way, I've seen Google's testing tool give bad results too many times. Yandex' testing tool provides much more reliable results, IMO. http://webmaster.yandex.ru/microtest.xml?ncrnd=6670.

For that matter, Yandex' webmaster tools are a bit more robust. It's surprising how much more you can learn by checking things out with both.
 
Reply With Quote
  #13  
Old 07-27-2013, 09:36 PM
HTMLBasicTutor's Avatar
HTMLBasicTutor HTMLBasicTutor is offline
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 26,710
iTrader: 5 / 100%
Thank you for the input Doc.

How do you make Yandex speak English? (besides Google Translate)
 
Reply With Quote
  #14  
Old 07-28-2013, 10:41 AM
DocSheldon's Avatar
DocSheldon DocSheldon is offline
v7n Mentor
 
Join Date: 01-01-10
Location: Baja California
Posts: 3,740
iTrader: 1 / 100%
Quote:
Originally Posted by HTMLBasicTutor View Post
Thank you for the input Doc.

How do you make Yandex speak English? (besides Google Translate)
In the footer of their page, you'll see a tiny flag. Just click on it and select English (as I recall, it's UK... no US available).

The English versions of their pages are actually pretty well translated, too.
 
Reply With Quote
  #15  
Old 07-28-2013, 11:32 PM
HTMLBasicTutor's Avatar
HTMLBasicTutor HTMLBasicTutor is offline
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 26,710
iTrader: 5 / 100%
I tried that and it didn't work. Ahh, requires cookies.
 
Reply With Quote
  #16  
Old 07-29-2013, 07:47 PM
HTMLBasicTutor's Avatar
HTMLBasicTutor HTMLBasicTutor is offline
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 26,710
iTrader: 5 / 100%
Ok, so I'm trying http://webmaster.yandex.ru/microtest.xml?ncrnd=5448 in a different browser where I allowed cookies so I can see the English version.

Tested a revamped home page I have offline.

Got the following for the logo in the header which follows the coding provided by Google Using schema.org markup for organization logos:
HTML Code:
<div itemscope itemtype="http://schema.org/Organization"> <a itemprop="url" href="http://www.example.com/">Home</a> <img itemprop="logo" src="http://www.example.com/logo.png" /> </div>
Error message:
Quote:
organization
ERROR: name field missing or empty
ERROR: address field missing or empty

itemType = http://schema.org/Organization
url = http://www.domainname.com/
logo
href = path to image
text = alt text
It also doesn't like:

My main nav bar extra coding:
Quote:
microdata
WARNING: itemtype http://www.schema.org/SiteNavigationElement not recognized by validator
WARNING: http://www.schema.org/SiteNavigationElement type unknown in Schema.org
My footer coding:
Quote:
organization
WARNING: http://data-vocabulary.org/Organization type unknown in Schema.org

itemType = http://data-vocabulary.org/Organization
name = Business Name
address
address
WARNING: http://data-vocabulary.org/Address type unknown in Schema.org
So I thought maybe the validator didn't like Organization in the url. Tested http://schema.org/organization at schema.org and get a 404 so that is not the problem.

No error messages in Webmaster Tools for the logo and footer (nav bar coding not in live version).
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use microdata for HTML5 videos? brunnernathan Coding Forum 0 05-27-2013 09:55 PM
Microdata TarHeel SEO Forum 0 10-03-2012 12:36 PM
A Call To Search Engines to Reduce Dependence on Microformats HTMLBasicTutor SEO Forum 0 09-20-2012 10:18 AM
Microdata support for Rich Snippets snakeair Web Design Lobby 0 03-11-2010 10:59 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 09:32 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC