I can't map the page title so it is not working when I test in Google Rich Snippets Test Tool. I understand the tile now receives "name" automatically, but that is not happening for me. I am working with events.

Comments

scor’s picture

Yes, the title is automatically mapped to 'name'. Can you search in your whole HTML page source for "schema:name" and see if it appears somewhere?

rileyhuff’s picture

Hi scor,

Thank you, yes I checked, it is not there. There is section id = "page-title" but that it the only thing. All the other fields are working properly. I was using a panel too and it is all there. I disabled the panel, to see if that cleared up the title problem, but it did not work.

Another question, when I am assigning type, must it match the name of my content type? If I use one of the schema.org types, it disappears and will not stick. If I use the name of the content type it does.

I also hit a memory error for some reason.

Thank you.

scor’s picture

Thank you, yes I checked, it is not there. There is section id = "page-title" but that it the only thing. All the other fields are working properly. I was using a panel too and it is all there. I disabled the panel, to see if that cleared up the title problem, but it did not work.

Can you clarify? Are you using panels? Does the title's "schema:name" appear when using panels, or not? Note that the "schema:name" does not appear right next to the title, but further down after the node content. Do a full search for "schema:name" in your HTML source to find it.

Another question, when I am assigning type, must it match the name of my content type? If I use one of the schema.org types, it disappears and will not stick. If I use the name of the content type it does.

No, it does not matter, the schema.org type is completely independent from your content type machine name. Which schema.org type did you choose and didn't stick?

I also hit a memory error for some reason.

Could you paste the errors you got please so I can look into it?

rileyhuff’s picture

Thank you, I went ahead an reloaded the site and started again. I used the Event type and it did stay, this time however it dropped the admin overlay, so it seems it would not stay if if the overlay was on. No problem, I want to use it for Event and Person. Double checked, all the fields had the schema mapping when viewing page source but no "name". I disabled the panel and had new code this was it. Meta content in the header:

<meta content="The Loving Story" about="/uml/event/loving-story/2014-03-19-000000" property="schema:name" />

and this was in the "main-content" area

<article id="node-753" class="node node-events article 1 ia-l clearfix" about="/uml/event/loving-story/2014-03-19-000000" typeof="schema:Event sioc:Item foaf:Document" role="article">

So I think I will not use panels on events, I would rather have the full functionality of the module.

On Person, I also use panels but the real name comes in through a "full name" pane and is receiving the schema.org mapping just fine. Is there any work around for that, a way I can get the property="schema:name" and typeof="schema:Person into the document? Everything else is working. Not using panels on the people pages won't work for me, as I am pulling content from a couple different content types.

As for the memory problem...it did not happen again with the fresh install.

Thank you for your time.

alexmcl’s picture

Hi

I had the same problem. The title didn't include the schema field tags. I had to create a field and populate the same value.

Let me know whether you would like more information at all.

Alex