Example amp-iframe Display Blogger Feed
amp-iframe: Random Order (default)
Attempt to display a collection of Blogger posts in random order.
<!-- required values --> ?ampactions=feed &feedlimit=999 &feedresults=5 &canonicalurl={{BLOG_CANONICAL_URL}} &canonicalhomepageurl={{BLOG_CANONICAL_HOMEPAGE_URL}} <!-- optional values --> &feedsummary=160 &feedimage=320
Widget Preview
amp-iframe: Related Posts Random Order (by Label)
Attempt to display a collection of Blogger posts by related label in random order.
<!-- required values --> ?ampactions=feed &feedrelated=true &feedrelatedlabel={{BLOG_POST_LABEL}} &feedresults=5 &feedlimit=999 &canonicalurl={{BLOG_CANONICAL_URL}} &canonicalhomepageurl={{BLOG_CANONICAL_HOMEPAGE_URL}} <!-- optional values --> &feedsummary=160 &feedimage=320
Widget Preview
amp-iframe: Chronological Order
Attempt to display a collection of Blogger posts in chronological order.
<!-- required values --> ?ampactions=feed &feedrandom=false &feedresults=5 &feedlimit=999 &canonicalurl={{BLOG_CANONICAL_URL}} &canonicalhomepageurl={{BLOG_CANONICAL_HOMEPAGE_URL}} <!-- optional values --> &feedsummary=160 &feedimage=320
Widget Preview
amp-iframe: Related Posts Chronological Order
Attempt to display a collection of Blogger posts by label in chronological order.
<!-- required values --> ?ampactions=feed &feedrandom=false &feedrelated=true &feedrelatedlabel={{BLOG_POST_LABEL}} &feedresults=5 &feedlimit=999 &canonicalurl={{BLOG_CANONICAL_URL}} &canonicalhomepageurl={{BLOG_CANONICAL_HOMEPAGE_URL}} <!-- optional values --> &feedsummary=160 &feedimage=320
Widget Preview
amp-iframe: Post Content by Post URL
Attempt to display post content strips all HTML tags (text only).
<!-- required values --> ?ampactions=feed &feedcontenttype={{CONTENT_TYPE}} &feedlimit=999 &feedresults=1 &canonicalurl={{BLOG_CANONICAL_URL}} &canonicalhomepageurl={{BLOG_CANONICAL_HOMEPAGE_URL}}
Widget Preview
amp-iframe: Post Content by Post URL
Attempt to display post content as is from feed (text & html).
<!-- required values --> ?ampactions=feed &feedcontenttype={{CONTENT_TYPE}} &feedlimit=999 &feedresults=1 &canonicalurl={{BLOG_CANONICAL_URL}} &canonicalhomepageurl={{BLOG_CANONICAL_HOMEPAGE_URL}}
Widget Preview
Example: DISQUS Comments
Display DISQUS comment box & thread by disqus_shortname
.
<!-- required values --> ?ampactions=disqus &shortname={{DISQUS_SHORTNAME}} &url={{BLOG_URL}} &homepageurl={{BLOG_HOMEPAGE_URL}} &canonicalurl={{BLOG_CANONICAL_URL}} &canonicalhomepageurl={{BLOG_CANONICAL_HOMEPAGE_URL}}
Widget Preview
Font Styles (Optional)
<!-- optional font styles values --> &fontstyle=normal &fontweight=normal &fontsize=16 &fontlineheight=1.428 &fontfamily=Helvetica,Arial,sans-serif
<!-- optional font color values --> &fontcolor=333333 &fontlinkcolor=0066cc
<!-- font CSS output --> <style> body { [fontstyle] [fontweight] [fontsize]px/[fontlineheight] [fontfamily] } </style>
<!-- font CSS output --> <style> body { color: [fontcolor]; } a { color: [fontcolor]; } </style>
Date Formatting (Optional for Feed Display)
<!-- optional date formatting values --> &feeddate=ddmmyy &feedmonths=1[]2[]3[]4[]5[]6[]7[]8[]9[]10[]11[]12 &fontdatesep=/[]/
Key | Accepted Values |
---|---|
feeddate |
Date format display. Assigned format values: mmddyy - month day year (default)ddmmyy - day month yearyymmdd - year month dayyyddmm - year day month mmddyy (default) |
feedmonths |
Date months format. Converts string values to arrays. Use [] as separators between values.Jan[]Feb[]Mac[]Apr[]May[]Jun[]Jul[]Aug[]Sep[]Oct[]Nov[]Dec[] (default) |
feeddatesep |
Date format separator. Converts string values to arrays. Use [] as string value separator [], (default) |
Example: Instagram Feed
Display Instagram posts, follower & following count powered by Instafeed(js).
<!-- required values --> ?ampactions=instagram &clientid={{ user instagram client id }} &accesstoken={{ user instagram access token }} &get=user &userid={{ user instagram id }} &sortby=random &limit=9 &resolution=low_resolution &comments=true &likes=true &headercolor=%23333333 &headerbg=%23ffffff &feedbg=%23000000 &feedbgopacity=.45 &feedbgcolor=%23000000 &feedcolor=%23ffffff &posts=Poss &follower=Followers &following=Following &breakpoint=428 &columns=3 &columnsmobile=2
Widget Preview