Changing RSS to comply with Facebook Instant Articles

Hi All,

I’m trying to change my RSS.xml to comply with Facebook Instant Articles, it doesn’t seem to be too complex, I’m using the theme Aglaus.

Basically what has to be added to the RSS is the tag below:

<content:encoded>
<!-- The html of the article goes here -->
</content:encoded>

That’s easy to do, but I’m struggling to extract information from my posts, for example, in my RSS I have a loop like that:

{{ range first 15 .Data.Pages }}
      <title>{{ .Title }}</title>
      <link>{{ .Permalink }}</link>
{{ end }}

but I want to know all the properties of my post, like, the image of the post, the summary, etc…

Can someone point me to the documentation ?

To know more about Facebook Instant Articles, check this page.

Thanks!

1 Like