Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
;; https://vxlabs.com/2014/05/25/emacs-24-with-prelude-org2blog-and-wordpress/
(setq blog-directory "~/github/kozikow-blog")
(setq org-list-allow-alphabetical t)
(require 'org2blog)
(require 'netrc)
(require 'org2blog-autoloads)
d
(setq org2blog/wp-blog-alist
'(
("wordpress"
:url "https://kozikow.wordpress.com/xmlrpc.php"
:username "kozikow"
:password "YourPasswordOrUseNetrc"
:default-categories ("org2blog" "emacs"))))
(setq org2blog/wp-use-sourcecode-shortcode 't)
(setq org2blog/wp-sourcecode-default-params nil)
(setq org2blog/wp-sourcecode-langs
'("actionscript3" "bash" "coldfusion" "cpp" "csharp" "css" "delphi"
"erlang" "fsharp" "diff" "groovy" "javascript" "java" "javafx" "matlab"
"objc" "perl" "php" "text" "powershell" "python" "ruby" "scala" "sql"
"vb" "xml"
"sh" "elisp" "clojure" "lua"))
(setq org-src-fontify-natively t)
(defalias 'my-wordpress-publish 'org2blog/wp-post-buffer-and-publish)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.