Articles Structured Data Problem

More
6 years 5 months ago #70216 by ggppdk
Hello

i see now you meant to be able to select this "PROPERTY" type in the fields configurations

we are currently using Joomla microdata library, to get the supported types,
Code:
jimport('joomla.microdata.microdata'); $jm = new JMicrodata(); $jm_types = $jm->getTypes();

and the option is not in the list


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #70217 by cpb
OK bit of a mystery Then. maybe i not looking at it correct
developers.google.com/search/docs/data-types/article
this shows it
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #70221 by ggppdk
Hello

look at this answer

webmasters.stackexchange.com/questions/9...icle-structured-data

Effectively publisher should be like this, right ?
Code:
<div itemscope itemtype="http://schema.org/Article"> <!-- blah blah --> <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization"> <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject"> <img src="http://www.mycorp.com/logo.jpg"/> <meta itemprop="url" content="http://www.mycorp.com/logo.jpg"> <meta itemprop="width" content="400"> <meta itemprop="height" content="60"> </div> <meta itemprop="name" content="MyCorp"> </div> </div>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #70223 by cpb
Yes
The key
"<div itemprop="publisher" itemscope itemtype=" schema.org/Organization ">"
is what is needed
a work round without any erros
are after testing
Thing > CreativeWork
or Thing > CreativeWork > WebPage or "website"
Placed as "type" or in each "Article"in flexi
these work but not sure the same top level (search dispay)as
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago - 6 years 4 months ago #70497 by cpb
Hi
a couple more things here
Can you tell me a way say in Fields to add the image from the item. for all items
mark up along the lines.
itemprop='image' itemscope itemtype=' schema.org/ImageObject ' itemref='??'
or itemprop='image' ??
at a guess.
it will only find image from gallery in mark up which on 3000 items only have a few gallery views
so just the first picture is fine same as the OGPfinds.
also the mark up id is not unique as it ends item/flexicontent
OGP this is correct as shown.

thanks for any help.
(i am learning alot)
Chris

Attachments:
Last edit: 6 years 4 months ago by cpb.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago - 6 years 4 months ago #70498 by cpb
As below i have added this so far which works well.
This has fixed the original problems in this post.
thanks
Attachments:
Last edit: 6 years 4 months ago by cpb.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.298 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline