SYNOPSIS
bloggerfs [fuse options] <mount point> [options]
DESCRIPTION
BloggerFS is a file system in user space that let you browse you Blogger's blogs, posts and comments. Mainly all files are read only and is not possible to create new ones, but there are special ones that let you add new posts, comments and labels.
Install
BloggerFS requires fuse-python, gdata and zope.interface. All requirements should be installed automatically by pip or distribute.
With pip:
$ pip install bloggerfs
or with distribute:
$ python setup.py install
Posts interaction
Add a post:
cat feed.xml > <mnt>/<blog id>/add_post
or with rst2atom:
rst2atom README.txt > <mnt>/<blog id>/add_post
Remove a post:
rmdir <mnt>/<blog id>/posts/<post id>/
Add a label:
echo label 1 > <mnt>/<blog id>/posts/<post id>/add_label
Add two labels:
echo label 1,label 2 > <mnt>/<blog id>/posts/<post id>/add_label
Comments interaction
Add a comment:
echo hello world > <mnt>/<blog id>/posts/<post id>/add_comment
Add an html comment:
echo hello world > <mnt>/<blog id>/posts/<post id>/add_html_comment
Comments can be removed, just remove the comment directory:
rmdir <mnt>/<blog id>/posts/<post id>/comments/<comment id>/
File system structure
Enjoy the ascii art :)
mnt/ ├── <blog id>/ ├── .../ └── <blog id>/ ├── add_post ├── author/ │ └── 0/ │ ├── email/ │ │ └── text │ ├── name/ │ │ └── text │ └── uri/ │ └── text ├── category/ ├── contributor/ ├── etag ├── id/ │ └── text ├── link/ │ ├── 0/ │ │ ├── href │ │ ├── rel │ │ └── type │ └── ... ├── posts/ │ ├── <post id>/ │ ├── .../ │ └── <post id>/ │ ├── add_comment │ ├── add_html_comment │ ├── add_label │ ├── author/ │ │ └── 0/ │ │ ├── email/ │ │ │ └── text │ │ ├── name/ │ │ │ └── text │ │ └── uri/ │ │ └── text │ ├── category/ │ ├── comments/ │ │ ├── <comment id>/ │ │ ├── .../ │ │ └── <comment id>/ │ │ ├── author/ │ │ │ └── 0/ │ │ │ ├── email/ │ │ │ │ └── text │ │ │ ├── name/ │ │ │ │ └── text │ │ │ └── uri/ │ │ │ └── text │ │ ├── category/ │ │ ├── content │ │ ├── contributor/ │ │ ├── etag │ │ ├── id/ │ │ │ └── text │ │ ├── in_reply_to/ │ │ │ ├── href │ │ │ ├── ref │ │ │ ├── source │ │ │ └── type │ │ ├── link/ │ │ │ ├── 0/ │ │ │ │ ├── href │ │ │ │ ├── rel │ │ │ │ └── type │ │ │ └── ... │ │ ├── published/ │ │ │ └── text │ │ ├── title │ │ └── updated/ │ │ └── text │ ├── content │ ├── contributor/ │ ├── etag │ ├── id/ │ │ └── text │ ├── link/ │ │ ├── 0/ │ │ │ ├── href │ │ │ ├── rel │ │ │ ├── title │ │ │ └── type │ │ └── ... │ ├── published/ │ │ └── text │ ├── title │ └── updated/ │ └── text ├── published/ │ └── text ├── summary ├── title └── updated/ └── text
OPTIONS
-h, --help | show the help message and exit |
-o opt | mount options (can be repeated) |
-e, --email=EMAIL | |
Google account email | |
-p, --password=PASSWORD | |
Google account password | |
-b, --debug | Show debugging info |
--syslog | Log messages to syslog |
-l, --logfile=LOGFILE | |
Log messages to file |