Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
75 lines (58 sloc) 1.64 KB

plista

Example

Basic

<amp-embed
  width="300"
  height="300"
  type="plista"
  layout="responsive"
  data-countrycode="de"
  data-publickey="e6a75b42216ffc96b7ea7ad0c94d64946aedaac4"
  data-widgetname="iAMP"
  data-categories="politics"
>
</amp-embed>

With article information

<amp-embed
  width="300"
  height="300"
  type="plista"
  layout="responsive"
  data-countrycode="de"
  data-publickey="e6a75b42216ffc96b7ea7ad0c94d64946aedaac4"
  data-widgetname="iAMP"
  data-geo="de"
  data-urlprefix=""
  data-categories="politics"
  json='{"item":{"objectid":"1067327","url":"http://www.plista.com/article/a-1067337.html","updated_at":1449938206}}'
>
</amp-embed>

Configuration

For semantics of configuration, please see Plista's documentation.

Supported parameters:

  • data-countrycode
  • data-publickey
  • data-widgetname
  • data-geo
  • data-urlprefix
  • data-categories

Supported via json attribute:

  • item

Layout

Width and height are optional. You can use different layout types with plista.

You can’t perform that action at this time.