ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Is there a Tumblr plugin for EE?

March 29, 2008 6:48am

Subscribe [11]
  • #1 / Mar 29, 2008 6:48am

    Matthew Pennell

    221 posts

    I’ve searched the forum and wiki and can’t find anything that indicates whether a fully-fledged Tumblr plugin exists - can anyone tell me if there is one?

    Basically I want to import content via the Tumblr API, parse it, and output it via EE tags somehow (also in the RSS/Atom templates as well). I might optionally want to import it into the EE database, I guess, but that’s not so important.

  • #2 / Mar 29, 2008 12:49pm

    Lisa Wess

    20502 posts

    I’ve never even heard of Tumblr - which means I haven’t seen an add-on to pull any information for it.  I do sometimes find out about web services through new add-ons, which is kind of fun.

    You can always create a plugin, though!

  • #3 / Mar 29, 2008 12:52pm

    Jared Farrish

    575 posts

    How does the API work? Can you post an example, maybe in psuedo-code?

    I too don’t have a clue what it is. That doesn’t mean much, but even after reading about it, it just seemed like a moblogger tool, which EE has in the personal/commercial license.

  • #4 / Mar 29, 2008 1:34pm

    Matthew Pennell

    221 posts

    How does the API work? Can you post an example, maybe in psuedo-code?

    I too don’t have a clue what it is. That doesn’t mean much, but even after reading about it, it just seemed like a moblogger tool, which EE has in the personal/commercial license.

    Tumblr is a tumblelog provider - yes, you could do it with other sites or through EE itself, but Tumblr has some clever ways of extracting certain things (e.g. images, video, quotes) from sites you bookmark, and there’s a Firefox extension to allow you to quickly add stuff while you’re surfing.

    The API is pretty simple - it uses HTTP/cURL and returns XML or JSON. Could I use something like Magpie or a generic XML parser plugin?

  • #5 / Mar 29, 2008 2:21pm

    Jared Farrish

    575 posts

    Oh, so it’s like a heavy-duty feed-as-a-web-service? Are all you’re looking to do is consume and print the data?

    EE could do this, I don’t think without a problem, as either a plugin or a module. Of course, I think you would need to have cURL (do you have to send request data like in a POST?) or fopen, or even the xml handlers in PHP 5.

    Honestly, you could setup a template to parse PHP on output and get it working, and then turn it into a plugin or module from there.

    Have you ever consumed a Tumblr service before?

  • #6 / Mar 29, 2008 6:26pm

    Matthew Pennell

    221 posts

    I created a stand-alone class that did it in CodeIgniter as part of a Facebook app, so it’s pretty easy to do. I’ve made a start on a new EE module to consume the API now anyway, as there are a few specific things I need from a Tumblr feed.

  • #7 / Mar 29, 2008 6:28pm

    Jared Farrish

    575 posts

    Cool! If you can, post the code so someone else may be able to use it or build off of it.

    EE 2.0 will be CodeIgnited, so that’s exciting.

    😊

  • #8 / Aug 11, 2008 12:31pm

    Amy Gahran

    1 posts

    Hi, there. New member, resurrecting this thread from March

    One of my clients has a complex site built in Expression Engine that contains several blogs. EE’s a great tool, but right now posting quick newsbrief-style items with links is far more complex for site contributors than it needs to be.

    I’ve integrated Tumblr with Wordpress blogs, and I know it can be a good third-part posting tool for short items.

    Has anyone actually integrated Tumblr into an EE site yet? If so, got a link so I can see how it works?

    Thanks

    - Amy Gahran

  • #9 / Apr 16, 2009 12:05am

    metsgrrl

    22 posts

    WHat you can do is feed your tumblr posts into Twitter, and there is an EE Twitter plugin. That’s how I’m making it work, for now.

    Tumblr is a great companion to a standalone blog and the social aspects are fantastic, it would be great if someone came up with plugin. I am just not that smart.

  • #10 / Apr 16, 2009 9:43am

    Arun S.

    792 posts

    I don’t have a live example, but I played around this once.  It was fairly easy with XMLGrab.

  • #11 / Apr 16, 2009 4:56pm

    Erin Dalzell

    790 posts

    Does each page produce RSS? If so, that is easy to pull in.

  • #12 / Apr 21, 2009 12:18pm

    Matthew Pennell

    221 posts

    Has anyone actually integrated Tumblr into an EE site yet?

    I have… kind of.

    My site has a Tumblr-powered short-links blog, but the integration is probably not what you want; I have a cron job that pulls down the latest posts from the Tumblr API and inserts them into the EE weblog database. So it’s not really ‘integrated’ in any real sense of the word.

  • #13 / Mar 17, 2010 1:52pm

    Graham Huber

    217 posts

    Matthew, could you share your solution?

    Tumblr has some very robust tools for handling submissions—it seems redundant to reinvent these with EE. For those of us that need to manage and manipulate entries, being able to use Tumblr to collect, organize and submit content to EE would be very handy! 

    Has anyone else made any progress in integrating Tumblr and EE?

  • #14 / Mar 18, 2010 3:57am

    Matthew Pennell

    221 posts

    My solution doesn’t really do anything EE-specific. A standalone PHP file runs on an hourly cron job and pulls down the Tumblr RSS feed with cURL, then parses the XML and inserts new items into the exp_weblog_titles and _data tables. It’s completely separate to the EE install (in fact it runs on a different domain).

  • #15 / Mar 19, 2010 6:54pm

    Graham Huber

    217 posts

    Would you mind posting a version of the script for our benefit? I’m curious about implementing your solution.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases