Testing the new insta command

For easily embedding an Instragram photo.

Use the URL to the web page and not the image:

insta=http://instagram.com/p/tOvJxJtQhC

  1. will do a fetch on that URL
  2. parse the web page for the Open Graph meta property:
    <meta property="og:image" content="http://photos-d.ak.instagram.com/hphotos-ak-xfa1/10684334_1534205166796627_1819483882_n.jpg" />
  3. use the content URL within an HTML img tag with width and height set to 320 pixels. I use 320 pixels the most when embedding an Instagram photo, so I'll default to that.
  4. maybe provide the option to specify width and height params. Instagram photos are normally 640 x 640 pixels. maybe allow:
    insta=http://instagram.com/p/tOvJxJtQhC 640x640

#junco - #photo - #testing

From JR's : articles
99 words - 723 chars
created on
updated on - #
source - versions

Related articles
This is a test: with the colon punct in the title - Jul 16, 2014
Junco user actions - Nov 01, 2013
Testing fenced code block commands - Sep 23, 2014



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Apr 19, 2024 - 2:01 p.m. EDT