sveltekit-seo
opengraph
Our great sponsors
sveltekit-seo | opengraph | |
---|---|---|
3 | 164 | |
47 | 224 | |
- | - | |
5.4 | 0.0 | |
5 months ago | over 2 years ago | |
Svelte | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sveltekit-seo
-
Adding Schema.org Markup to your SvelteKit Site
There is a little data which feeds into the SchemaOrg component. The mechanism is similar to the one we used for the Twitter and OpenGraph components though. As there is a bit to get through here, we won't go into details on how to plumb the data in. That should stop the post getting too long! You can see the full code on the Rodney Lab GitHub repo which is a complete and tested version. The demo site is up at sveltekit-seo.rodneylab.com/. We will focus on the SchemaOrg component which is in the file src/lib/components/SEO/SchemaOrg.svelte.
-
Open Graph SEO in SvelteKit: Custom Share Images
We include the two images mentioned earlier. In the generated page you might get problems generating WhatsApp social images if, in the page's HTML head section, the Open Graph image tags come after the first tag. I checked the generated code and this is not an issue here, using SvelteKit. If you are using other frameworks though, and have WhatsApp issues, it is worth checking and re-ordering the elements if needed.
💯 Open Graph SEO in SvelteKit: Test
As always our last step is to test this all works. As with the Twitter meta, there is a tool for checking Open Graph meta. This is the Facebook Sharing Debugger. To use it, you will need to have a Facebook account and to log in.
You can ignore the warning about the missing
fb:app_id
property (see above).🙌🏽 Open Graph SEO in SvelteKit: Wrapup
That's it for this post. We looked at:
- what Open Graph SEO meta you should include in your website pages and posts,
- how to generate Open Graph SEO in SvelteKit,
- testing you Open Graph metadata.
In the previous post on SvelteKit SEO, as well as an introduction to SEO in general, we looked at adding SEO meta for Twitter, which is used for Twitter, Slack and other apps. In the next post in the series we will step up a gear and look at the more advanced Schema.org meta you can start including on your site pages. SchemaOrg is a protocol designed to let browsers understand what a website page is about. Using it can lead to higher ranking in Google and more prominent display of your page in search results pages. Looking forward to running through this!
You can see the code for the story so far on the Rodney Lab Git Hub repo.
🙏🏽 Open Graph SEO in SvelteKit: Feedback
Please send feedback! Have you found the post useful? Would you like to see posts on another topic instead? Get in touch with ideas for new posts. Also if you like my writing style, get in touch if I can write some posts for your company site on a consultancy basis. Read on to find ways to get in touch, further below. If you want to support posts similar to this one and can spare a couple of dollars, rupees, euros or pounds, please consider supporting me through Buy me a Coffee.
Finally, feel free to share the post on your social media accounts for all your followers who will find it useful. As well as leaving a comment below, you can get in touch via @askRodney on Twitter and also askRodney on Telegram. Also, see further ways to get in touch with Rodney Lab. I post regularly on SvelteKit as well as other topics. Also subscribe to the newsletter to keep up-to-date with our latest projects.
-
SvelteKit SEO: Search Engine Optimisation Metadata
You can see the code for the story so far on the Rodney Lab Git Hub repo.
opengraph
- Como customizar o preview de links em redes sociais no Next.js
-
Building an SEO-friendly responsive i18n website using Vite-SSG + Vuetify3
og:*: specified by the Open Graph Protocol for social media links rendering that determine their title, description, and images when you share them on social media or chat software such as Twitter(X), Discord, etc.
- Java virtual threads caused a deadlock in TPC-C for PostgreSQL
-
Is there a reason why cover art is not showing up?
OpenGraph probably.
- What is an open graph? You must know this feature in web development.
-
Making Dynamic Website Thumbnail
To explore more Open Graph properties, visit this website: Open Graph Protocol.
-
Displaying your full-sized YouTube thumbnail or a custom OG image in a Twitter card
Since Netlify introduced Edge Functions we've had an ideal way to add a tiny bit of logic into our link shortener which will return a page template of our own to anything looking to unfurl the URL to display its opengraph image.
-
[Handgun] Back in stock - PD Trade Sig Sauer P226 9mm DA/SA w Night Sights & 1-15rd mag $579.99+s/h
Recoil Gunworks doesn't have an Open Graph image tag defined in their product pages, so Reddit chooses something at random to use for a preview thumbnail. Neither OP nor the mods can do anything about it.
-
The truth behind the ban of r/MGTOW
The idea behind the Semantic Web is, if anything, the exact opposite. Yes, it's still about meaning, in the end. But in this case, it's about the authors of content (mostly webpage developers) intentionally making their content more machine-discoverable, providing links and markup and metadata that computers can read without having to do finicky and error-prone extraction. Most major sites use some features of this! As an example, if you paste this page's URL into Discord, you'll get a fancy popup box with a little snippet of the text and maybe an icon, and this is through a Facebook-developed Semantic Web extension called OpenGraph.
- Open Graph
What are some alternatives?
sveltekit-starter - Sveltekit starter project created with sveltekit, typescript, tailwindcss, postcss, husky, and storybook. The project has the structure set up for the scaleable web application.
python-goose - Html Content / Article Extractor, web scrapping lib in Python
sveltekit-blog-mdx - SvelteKit MDX starter blog with MDsveX (Svelte in markdown)
Data Extractor - Combine XPath, CSS Selectors and JSONPath for Web data extracting.
sveltekit-mdsvex-blog - A minimalistic blog template built with SvelteKit and MDsveX
react-helmet - A document head manager for React
SveltePress - Documentation for humans.
trafilatura - Python & command-line tool to gather text on the Web: web crawling/scraping, extraction of text, metadata, comments
sveltekit-faq-page-seo - SvelteKit FAQ Page SEO: how you can use ❤️ Svelte's SEO friendliness to create a FAQ page with JSON-LD SchemaOrg SEO meta loved by Google.
python-readability - fast python port of arc90's readability tool, updated to match latest readability.js!
website - Gitpod website and documentation
sumy - Module for automatic summarization of text documents and HTML pages.