[Klug-general] org2blog problems.

Sharon Kimble boudiccas at talktalk.net
Wed Dec 18 18:02:29 UTC 2013


I have been attempting to use emacs org2blog but am now consistently
getting this error report - 
Contacting host: www.sharons.org.uk:80
xml-rpc-xml-to-response: XML-RPC fault `Incorrect username or password.'

I'm using '.netrc' and this is -
machine host100
myblog A taste of linux
login boudiccas
password rhubarbandcustard

This is the relevant sections in my .emacs -
(setq load-path (cons "~/.emacs.d/elpa/org2blog-20130707.323" load-path))
;; depends on netrc, xml-rpc
(require 'netrc)
(require 'xml-rpc-autoloads)
(require 'org2blog-autoloads)
(require 'metaweblog)

;; load the entry 'A taste of linux' in the ~/.netrc, we obtain a hash-map with the needed data
;; now enter the data in the org2blog list of blogs
(require 'netrc) ;; or nothing if already in the load-path
(setq blog (netrc-machine (netrc-parse "~/.netrc") "A taste of linux" t))
(setq org2blog/wp-blog-alist
      '(("A taste of linux"
         :url "http://www.sharons.org.uk/xmlrpc.php"
         :username (netrc-get blog "login")
         :password (netrc-get blog "password"))))
(add-hook 'org-mode-hook 'org2blog/wp-mode)

Why cant I log on with org2blog please? Is it because either .netrc or
org2blog have a maximum password length please? That’s the only thing
that I can think of as to why it is consistently failing. 

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20131218/698987b8/attachment.pgp>


More information about the Kent mailing list