moblogging
The Flux CMS-Blog supports moblogging (posting blog entries via email or mobile) via the MetaWeblog API. The bxm2m module takes care of fetching mails from a pop3 account and passing them to the appropriate blogs via xmlrpc.
bxm2m
Requirements
A working php5 cli version (bxm2m makes use of simplexml)
Installation
Configuration
contains parameters about the mailserver and account infos and is quite self explaining.
is an xml file containing
elements for every user that is able to moblog through the bxm2m instance. The following attributes can be specified:
- emailuser: name of the user in the field of an incoming email
- bloguser: username to authenticate on the blog
- host: hostname of the blog (i.e. blog.bitflux.ch)
- path: path to the xmlrpc interface (i.e. /blog/xmlrpc.xml)
- port: port to connect to (default 80)
- imgpath: path where to save an image in BxCMS (i.e. imgpath="images" saves the image in /files/images/imagename.ext)
- imgsize: size to scale incoming images
- defaultcat: default category if none given in email
Moblogging
See also the user docs
Directives
- To: The to field must be
username+passwort@host.com
(Username must not be the same as the Blogusername)
- Subject: The Subject field defines the title (overrideable through directives in body)
- body: A line that starts with , or followed by either or can specify the title () or the category () respectively.
#tThis is the title
#cCategory name
And then comes just text ...
This will override the title to `This is the title` and post to the category `Category name` with the text `And then comes just text ...`
Add Comment