Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-12-28 12:46:13

pcornelio
Banned
Registered: 2012-12-28
Posts: 1

Can I upload images and text via command line?

Hello,

May I submmit a textpattern command to upload images and text to the Textpattern?
What I wnt to know, is if I could add images and text to the Textpattern disattended.

From the linux line, submit a comand that upload images and/or text.

Is this possible ?, How?

Thanks very much

{Edited to make the title match the topic. – Uli}

Last edited by uli (2013-01-11 22:43:30)

Offline

#2 2012-12-28 13:30:06

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Can I upload images and text via command line?

From command line? No, I’m afraid. Unfortunately Textpattern doesn’t offer CLI interface.

Offline

#3 2012-12-28 16:05:05

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Can I upload images and text via command line?

Did somebody realize a picture import via raw PHP (or transfered into a plug-in)?
Great would be a module/extension to extract IPTC and EXIF metadata from JPEG and import the fields into the/a TXP database. PHP supports extracting & embedding IPTC metadata.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#4 2012-12-30 19:34:43

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,795
Website GitHub

Re: Can I upload images and text via command line?

merz1 wrote:

a module/extension to extract IPTC and EXIF metadata from JPEG and import the fields

Funny, about two or three years ago I started a plugin to do just that. Never finished it. Would be a lot easier nowadays with all the shiny callbacks we have.


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

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB