Feed content is missing snippet highlighting. It highlights the title fine.
Here is an example record pulled from the submitted feed,
<record url="http://my.example.com/1" mimetype="text/html" displayurl="http://my.example.com/1" action="add">
<metadata>
<meta name="CategoryId" content="25" />
<meta name="CommentCount" content="0" />
<meta name="Dimension" content="2d" />
<meta name="PublishDate" content="2011/11/17 10:26 AM" />
<meta name="ItemCategory" content="multimedia" />
<meta name="SuperType" content="Videos" />
</metadata>
<content><![CDATA[<!DOCTYPE html><html><head><title>blah blah blah blah</title><meta name="title" content="yada yada yada yada yada yada yada yada yada" /><meta name="description" content="hey hey hey hey hey what yes no hello goodbye" /></head></html>]]></content>
</record>
Snippet highlighting is missing because you do not have any body content in your submitted feed.
From your sample record, it is clear that you are just indexing meta information. You have to place your content inside <body> your content</body> tag.You can check you crawl diagnostics (Status and Reports >Crawl Diagnostics for GSA Version 7.0) to understand what content have been indexed by GSA. For your record it must be empty.
Regards,
Mohan
Related
I'm using the following head metatags:
<head>
<title>CJF Works Communications</title>
<meta name=”description” content=”The best choice for your marketing needs” />
<meta property="og:title" content="CJF Works Communications" />
<meta property="og:url" content="https://cjfworks.com" />
<meta property="og:description" content="The best choice for your marketing needs" />
<meta property="og:image” itemprop=“image” content=“https://cjfworks.com/logotype-whatsapp.jpg" />
<meta property="og:type" content="website" />
<meta property="og:image:type" content="image/jpg" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
</head>
I am able to display the site title and description but not the image.
Your image isn't big enough. If you want it to show up on Facebook and Whatsapp it needs to be at least 1200x1200 pixels. See Twitter Card - Image not showing - Webmasters Stack Exchange
we have this code for each product:
<meta property="og:type" content="product" />
<meta property="og:site_name" content="Lotuscrafts" />
<meta property="og:url" content="http://www.example.com/yogadecke-savasana-100-baumwolle-kba" />
<meta property="og:title" content="Yogadecke "Savasana" 100% Baumwolle (kbA)" />
<meta property="og:description" content=" Vielseitig anwendbar in der Yogapraxis Klassische, handgewebte Yogadecke, ideal als unterstützende Unterlage in der Asana Praxis, im Meditationssitz oder für die Endentspannung. Aus 100% Baumwolle, ökologisch gefertigt Gefertigt..." />
<meta property="og:image" content="http://www.example.com/media/image/d2/6b/12/YBL-BO55f6c92eb882a.jpg" />
<meta property="product:brand" content="Yogi" />
<meta property="product:price" content="29,95" />
<meta property="product:product_link" content="http://www.example.com/yogadecke-savasana-100-baumwolle-kba" />
In the Pinterest docs (https://developers.pinterest.com/docs/rich-pins/products/) I can see that product:price:amount and product:price:currency are required. In the example code it's mentioned this code (og instead of product as written in the docs)
<meta property="og:price:amount" content="98.00" />
<meta property="og:price:currency" content="USD" />
Which one is correct? Does anybody know?
Pinterest no longer supports price variations or ranges unless you are using a feed partner like Shopify.
I am using the schema.org VideoObject for video on my webpages. However when I run the W3C Validator I get the following errors for each property:
The itemprop attribute was specified, but the element is not a property of any item.
This occurs for every item property show below:
<div class="video-wrapper-inner" itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
<meta itemprop="name" content="Name of the Video" />
<meta itemprop="description" content="Description of the Video. " />
<meta itemprop="thumbnailUrl" content="../images/thumbnail.jpg" />
<meta itemprop="embedURL" content="http://player.vimeo.com/external/123456.hd.mp4?s=ddddd44ssdd43d23rf" />
<meta itemprop="duration" content="T1M10S" />
<meta itemprop="uploadDate" content="2013-12-26T08:00:00+08:00" />
<meta itemprop="transcript" content="Transcript from the video here." />
<video poster="../images/thumbnail.jpg" controls><source src="http://video file location" type='video/mp4;codecs="avc1.42E01E, mp4a.40.2"' /></video>
</div>
By the way my web page is set up as follows:
<!DOCTYPE html>
<html lang="en">
My question is, what is the correct markup to pass the W3C Validator.
The W3C Markup Validator complains because you use the video property on the div (VideoObject).
(See this question if this is an error at all: Is 'itemprop' without parent 'itemscope' valid? Does it create an item?)
Do you have a parent item that references this VideoObject via the video property? If so, add it to your page and validate again (the error should be gone). If you don’t have such a parent item, you could probably remove this property.
I got a problem with the internationalization of Open Oraph objects.
When I ask the scraper to scrape my opengraph objects in a specific locale, the object is first scraped in the default locale, i.e. without parameter fb_locale, and afterwards it is scraped in the correct locale, i.e. with fb_locale=[LOCALE]. The return of the scrape contains the result of the first default locale (en_US) scrape and the object is not shown in the correct locale neither in the chronic nor in the feed.
Here are my calls:
Call the scraper
POST https://graph.facebook.com
id http://apps.facebook.com/[APP_NAMESPACE]/?ogObjType=prize&ogObjId=1&ogObjVariant=
scrape true
locale de_DE
Then the first scrape is done by Facebook:
GET [GAME_HOST]?ogObjType=prize&ogObjId=1&ogObjVariant
Returns:
<html><head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# [APP_NAMESPACE]: http://ogp.me/ns/fb/[APP_NAMESPACE]#">
<meta property="og:locale" content="en_US" />
<meta property="og:locale:alternate" content="de_DE" />
<meta property="og:locale:alternate" content="en_US" />
<meta property="og:locale:alternate" content="fr_FR" />
<meta property="fb:app_id" content="[APP_ID" />
<meta property="og:type" content="[APP_NAMESPACE]:prize" />
<meta property="og:url" content="http://apps.facebook.com/[APP_NAMESPACE]/?ogObjType=prize&ogObjId=1&ogObjVariant" />
<meta property="og:title" content="Golden Medal" />
<meta property="og:description" content="A Golden Medal" />
<meta property="og:determiner" content="the" />
<meta property="og:image" content="[IMAGE_en_US_URL]" />
</head><body...</body></html>
Then the second scrape is done by facebook:
GET [GAME_HOST]?ogObjType=prize&ogObjId=1&ogObjVariant&fb_locale=de_DE
Returns:
<html><head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# [APP_NAMESPACE]: http://ogp.me/ns/fb/[APP_NAMESPACE]#">
<meta property="og:locale" content="de_DE" />
<meta property="og:locale:alternate" content="de_DE" />
<meta property="og:locale:alternate" content="en_US" />
<meta property="og:locale:alternate" content="fr_FR" />
<meta property="fb:app_id" content="[APP_ID]" />
<meta property="og:type" content="[APP_NAMESPACE]:prize" />
<meta property="og:url" content="http://apps.facebook.com/[APP_NAMESPACE]/?ogObjType=prize&ogObjId=1&ogObjVariant" />
<meta property="og:title" content="Goldmedaille" />
<meta property="og:description" content="Eine Goldmedaille" />
<meta property="og:determiner" content="the" />
<meta property="og:image" content="[IMAGE_de_DE_URL]" />
</head><body>...</body></html>
The scraper returns:
{"url":"http:\/\/apps.facebook.com\/[APP_NAMESPACE]\/?ogObjType=prize&ogObjId=1&ogObjVariant",
"type":"[APP_NAMESPACE]:prize",
"title":"Golden Medal",
"locale":{"locale":"en_us","alternate":["de_de","en_us","fr_fr"]},
"image":[{"url":"[IMAGE_en_US_URL]"}],
"description":"A Golden Medal",
"site_name":"[APP_NAME]",
"determiner":"the",
"updated_time":"2012-08-21T08:58:57+0000",
"id":"[SOME_ID]",
"application":{"id":"[APP_ID]","name":"[APP_NAME]","url":"http:\/\/www.facebook.com\/apps\/application.php?id=[APP_ID]"}}
Do you have any suggestions, why the object is scraped twice and the localized version is not stored?
I've been trying for tha tpast 24 hours to activate the facebook sharer to share multiple thumbs. here's my code :
<head>
<meta property="og:title" content="ShareThis Homepage" />
<meta property="og:type" content="Sharing Widgets" />
<meta property="og:url" content="http://www.realestatephotoexpert.com/Properties/82/centrisSmall/-1.jpg"/>
<meta property="og:description" content="New listing" />
<meta property="og:site_name" content="ShareThis" />
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">
stLight.options({
publisher:'12345',
});
</script>
</head>
<body>
<span class="st_sharethis"></span>
</body>
I managed to display 1 thumbnail using og:url, I dont even know why its working because it suppose to be the og:image. even with this work around, i cant figure how to share multiple thumb( once log-in to facebook, be able to use the left and right arrows to select thumnail.
thx for your help