facebook on davidchua https://dchua.com/tags/facebook/ Recent content in facebook on davidchua Hugo -- gohugo.io en-us Sun, 24 Apr 2016 10:57:56 +0800 Hooking up Jekyll to Facebook Instant Articles https://dchua.com/posts/2016-04-24-hooking-up-jekyll-to-facebook-instant-articles/ Sun, 24 Apr 2016 10:57:56 +0800 https://dchua.com/posts/2016-04-24-hooking-up-jekyll-to-facebook-instant-articles/ Run a Jekyll site? Want to get into the whole Facebook Instant Articles Action? Prerequisite Install Jekyll Last Modified Plugin Plugin Install jekyll-last-modified-at gem by adding it onto your Gemfile or installing it into your system-wide gem. $ gem install jekyll-last-modified-at In your Jekyll site’s _config.yml file: # Add this under gems gems: - jekyll-last-modified-at Write your special RSS feed In /path/to/jekyll/feed/instant-articles.xml, copy the following snippet into it. Enjoy! Now when you access http://jekyll-site/feed/instant-articles. Playing around with Facebook's Instant Articles https://dchua.com/posts/2016-04-21-playing-around-with-facebooks-instant-articles/ Thu, 21 Apr 2016 00:00:00 +0000 https://dchua.com/posts/2016-04-21-playing-around-with-facebooks-instant-articles/ Over lunch yesterday, Lester introduced me to how quick and easy setting up the newly available Facebook Instant Articles was. After playing around with it a little bit by first generating an IA compatible RSS feed using Jekyll, (Jekyll Feed Layout), I managed to get it ingested into the system. But looks like there’s still quite a fair bit of caveats. Custom CSS will not work. Which means, code highlighting syntaxes will not render.