7 ms·
Quick recipe to make a blog post from the command line. $ cat - > newblogpost.txt type in what you have to say ^D Use pandoc to convert the text b
by btbytes 16y ago
Quick recipe to make a blog post from the command line.
$ cat - > newblogpost.txt
type in what you have to say
^D
Use pandoc to convert the text bits to html bits
$ pandoc newblogpost.txt -f markdown -t html -o newblogpost.html --no-wrap
Upload the transformed bits to blogger using the Google Command Line tool.
$ google blogger post --title "Hello, world!" newblogpost.html
And you are done!
You can see the result here: http://btbytes.blogspot.com/2010/06/how-to-make-quick-blogpost-to-blogger_6658.html http://btbytes.blogspot.com/2010/06/how-to-make-quick-blogpo...