Here's a simple post to test out rst2blogger to generate blog entries
in blogger using restructured text.
Along the way I had to deal with some upstream weirdness in the python gdata bindings. The first is that the usual https_proxy="user:pass@proxyname.company.com:80" format doesn't work. Instead separate proxy_username and proxy_password variables are needed. There is a bug report for this one that says it's been fixed (https://code.google.com/p/gdata-python-client/issues/detail?id=414), but it's not working for me. The second is that the BLOG_ID2_PATTERN regex that is used to find the blog ID needs to be updated if your blog ID looks like user-g\d+ instead of user-\d+ (https://code.google.com/p/gdata-python-client/issues/detail?id=578). Oops.
Along the way I had to deal with some upstream weirdness in the python gdata bindings. The first is that the usual https_proxy="user:pass@proxyname.company.com:80" format doesn't work. Instead separate proxy_username and proxy_password variables are needed. There is a bug report for this one that says it's been fixed (https://code.google.com/p/gdata-python-client/issues/detail?id=414), but it's not working for me. The second is that the BLOG_ID2_PATTERN regex that is used to find the blog ID needs to be updated if your blog ID looks like user-g\d+ instead of user-\d+ (https://code.google.com/p/gdata-python-client/issues/detail?id=578). Oops.
No comments:
Post a Comment