@Moondeer It’s doable, and fetching …

@Moondeer It’s doable, and fetching is the easy part. “Parsing” is a bit ugly if it’s not XHTML. Here’s something to get you started:

> {{ with resources.GetRemote “https://example.com” }}
> {{ $meta := findRE “<meta.*?>” .Content }}
> {{ range $meta }}
> {{ . }}<br />
> {{ end }}
> {{ end }}

That will output every meta tag found at the provided URL. Sorry about the messed-up template. 😔

Sven Dahlstrand,

Reply by email 💌