
bofh.org.uk/2020/05/12/oembed-for-hugo
Preview meta tags from the bofh.org.uk website.
Linked Hostnames
9- 8 links tobofh.org.uk
- 2 links tooembed.com
- 1 link tocommentpara.de
- 1 link tofed.brid.gy
- 1 link togithub.com
- 1 link togohugo.io
- 1 link toinstagram.com
- 1 link tomendeddrum.org
Search Engine Appearance
Adding a generic oembed handler for Hugo
If you’re at all like me, you have content on a bunch of different sites (Instagram, Youtube, Flickr, Soundcloud, Bandcamp…) and, especially for multimedia content, it’s great to be able to link to ’live’ versions of that content. Of course, all those sites will let you ‘share’ content and usually have an ’embed’ option that hands you a bunch of HTML that you can paste into your blog entry. But screw that! I’m a programmer for whom laziness is one of the cardinal virtues – if it’s at all possible, I prefer to let the computer do the work for me.If nothing else, once I’ve got the programming right, it’s less likely to screw up than me Hugo1 sort of supports this out of the box with its youtube, instagram, vimeo etc. built in shortcodes. The thing is, they’re not lazy enough – you have to dig into each URL to extract a content ID and pass that in to {{% youtube kb-Aq6S4QZQ %}} or whatever. Which would be kind of fine, if you weren’t used to the way sites like Facebook, Twitter, Tumblr and so on work. With those sites, you enter a URL and they disappear off behind the scenes and fill in a fancy preview of the page you linked to. Why can’t Hugo do that?
Bing
Adding a generic oembed handler for Hugo
If you’re at all like me, you have content on a bunch of different sites (Instagram, Youtube, Flickr, Soundcloud, Bandcamp…) and, especially for multimedia content, it’s great to be able to link to ’live’ versions of that content. Of course, all those sites will let you ‘share’ content and usually have an ’embed’ option that hands you a bunch of HTML that you can paste into your blog entry. But screw that! I’m a programmer for whom laziness is one of the cardinal virtues – if it’s at all possible, I prefer to let the computer do the work for me.If nothing else, once I’ve got the programming right, it’s less likely to screw up than me Hugo1 sort of supports this out of the box with its youtube, instagram, vimeo etc. built in shortcodes. The thing is, they’re not lazy enough – you have to dig into each URL to extract a content ID and pass that in to {{% youtube kb-Aq6S4QZQ %}} or whatever. Which would be kind of fine, if you weren’t used to the way sites like Facebook, Twitter, Tumblr and so on work. With those sites, you enter a URL and they disappear off behind the scenes and fill in a fancy preview of the page you linked to. Why can’t Hugo do that?
DuckDuckGo
Adding a generic oembed handler for Hugo
If you’re at all like me, you have content on a bunch of different sites (Instagram, Youtube, Flickr, Soundcloud, Bandcamp…) and, especially for multimedia content, it’s great to be able to link to ’live’ versions of that content. Of course, all those sites will let you ‘share’ content and usually have an ’embed’ option that hands you a bunch of HTML that you can paste into your blog entry. But screw that! I’m a programmer for whom laziness is one of the cardinal virtues – if it’s at all possible, I prefer to let the computer do the work for me.If nothing else, once I’ve got the programming right, it’s less likely to screw up than me Hugo1 sort of supports this out of the box with its youtube, instagram, vimeo etc. built in shortcodes. The thing is, they’re not lazy enough – you have to dig into each URL to extract a content ID and pass that in to {{% youtube kb-Aq6S4QZQ %}} or whatever. Which would be kind of fine, if you weren’t used to the way sites like Facebook, Twitter, Tumblr and so on work. With those sites, you enter a URL and they disappear off behind the scenes and fill in a fancy preview of the page you linked to. Why can’t Hugo do that?
General Meta Tags
10- titleAdding a generic oembed handler for Hugo // Just a Summary
- charsetutf-8
- x-ua-compatibleIE=edge
- google-site-verification
- viewportwidth=device-width,initial-scale=1,minimum-scale=1
Open Graph Meta Tags
5- og:titleAdding a generic oembed handler for Hugo
- og:descriptionIf you’re at all like me, you have content on a bunch of different sites (Instagram, Youtube, Flickr, Soundcloud, Bandcamp…) and, especially for multimedia content, it’s great to be able to link to ’live’ versions of that content. Of course, all those sites will let you ‘share’ content and usually have an ’embed’ option that hands you a bunch of HTML that you can paste into your blog entry. But screw that! I’m a programmer for whom laziness is one of the cardinal virtues – if it’s at all possible, I prefer to let the computer do the work for me.If nothing else, once I’ve got the programming right, it’s less likely to screw up than me Hugo1 sort of supports this out of the box with its youtube, instagram, vimeo etc. built in shortcodes. The thing is, they’re not lazy enough – you have to dig into each URL to extract a content ID and pass that in to {{% youtube kb-Aq6S4QZQ %}} or whatever. Which would be kind of fine, if you weren’t used to the way sites like Facebook, Twitter, Tumblr and so on work. With those sites, you enter a URL and they disappear off behind the scenes and fill in a fancy preview of the page you linked to. Why can’t Hugo do that?
- og:localeen-gb
- og:typearticle
- og:urlhttps://bofh.org.uk/2020/05/12/oembed-for-hugo/
Twitter Meta Tags
2- twitter:titleAdding a generic oembed handler for Hugo
- twitter:descriptionIf you’re at all like me, you have content on a bunch of different sites (Instagram, Youtube, Flickr, Soundcloud, Bandcamp…) and, especially for multimedia content, it’s great to be able to link to ’live’ versions of that content. Of course, all those sites will let you ‘share’ content and usually have an ’embed’ option that hands you a bunch of HTML that you can paste into your blog entry. But screw that! I’m a programmer for whom laziness is one of the cardinal virtues – if it’s at all possible, I prefer to let the computer do the work for me.If nothing else, once I’ve got the programming right, it’s less likely to screw up than me Hugo1 sort of supports this out of the box with its youtube, instagram, vimeo etc. built in shortcodes. The thing is, they’re not lazy enough – you have to dig into each URL to extract a content ID and pass that in to or whatever. Which would be kind of fine, if you weren’t used to the way sites like Facebook, Twitter, Tumblr and so on work. With those sites, you enter a URL and they disappear off behind the scenes and fill in a fancy preview of the page you linked to. Why can’t Hugo do that?
Link Tags
11- alternatehttps://bofh.org.uk/atom.xml
- alternatehttps://bofh.org.uk/jf2feed.json
- amphtmlhttps://bofh.org.uk/amp/2020/05/12/oembed-for-hugo/
- authorization_endpointhttps://indieauth.com/auth
- canonicalhttps://bofh.org.uk/2020/05/12/oembed-for-hugo/
Links
17- https://bofh.org.uk
- https://bofh.org.uk/2020/04/08/virtual-gig-like-thing
- https://bofh.org.uk/2020/05/12/oembed-for-hugo
- https://bofh.org.uk/2022/04/12/is-this-thing-still-on
- https://bofh.org.uk/pages/about