Dvc.org: SEO: individualized content previews for DVC pages (and maybe /doc pages)

Created on 12 Dec 2019  路  23Comments  路  Source: iterative/dvc.org

Currently preview of contents for all DVC pages has the same info:

image

Maybe it could have the actual title of each page at least? Ideally also a short excerpt of the beginning of the page contents.

duplicate enhancement research website

All 23 comments

馃憤 Any ideas how should we customize it depending on a link? The most obvious one - title. Not sure about snippet and image.

Yeah well we have a markdown parses so other than a custom title such as Data Registry | Use Cases | DVC, the text preview could be the first paragraph from the md contents (After H1), truncated to some length.

I wonder if we can use an image to put that custom text + logo. And use generic text - so that users always see what DVC is.

As for research, these excerpts at least in Slack come from the <meta name="description" tag. I guess we could find out what other metadata Google, Bing, etc pay attention to. Maybe <meta name="keywords"? I understand that's mostly ignored by search engines now a days (they have algorithms to extract keywords from the actual contents instead).

can use an image to put that custom text + logo

This is probably possible on more advanced engines, but image rendered text wouldn't help search result ranking.

Yeah, probably I don't care that much about SEO per se (they are good at extracting information), more about user experience when you send a link, share a link.

There's <meta name="thumbnail", or more advanced PageMaps for G we can try. Not sure this helps previews in messaging apps like Slack, etc. though. They probably only check basic meta tags.

Related: #982

Hi @jorgeorpinel and @shcheklein ,
The meta tag is the most important factor for search engines to find out the core meaning if the website. For that we have to enable the open graph protocol with our customised JavaScript engine I hope. I would like to work on this issue.
Thank you.

Maybe it could have the actual title of each page at least?

I hope <meta property="og:site_name"> is missing in the site. Adding this metatag would resolve the issue. I will raise a pull request on this.
Thank you.

As for research, these excerpts at least in Slack come from the <meta name="description" tag. I guess we could find out what other metadata Google, Bing, etc pay attention to. Maybe <meta name="keywords"? I understand that's mostly ignored by search engines now a days (they have algorithms to extract keywords from the actual contents instead).

It is, <meta property="og:site_name"> missing in the site. So we would get the individualised content on the preview.

Hi Team,
I have submitted a pull request to this issue. Kindly check. Thank you.

Any ideas how should we customize it depending on a link? The most obvious one - title. Not sure about snippet and image.

I have made the pull request that could fix this issue. Please check here,
SEO: individualized content previews for DVC pages #1379
Thank you.

I wonder if we can use an image to put that custom text + logo. And use generic text - so that users always see what DVC is.

Yes, I understand this.

The meta tag is the most important factor for search engines to find out the core meaning if the website.

As noted in https://github.com/iterative/dvc.org/pull/1379#issuecomment-636387293 and https://github.com/iterative/dvc.org/pull/1379#issuecomment-636542906 that seems to relate more to #1119. Let's move the conversation there?

I have submitted a pull request to this issue. Kindly check.
I have made the pull request that could fix this issue. Please check here,

Yeah, don't worry, we get the notifications and emails from GH. No need for 2 comments about this 馃構 but thanks a lot for the contribution

Screenshot_20200607_161407
When I share I blog link in slack, it's displaying the page title and the image in a smaller size. If we further want to increase the size of the image, we have to work with the Twitter summary of cards with larger dimensions of the picture. So please help me in knowing the absolute requirement of this issue @jorgeorpinel also I have raised a pull request before on this issue with some additional twitter cards on #1379. Kindly help me in this regard to understand the SEO requirement. Thank you

Screenshot_20200607_201626
@jorgeorpinel @shcheklein
I can't add image at #1379 so I am referencing here.

Hey @MerlynMShelley thanks. TBH pasting these long vertical emails is not very easy to read so I hid you comment. Can you just copy/paste the key text from there or paste a link to the reference please? I also don't really understand what it is about or why you cant comment in #1379, which BTW is now closed. Don't you have another PR open for this?

Sorry, it's been a few really busy weeks and I'm not keeping close track of things, will need your help to make sure everything you comment is as easy to read/understand as possible (digested, not raw) and in the right context. Thanks!

If we further want to increase the size of the image, we have to work with the Twitter summary of cards with larger dimensions of the picture

Why is this a Twitter-specific issue? Thanks

help me in knowing the absolute requirement of this issue

The custom image idea comes from https://github.com/iterative/dvc.org/issues/857#issuecomment-565226918 but the goal is to keep both the basic description of DVC and also the excerpt from each page in these previews somehow. It's not a perfectly defined requirement, it needs a creative solution, probably. Any suggestions?

It's a good point that the blog previews already have custom excerpts, it seems cc @shcheklein @rogermparent how can we replicate that everywhere?

why you cant comment in #1379, which BTW is now closed. Don't you have another PR open for this?
Sorry, it's been a few really busy weeks

I see that was your only PR @MerlynMShelley, but it got complicated and was closed. Are you planning to try again with a smaller PR so it's easy to review and follow up on? Or do you prefer to work on something else? I've seen you've commented in https://github.com/iterative/dvc.org/issues/1119#issuecomment-640201071, for example. Thanks!

Again, this week will probably be a little difficult to work with you very closely so if you have a small, specific, complete contribution you'd like to make, please send a PR 馃檪 otherwise let's touch base in a few days.

It's a good point that the blog previews already have custom excerpts, it seems [...] how can we replicate that everywhere?

Looks like only blog posts use the description prop of our SEO component, so providing that component the data we want to display in the other templates should do the trick if blog posts currently exhibit the desired behavior.

Blog posts currently have a complete separate excerpt in the description field of their frontmatter, but the description prop can be a string acquired through any method.

providing that component the data we want to display in the other templates should do the trick

Sounds worth a shot 馃檪

Closing in favor of #1785

Was this page helpful?
0 / 5 - 0 ratings