Command Line posting tool

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
kmars
Posts: 2
Joined: Wed Feb 15, 2006 8:13 pm

Command Line posting tool

Post by kmars »

I have been trying to find a tool that can post from a command line or shell script. We are using Serendipity in a corporate environment as a shift log and have several entries that are the same every day. I would like to automate these entries if possible using a cron job or some such thing. Is there a way to do this with serendipity?

Thanks in advance
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Command Line posting tool

Post by garvinhicking »

You could use the popfetcher / mail2s9y script to blog via e-mail?

S9y also supports XML-RPC based blogging, and I'm sure there would also be commandline tools for that.

Also, with some basic PHP knowledge you could create your own simple tool that just write entries using the Serendipity functions?

Last but not least: You could try to use the serendipity_event_includeentry plugin. This allows you to define "templates" that you can use to start an entry, with pre-defined text.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply