PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Chris Hartjes' Blog: Building a Gimmebar Sidebar

Note: This article was originally published at PHPDeveloper on 11 November 2011.
PHPDeveloper

Following along the lines of this post from Ed Finkler about working with the Gimme Bar API, Chris Hartjes has chimed in with his own post about creating his sidebar based on the same source.

Funkatron was kind enough to put together a blog post about building a Tumblelog with Gimme Bar and PHP so I told him I would write up what I did on my own blog. One of my intents was to use the Gimme Bar API to pull in a list of my latest Gimmies for the sidebar on this blog. Ed had posted a very simple example in Javascript (I cannot remember where it is) so I took it and ran with it to modify it to work with the blogging software used here.

He includes the simple javascript, about 15 lines of it, that pulls the latest "gimmies" from his own feed and posting them as sidebar items (as you can see right next to the code snippet).It uses a combination of Ender.js, Reqwest, Underscore and regular javascript to get the job done.