Consider adding Open Graph metadata to astropix pages

Off topic discourse and banter encouraged.
Posts: 1
Joined: Tue Oct 06, 2020 8:59 pm

Consider adding Open Graph metadata to astropix pages

Post by lyeager » Tue Oct 06, 2020 9:17 pm

The Open Graph protocol ( is a web standard which makes it easier to parse web pages. If APOD added these metadata tags to astropix pages, then it would be easier for others to parse the page. For example, any astropix URL posted to a Slack channel would be automatically parsed and a nice preview of the page would be attached:
Specifically, we are looking for oEmbed and Twitter Card / Open Graph tags.
Here is an example of a website which implements this protocol:

Code: Select all

$ curl -s '' | grep 'meta.*property.*og:'
<meta property="og:url" content="" />
<meta property='og:image' content=",0,630,1200_AL_.jpg" />
<meta property='og:type' content="" />
<meta property='og:title' content="Apollo 13 (1995) - IMDb" />
<meta property='og:site_name' content='IMDb' />
<meta property="og:description" content="Directed by Ron Howard.  With Tom Hanks, Bill Paxton, Kevin Bacon, Gary Sinise. NASA must devise a strategy to return Apollo 13 to Earth safely after the spacecraft undergoes massive internal damage putting the lives of the three astronauts on board in jeopardy." />