Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 Yesterday 15:10:52

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 105

A Christmas Wish - multi-media content upload UI with tagging

Hello all, long time! I’m unsure if this exists atm but I’m interested in being able to spontaneously upload multi-media to a txp database for a pending site. Since the site wouldn’t exist ‘yet’ in authorship but would be a domain, the tags would be so I can later sort through what I uploaded by filtering a gallery or have only certain tagged objects available for certain page types/article types.

I’m terrible at code so I have to explain this the long way – I’d like to accumulate food blog content. I love the stuff and since Textpattern once powered my old FoodNewsie dot … I’ve been anxious ever since to do something again. Now I’m in Germany and website laws are different and photography is different and privacy is different so I snuff a lot of ideas. But I’d still love to try. A chef video, a time lapse video, a recipe, food photos, an audio interview, quick snack pic

It’s very elementary until I want to upload it by phone. Then everything is microscopic in the Textpattern UI. My thought is that Textpattern’s use today might now include an easy app that I take time to configure for field use like so many massive content websites. Does such a thing exist? Can I realistically configure the setup of such a thing? ex As goofy as Instagram can be, it’s so easy to share content on the move.

FoodNewsie was a labor of love. Every serious post took hours to arrange and get online and that was with a now ancient template (Aperture, I think, which was brilliant). I’d like something much more spontaneous and I’ll only deal with Textpattern. It’s love.


Voice Actor – starting up a site for that good book stuff. BryanDoesBooks in some spots

Offline

#2 Yesterday 15:50:14

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,601
Website GitHub

Re: A Christmas Wish - multi-media content upload UI with tagging

That’s a really interesting project.

I’m of the opinion that a lot of stuff like this can be handled with plugins and a dashboard, to help transform incoming data from various forms. It’s not a quick route, but Txp is more than capable of taking “stuff” you upload to a dashboard page and diverting it to various tables that conform to the way data is stored inside Article containers. Then your templates take over and show your ideas to the world.

“Desktop blogging” offers something akin to what you outline, so you might try installing something like MarsEdit. Enable the RPC server inside Txp’s Prefs and you can then configure third-party desktop blogging software that supports the MovableType API or Metaweblog API to interact with Txp. I think we support both, to some degree.

However…

At the moment, our integration is basic at best. For example, we have recently added support for uploading images but not for attaching them to articles so you need to do that bit manually inside Txp. And we don’t (yet) have support for attaching custom field data, which is annoying. It’s something I’d definitely like to offer.

Looking forward with development, Txp 5.0 sounds like it’ll be a match made in heaven for your content because we are introducing the concept of custom content types. So you could create different ‘types’ of content – a podcast, a video blog post, a recipe, etc – and create an article of that ‘type’ with its own set of custom fields. So, come the revolution when we bolster the RPC server capabilities (which I’d like to do in tandem with Txp 5 development) you may be able to get close to the above dream.

I don’t really know the full capabilities of the various APIs yet as I need to devote some time to grokking what’s possible, but my goal is to make it easier for Txp to consume content from sources other than the Admin Interface and have it update the database internally as if you had been using the UI.

I have a project I’m working on at the moment which will need this kind of functionality – a glorified webhook which sits there listening for incoming requests – and when triggered with an authenticated request, does “stuff” as commanded by the incoming request. For example, insert or update articles, upload images, configure categories, fetch article fields and display them, and so forth.

If you would like to discuss your requirements in more detail, feel free to jot them here for the community to offer advice, or drop me an email privately if that’s more your thing. We may be able to assist with getting you some of the way there already, and your feedback may well steer some of the direction that we take Textpattern 5


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Online

#3 Yesterday 19:18:19

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,324
Website GitHub

Re: A Christmas Wish - multi-media content upload UI with tagging

If it fits your plans to first gather content and then later do something with it via Textpattern, another idea might be to use a tool or platform that can already handle the gathering and that has an API that you can use to extract data about the content – or retrieve the actual content – for later use in Textpattern.

I’ve used Dropmark for this in the past. In my case it was a knowledge base. The organisation uploaded PDFs, documents and links to websites, tagged them according to a scheme and added summaries where necessary. I devised a system of prefixes to be able to filter out certain types of keywords more cleanly from the general keywords, and the Dropmark UI will recognize previously used tags to speed up tagging. It also has a mobile app and browser extension for easier use.

With bloke’s help I then used the Dropmark API to retrieve the data on the stored items and built a knowledge base from that using Textpattern. In my use case, the actual files are still stored on Dropmark, and Textpattern provides the custom front end for searching the collection and accessing the collection. Another reason why I opted for that was because Dropmark automatically handled making preview images of the PDFs. If you’re interested, I can send you a link.

BTW: as you have probably surmised, be careful about reposting food imagery. There are unscrupulous lawyers out there hunting for re-used images from recipe platforms, and they charge eye-watering fees for IP violations. It’s not worth the hassle.

Greetings from a little down the road from you :-)


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB