[support] I can't believe you can't add content from the command line...

Gerhard Killesreiter gerhard at killesreiter.de
Mon Jul 3 09:01:41 UTC 2006


dondi_2006 wrote:

> I refuse to not use these *real* programs full-screen, in favour of some crippled text editor, or to paste _manually_, every time, what I
> just wrote in a real word processor in a box slightly bigger than a
> cell phone display.
> I am looking for  a script solution so I can then connect it to a macro
> inside a word processor, or a local cron job. Without ever looking to
> any "blogging client" or web interface.


You may want to try the mozex extension for firefox, it allows you to 
use an external programm to write and edit what goes into a html textfield.

> 
> Enough ranting. Some practical comments:
> 
> Laura wrote:
> 
>> The reason this is not just a matter of inserting content into a
>> table is because Drupal uses more than one table to manage the site.
> 
> I was aware of this, but was hoping to find some Python or Perl
> modules already doing the low level work of knowing such tables and
> updating them.
> 
> Eric wrote:
>> Have a look at the mailhandler.module, which allows creation of
>> content from email. This is probably the closest thing to what you're
>> after, and could probably be modified to create content from the
> <filesystem.
> 
> I had already looked at mailhandler. I was trying to not use it
> because adding another server (IMAP) or modifying the configuration of
> the existing one looked "dirty" and prone to security holes (extra
> accounts, etc...). As I said, I'd rather upload stuff via ssh than
> email. But you're probably right, if mailhandler can be hacked to run
> on the local file system it _could_ be a solution.


mailhandler can read from the local filesystem, but the input has to be 
in mbox format.


Cheers,
	Gerhard


More information about the support mailing list