Is there a Tumblr plugin for EE?
Posted: 29 March 2008 03:48 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  256
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 09:49 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  36398
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 09: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 10:34 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  256
Joined  05-07-2006
Jared Farrish - 29 March 2008 09: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 11:21 AM   [ 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 03:26 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  256
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 03: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 09: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 09:05 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  32
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 06: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 01:56 PM   [ Ignore ]   [ # 10 ]  
Lab Technician
RankRankRankRank
Total Posts:  1158
Joined  11-01-2002

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

Profile
 
 
Posted: 21 April 2009 09:18 AM   [ Ignore ]   [ # 11 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  256
Joined  05-07-2006
Amy Gahran - 11 August 2008 09: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
 
 
   
 
 
‹‹ 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 1149, on July 16, 2007 09:33 AM
Total Registered Members: 77508 Total Logged-in Users: 44
Total Topics: 101526 Total Anonymous Users: 23
Total Replies: 544277 Total Guests: 272
Total Posts: 645803    
Members ( View Memberlist )