Mircodata markup container in body of page
-
I have a question about the "container" that's created whenever microdata markup is applied. What is the purpose of this? I know Google says it helps them understand your content etc. but it creates a really bad eyesore wherever microdata markup is used. Basically a box with all the markup details right there in the body. Has anyone else experienced this? Is this why microdata markup has been so slow to be adopted by webmasters? I understand "hiding" the box in your CSS is not a good idea either. Any help would be appreciated. Thanks
-
Thank you very much. That is just what I was looking for.
-
Hello,
The plugin creates a new CSS file, which you can access and control to make the data appear any way you like:
http://historyofmormonism.com/wp-content/plugins/schema-creator/lib/css/schema-style.css?ver=1.050Yes, the data that you are marking up needs to appear on the page, but you can mark up existing data instead of using a plugin that adds new data to the page. Or you can use the plugin to add the data to the page and customize the look by adjusting the CSS file.
My advice would be to learn how to add the markup yourself so you can just apply it to whatever it is on the page that you're trying to mark-up instead of relying on the plugin. This way you don't get the ugly box. It isn't that difficult if you can already do basic HTML. For example:
Here is what the plugin is doing:
Alex Baugh
Brigham Young University
ProfessorThe Div ID for "Schema_block" is what is creating that container. In the CSS file I linked to above it reads as follows (bolding is mine):
#schema_block {
clear:both;
margin:0 auto 10px auto;
** background: #EEEEEE;**
** border: 1px solid #CCCCCC;**
padding: 1em;
overflow: hidden;
}You can make that look like whatever you want it to look like. For instance, you could completely remove the margin, background, border and padding. It's not the "box" that Google needs to see, it's the content (e.g. Alex Baugh, Brigham Young University, Professor) on the page and the markup in the code that surrounds it.
I hope this clarifies the issue for you. A good designer/developer should be able to provide further assistance if you are not comfortable editing code or CSS files.
-
Does anyone else have insight on this?
-
The site is in Wordpress and I've been using a plugin called all in one schema.org rich snippets and schema creator by raven tools.
- As you can see it creates quite the eye sore especially if you were to start marking up a lot of stuff. Here is an example:
http://historyofmormonism.com/2014/03/26/hawns-mill-massacre-1838-resulted-30-mormon-casualties/
-
Schema creator by raven tools lets you add markup right into the body of the page like you will see about a paragraph down. I "marked up" the person Alex Baugh just for an example. You will notice the container it creates right inside the article.
-
If you scroll down to the bottom you'll notice a larger summary box, this is created by the other plugin; all in one schema.org rich snippets that marks up and creates a summary of the overall webpage.
-
If you look at the support forums for this plugin here: http://wordpress.org/support/topic/all-the-info-i-fill-goes-directly-into-my-post?replies=5#post-4030332
-
One of the authors of the plugin mentions that this box is necessary and includes a link to Google Webmaster forums backing it up, the 4th question down here:
https://sites.google.com/site/webmasterhelpforum/en/faq-rich-snippets#display
-
I also thought that maybe it was only this one plugin; all in one schema.org rich snippets but this other plugin from Raven Tools does the same thing. These two plugins are also two of the most popular schema microdata plugins on Wordpress.
-
This person has a similar question about the raven tools plugin
https://github.com/raventools/schema-creator/issues/104Thanks for your replies, I really appreciate it.
-
I am pretty sure you are doing it wrong. Can you link me? The markup should all be hidden normally, it is used as a way to describe elements that are on the page already, not for adding new elements.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Deleting Outdated News Pages??
Hi everyone, I'm currently doing a full content audit for my company, in preparation for a website redesign. I've discovered thousands of pages (dating all the way back to 2009) with thin, outdated, and irrelevant content. ie: real estate news and predictions that are now super old news. According to analytics, these older pages aren't receiving any traffic, so I think the best course of action is to delete these pages & add 404 redirects. In my opinion, this should be a big priority, because these pages are likely already hurting our domain authority to some extent & it's just a matter of time before we're really penalized by Google. Some members of my team have a different opinion -- they worry that deleting 1000 pages could hurt our rankings, and they want to wait and discuss the issue further in 3Q or 4Q (once the site redesign is completed and we have time to focus on it). Am I wrong to think that waiting is a very bad idea? Google will notice that we've done a major site redesign--we've written all new copy, optimized the UX & content organization to make info easier to find, created new lead magnets, optimized images, etc.-- but we didn't bother to update 1000 pages of outdated content that no one is looking at...won't that look bad? Do you agree that we should delete/merge all outdated content now, rather than waiting until after the site redesign? Or am I overreacting? Thanks so much for your help!
Intermediate & Advanced SEO | | JCon7110 -
What is the proper way to execute 'page to page redirection'
I need to redirection every page of my website to a new url of another site I've made. I intend to add:"Redirect 301 /oldpage.html http://www.example.com/newpage.html"I will use the 301 per page to redirect every page of my site, but I'm confused that if I add:"Redirect 301 / http://mt-example.com/" it will redirect all of my pages to the homepage and ignore the URLs i have separately mentioned for redirection.Please guide me.
Intermediate & Advanced SEO | | NABSID0 -
What Are Your Thoughts On Location Targeted Pages?
I have a client that wants to rank for a bunch of locations around his primary location. Say 30 minutes away. So we created a bunch of pages for cities around his location. So far it seems to be working pretty well. That said, I heard from someone else that Google really doesn't like these type of pages anymore and that we are better off with just one location page and list the areas we server on it. What are your thoughts and experiences?
Intermediate & Advanced SEO | | netviper0 -
Links in body text
From a purely SEO /link juice perspective, is there any benefit to linking from body text to a page that is in a pervasive primary navigation? The primary nav puts a link at the top of the HTML. With the tests done by members of this site, the "first link counts" rule negates the link juice value of a link in the body text if there is already a link in the nav. Now I've also seen the data on using hash tags to get a second or third link, but ignoring that, it would seem that links in the body text to pages in the nav have zero effect. This brings me to another question - block level navigation. If anchor text links pass more juice than links in the top navigation, why would you put your most coveted target pages in the top nav? You would be better off building links in the content, which would create a poor user experience. To me, the theory that anchor text links in the body pass more juice than links in the primary nav doesn't make any sense. Can someone please explain this to me?
Intermediate & Advanced SEO | | CsmBill0 -
Google + Local Pages
Hi, If I have a company with multipul addresses, Do I create separate Google + page for each area?
Intermediate & Advanced SEO | | Bryan_Loconto0 -
Content Landing Page
Hey Mozzers, I wanted to get some opinions on here. I'm going to be building out the content on my site a lot of the next couple of months, and have recently started thinking about creating a content landing page. For those not familiar with the concept it's the idea of building this page that basically just pulls together all the content you've written on a specific subject & serves as hopefully a link magnet & destination for people interested in the topic. So my question is this, I am just outlining all of the different posts & areas that I want to cover on specific topics & it is a lot. I'm talking ~20 posts on each subject. Do you think that would be too much content to try & get on one page? Should I break it down to a more finite 5-7 links to high quality articles per page, or create basically this monster guide that links to all these different articles I'll create. Looking forward to getting your opinion, Chris
Intermediate & Advanced SEO | | chris.kent0 -
Page Indexed but not Cached
A section of pages on my site are indexed (I know because they appear in SERPs if I copy and paste a sentence from the content), however according to the text-only cached version of the page they are not being read by Google.Why are they indexed event hough it seems like Google is not reading them..... or is Google in fact reading this text even though it seems like they should not be?Thanks for your assistance.
Intermediate & Advanced SEO | | theLotter0 -
Should I index tag pages?
Should I exclude the tag pages? Or should I go ahead and keep them indexed? Is there a general opinion on this topic?
Intermediate & Advanced SEO | | NikkiGaul0