A simple one page RSS layout for Facebook's Instant Articles integration into Textpattern CMS
You will need a facebook activated "Page" account, then to set your custom Textpattern RSS link into the "Publication Tools" from your facebook Page, at least 10 published articles within your website, then wait for crawler bots.
More infos: here from the official fb developers docs.
No plugins, you only need Textpattern CMS ;)
Just copy/paste this page layout into Textpattern and associate it to a section name (that will be your "facebook Instant articles" RSS link URL).
By defaut articles will be extracted from the "articles" section. If you want to change, sets the "section" attribute into this line (comma separated sections list allowed): <txp:article_custom section="articles" limit="10"
(limited articles number: 10).
Note: The RSS feed is last website modification date updated.
The copyright dates starts from the website first installation year. If you want to change this year, remove this code $start= date("Y", get_pref('sql_now_created'));
by this one: $start = 'YYYY';
where "YYYY" is an integer (the year).
The feed preview into the facebook social network relies on the Open Graph meta tags. See this other plugin compagnon for complete integration within your website.