This question already has an answer here:
I want to store the credentials for posting to my blog secret. Therefore I load them using EasyPG and put them in the variables
When I show the content of those vars using
C-h v blog-username (
describe-variable) the values are correct.
However when I set the
wp-blog-alist value those values seem to not be parsed. This is the error message:
xml-rpc-value-to-xml-list: Wrong type argument: stringp, blog-username
Here is how I use the function.
(setq org2blog/wp-confirm-post t org2blog/wp-blog-alist '( ("0xcb0" :url "http://www.my_blog_address.com/xmlrpc.php" :username blog-username :password blog-password :default-title "Hello, World!" :default-categories ("Uncategorized") :tags-as-categories nil) ))
What syntax do I need to use inside the second