Skip to main content
Topic: Problem Description forum and topic (Read 1093 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Problem Description forum and topic

Welcome
The program has been installed and the development of sections and forums.
But there is a problem, which is the description feature, why is it not there? How is it added?
Last Edit: July 15, 2022, 02:36:52 pm by Spuds

Re: Problem Description forum and topic

Reply #1

The best that could be done would be to use the same value used in the og:description text:person_shrugging:


Re: Problem Description forum and topic

Reply #3

Again, I'm not sure what you are trying to ask or indicate.

QuoteRich results: Add structured data to your site to help Google understand the page: for example, a review, recipe, business, or event. Learn more about how rich results can improve your site's listing in search results.
Meta description tags: Google sometimes uses <meta> tag content to generate snippets, if we think they give users a more accurate description than can be taken directly from the page content.

Meaning the <meta name="description" content="xyz" /> may be used, but only as a last resort.  Instead it will preferentially use any structured data, aka schema.org data, that it finds on the page.  For this page the output contiains.
Code: [Select]
	<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "Organization",
    "url": "https://www.elkarte.net/community/index.php?topic=6144.0",
    "logo": {
        "@type": "ImageObject",
        "url": "https://www.elkarte.net//community/themes/default/images/logo.png",
        "width": 134,
        "height": 60
    },
    "name": "ElkArte Community",
    "slogan": ""
}
</script>
<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "DiscussionForumPosting",
    "@id": "https://www.elkarte.net/community/index.php?topic=6144.msg43874#msg43874",
    "headline": "Problem Description forum and  topic",
    "author": {
        "@type": "Person",
        "name": "Abu haron",
        "url": "https://www.elkarte.net/community/index.php?action=profile;u=1396;name=Abu+haron"
    },
    "url": "https://www.elkarte.net/community/index.php?topic=6144.msg43874#msg43874",
    "articleBody": "Welcome<br/>The program has been installed and the development of sections and forums.<br/>But there is a problem, which is the description feature, why is it not there? How is it added?<br/>",
    "articleSection": "Support",
    "datePublished": "July 14, 2022, 06:01:14 am",
    "dateModified": "July 14, 2022, 06:01:14 am",
    "interactionStatistic": {
        "@type": "InteractionCounter",
        "interactionType": "https://schema.org/ReplyAction",
        "userInteractionCount": 2
    },
    "wordCount": 31,
    "publisher": {
        "@type": "Organization",
        "name": "ElkArte Community",
        "logo": {
            "@type": "ImageObject",
            "url": "https://www.elkarte.net//community/themes/default/images/logo.png",
            "width": 134,
            "height": 60
        }
    },
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.elkarte.net/community/index.php?topic=6144.0"
    }
}
</script>

and Google finds and parses those (2) entries.  You can test that here: https://search.google.com/test/rich-results  It will give one warning as there is no image tag in the data (since there is no leading attachment).  I described all of this in another post.

 

Re: Problem Description forum and topic

Reply #4

Quote from: Spuds – Again, I'm not sure what you are trying to ask or indicate.

QuoteRich results: Add structured data to your site to help Google understand the page: for example, a review, recipe, business, or event. Learn more about how rich results can improve your site's listing in search results.
Meta description tags: Google sometimes uses <meta> tag content to generate snippets, if we think they give users a more accurate description than can be taken directly from the page content.

Meaning the <meta name="description" content="xyz" /> may be used, but only as a last resort.  Instead it will preferentially use any structured data, aka schema.org data, that it finds on the page.  For this page the output contiains.
Code: [Select]
	<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "Organization",
    "url": "https://www.elkarte.net/community/index.php?topic=6144.0",
    "logo": {
        "@type": "ImageObject",
        "url": "https://www.elkarte.net//community/themes/default/images/logo.png",
        "width": 134,
        "height": 60
    },
    "name": "ElkArte Community",
    "slogan": ""
}
</script>
<script type="application/ld+json">
{
    "@context": "https://schema.org",
    "@type": "DiscussionForumPosting",
    "@id": "https://www.elkarte.net/community/index.php?topic=6144.msg43874#msg43874",
    "headline": "Problem Description forum and  topic",
    "author": {
        "@type": "Person",
        "name": "Abu haron",
        "url": "https://www.elkarte.net/community/index.php?action=profile;u=1396;name=Abu+haron"
    },
    "url": "https://www.elkarte.net/community/index.php?topic=6144.msg43874#msg43874",
    "articleBody": "Welcome<br/>The program has been installed and the development of sections and forums.<br/>But there is a problem, which is the description feature, why is it not there? How is it added?<br/>",
    "articleSection": "Support",
    "datePublished": "July 14, 2022, 06:01:14 am",
    "dateModified": "July 14, 2022, 06:01:14 am",
    "interactionStatistic": {
        "@type": "InteractionCounter",
        "interactionType": "https://schema.org/ReplyAction",
        "userInteractionCount": 2
    },
    "wordCount": 31,
    "publisher": {
        "@type": "Organization",
        "name": "ElkArte Community",
        "logo": {
            "@type": "ImageObject",
            "url": "https://www.elkarte.net//community/themes/default/images/logo.png",
            "width": 134,
            "height": 60
        }
    },
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.elkarte.net/community/index.php?topic=6144.0"
    }
}
</script>

and Google finds and parses those (2) entries.  You can test that here: https://search.google.com/test/rich-results  It will give one warning as there is no image tag in the data (since there is no leading attachment).  I described all of this in another post.
Let me explain to you   :
See the picture:
  The descriptions are at the bottom of each section and specified in the yellow color, which is supposed to appear in the description code and not the name of the section as it is in the previous image :
https://i.imgur.com/GNwvOCT.jpg
This is regarding the sections.

As for topics, programs that are supposed to automatically put the first line or two of the topic in the situation, or as an alternative solution, make the user, member or writer put an appropriate description of the topic so that the description box is below the topic title

Re: Problem Description forum and topic

Reply #5

Quote from: Abu_haron – As for topics, programs that are supposed to automatically put the first line or two of the topic in the situation
It does just that already, in articleBody
Quote from: Abu_haron – The descriptions are at the bottom of each section and specified in the yellow color, which is supposed to appear in the description code and not the name of the section as it is in the previous image
Your entitled to your interpretation, change the code to suit your needs.  Its not going to help your SEO as its not unique content

Re: Problem Description forum and topic

Reply #6

Made some adjustments using the OG and Schema data that was already present on the page.