Is there a Tumblr plugin for EE?
Posted: 29 March 2008 04:48 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  329
Joined  05-07-2006

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.

 Signature 

The Watchmaker Project | My EE add-ons | Follow me on Twitter

Profile
 
 
Posted: 29 March 2008 10:49 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  40207
Joined  05-14-2004

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!

 Signature 
Profile
MSG
 
 
Posted: 29 March 2008 10:52 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  608
Joined  03-02-2008

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.

 Signature 

 
“If you love the truth, you’ll trust it - That is,
you will expect it to be good, beautiful, perfect, orderly, etc…
In the long run, not necessarily in the short run.”
- Abraham Mazlow
 
“Truth is a long-term proposition.
Honesty, day to day, is malleable.
We learn honesty by studying truth,
In all it’s nature, in all it’s hope.”
- Unknown

When posting template code or HTML, use code wrappers to highlight code in posts. Thank you!
Profile
 
 
Posted: 29 March 2008 11:34 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  329
Joined  05-07-2006
Jared Farrish - 29 March 2008 10:52 AM

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?

 Signature 

The Watchmaker Project | My EE add-ons | Follow me on Twitter

Profile
 
 
Posted: 29 March 2008 12:21 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  608
Joined  03-02-2008

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?

 Signature 

 
“If you love the truth, you’ll trust it - That is,
you will expect it to be good, beautiful, perfect, orderly, etc…
In the long run, not necessarily in the short run.”
- Abraham Mazlow
 
“Truth is a long-term proposition.
Honesty, day to day, is malleable.
We learn honesty by studying truth,
In all it’s nature, in all it’s hope.”
- Unknown

When posting template code or HTML, use code wrappers to highlight code in posts. Thank you!
Profile
 
 
Posted: 29 March 2008 04:26 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  329
Joined  05-07-2006

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.

 Signature 

The Watchmaker Project | My EE add-ons | Follow me on Twitter

Profile
 
 
Posted: 29 March 2008 04:28 PM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  608
Joined  03-02-2008

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.

smile

 Signature 

 
“If you love the truth, you’ll trust it - That is,
you will expect it to be good, beautiful, perfect, orderly, etc…
In the long run, not necessarily in the short run.”
- Abraham Mazlow
 
“Truth is a long-term proposition.
Honesty, day to day, is malleable.
We learn honesty by studying truth,
In all it’s nature, in all it’s hope.”
- Unknown

When posting template code or HTML, use code wrappers to highlight code in posts. Thank you!
Profile
 
 
Posted: 11 August 2008 10:31 AM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  1
Joined  08-11-2008

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

Profile
 
 
Posted: 15 April 2009 10:05 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  38
Joined  04-09-2007

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.

Profile
 
 
Posted: 16 April 2009 07:43 AM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  878
Joined  02-26-2008

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

Profile
 
 
Posted: 16 April 2009 02:56 PM   [ Ignore ]   [ # 10 ]  
Lab Technician
RankRankRankRank
Total Posts:  1211
Joined  11-01-2002

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

Profile
 
 
Posted: 21 April 2009 10:18 AM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  329
Joined  05-07-2006
Amy Gahran - 11 August 2008 10:31 AM

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.

 Signature 

The Watchmaker Project | My EE add-ons | Follow me on Twitter

Profile
 
 
Posted: 17 March 2010 11:52 AM   [ Ignore ]   [ # 12 ]  
Summer Student
Total Posts:  25
Joined  03-04-2009

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?

Profile
 
 
Posted: 18 March 2010 01:57 AM   [ Ignore ]   [ # 13 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  329
Joined  05-07-2006

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).

 Signature 

The Watchmaker Project | My EE add-ons | Follow me on Twitter

Profile
 
 
Posted: 19 March 2010 04:54 PM   [ Ignore ]   [ # 14 ]  
Summer Student
Total Posts:  25
Joined  03-04-2009

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

Profile
 
 
   
 
 
‹‹ Commerce Module      More EE Love ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120594 Total Logged-in Users: 72
Total Topics: 126635 Total Anonymous Users: 38
Total Replies: 665682 Total Guests: 397
Total Posts: 792317    
Members ( View Memberlist )