
john.durkin at gmail
Feb 23, 2009, 1:36 PM
Post #10 of 26
(8211 views)
Permalink
|
|
Re: ingesting new stories from alternative CMSes
[In reply to]
|
|
So, this tumblr ingest idea turned out to be harder than I thought, not because of bricolage, but because of a few critical shortcomings on tumblr's part. for instance, some post types on tumblr, notably video and image posts, DON'T HAVE TITLES. it's not that you aren't *required* to put a title, you actually just CAN'T! This means that if one of my users want to create an image or video post, he can only fill in a text caption field. This means that I could just tell my users to only create "regular" type posts. The problem here is that for pics - the only type of post that allows you to have tumblr (temporarily) host the pic is to do a "photo" type post, which leaves you with no title. In a regular post you can add pics, but they need to reside on the web somewhere already and you enter the url. That's not quick or easy (for my users). So then I've been looking at wordpress. I must say I'm impressed with it. It's come a really long way since last time I checked. I've set up an installation of it on the same server as my bric install, and I am considering using it as an alternative front end. You would post through your WP account, then i would have a program on the cron that checks the wp mysql db for new items and makes entries in a new table, "imports," which would keep track of which wp posts have been successfully imported. The cron'd script would then create bric-soap XML to be used to recreate the wp stories in bric, import them, and publish them. There are some difficulties. how would a user entering a post through wp be able to properly "preview" his story? Then I also start to wonder - am I doing something with bricolage that I *can't* do with WP? This is a hard one. Probably there is nothing I *can't* do in wp with a some custom modifications... but of course, I don't really want to do. My main problem with bric always comes down to the user interface. It it obviously fine for me; I'm a programmer who's been working with bric for years... but let's be honest, it's glitchy, incomplete, error prone, too many windows popping up everywhere, and too many options that basic users just don't really even need to know about. I don't want to scrap bric. I can only hope that many of these interface problems will be repaired in the 2.0 release. When is that due out? On Wed, Jan 28, 2009 at 1:46 PM, John Durkin <john.durkin [at] gmail> wrote: > Thanks guys - I'm gonna give it a go. > > On Wed, Jan 28, 2009 at 11:46 AM, David E. Wheeler <david [at] kineticode>wrote: > >> On Jan 28, 2009, at 11:16 AM, John Durkin wrote: >> >> This sounds like it will make the process much easier, but I'm not sure I >>> understand.... Using bric_soap, do a create_story --with-related-media >>> using >>> an XML document that refers to both story and media (as seen from >>> exporting >>> a story with a media), and then for it's ID I just make any old ID up >>> that >>> is consistent within my XML document in referring to the media? >>> >> >> Yes, although I'm not sure you need `--with-related-media` when you're >> creating your story and media document. I know you need it to export a story >> with related media, but IIRC you don't need it when updating or creating. Or >> maybe you do. I can't remember for sure. >> >> can the media be grabbed directly from its url or do i need to grab it >>> and >>> save it locally first, then in my xml point to its local path? or can it >>> remain at its web url? >>> >> >> You need to put it into the XML base-64 encoded. >> >> Best, >> >> David >> >> >
|