Although you can choose what kind of content types you want to send to tumblr, Tumblr only publishes them as "text" type, no matter what node type is.
Since tumblr has different types of content, and all of them have always the same fields, I think it would be great to allow mapping drupal fields and node types to tumblr in order to benefit from its options to display content.
One aproach could be to create two submodules: one that creates default content type with required fields in case you haven't them created yet. It could be something like this:
1. Image:
1. Title
2. Link
3. Description
4. Taxonomy
2. Video
1. Title
2. Video (embedded media field -> which is a url itself)
3. Description
4. Taxonomy
3. Text
1. Title
2. Body
3. Taxonomy
The second submodule could be used to map any content type and any field in drupal installation to fit tumblr types of content and fields.
Regards
Comments
Comment #1
pribeh commentedPlus one for imagefield support.
Comment #2
abendy commented+ another 1
Comment #3
lorinpda commentedHi,
Just for edification sake, the statement that "Tumblr only publishes them as "text" type, no matter what node type is." is simply not correct :).
If your content type is set to "full html" and your body field contains html, Tumblr does publish and render the full html (including images and videos). Please see my company's Tumblr page if you want to see a demo : http://public-action.tumblr.com/ . Images render, links all resolve to the correct location. The html elements are all there, as expected :) I've tested embedded video in the body field, Tumblr publishes it and renders it just fine.
What c-c-m is referring to is a different matter. Currently Tumblr Connect on supports the Tumblr "regular" content type. That content type consists of 2 fields:
In addition, tags (Drupal's taxanomy terms).
When using the Drupal 7 Fields feature or the Drupal 6 CCK module, your Drupal content type no longer matches the Tumblr "regular" content type. Your Drupal content type now has more than 2 fields. In this case, the current version of Tumblr Connect simply publishes the 2 matching fields (title and body).
I am looking at enhancing Tumblr Connect to support the Drupal 7 Field feature (and Drupal 6 CCK).
Again, just want to make sure that everyone reading this realizes that you can publish html content (including images and video). The current version of Tumblr Connect publishes html that is stored in the body field.
Thank you.
Lorin
Comment #4
c-c-m commentedThanks for the clarification, lorin. Yes, that's exactly what I wanted to say in order to improve this great module.
Best
Comment #5
andrebonfanti commentedsubscribe
Comment #6
lorinpda commented