I've been playing around with the Blogging bundle the past few days, because I recently updated my weblog app, SimpleLog[1], with full XML-RPC API support. Most people will use MarsEdit and the like, but I live in TextMate so I'd like to use it if possible. But I have some weird problems.
The first, is that the blog setup suggests writing the endpoint URL as http://username@site.com, but usernames for my weblog app are email addresses, so this doesn't work (http://user@site.com@site.com obviously won't work). Now, if you don't put the username and @ sign in the setup, the Blogging bundle will ask you for your username when connecting, but with a few problems:
1. It will say '--button1' in the field when it prompts you. 2. It won't remember your username and will keep asking you (it does, however, remember you password).
Now, it does allow you to connect, and that's great. However, there is an issue when posting/updating posts. While it does successfully post and update, it also ALWAYS errors. The first line becomes:
2006-08-25 12:07:00.341 open[4844] No such file: /Users/garrett/Library/Preferences/this_is_a_test_yep
Now, the error is different depending on the user, setup, etc. But it's something like this. In this case, garrett is my username (obviously), and this_is_a_test_yep is the permalink for this post.
What's causing this?
I'd like to get everything working smoothly so I can promote this functionality in SimpleLog. Help would be appreciated.
Also, on a side note--I'm sure this has been addressed, but it's a little annoying to have to have a file open before being able to fetch posts...
Thanks again, g
[1]: http://simplelog.net
On 25/8/2006, at 18:16, G M wrote:
[...] Most people will use MarsEdit and the like [...]
How do you know that? <http://www.googlefight.com/index.php?word1=% 22blogging+from+marsedit%22&word2=%22blogging+from+textmate%22> :)
The first, is that the blog setup suggests writing the endpoint URL as http://username@site.com, but usernames for my weblog app are email addresses, so this doesn't work (http://user@site.com@site.com obviously won't work) [...]
I added an URL-decoding step after extracting the username/password. So with the latest version you should be able to use http://user% 40site.com@site.com.
- It will say '--button1' in the field when it prompts you.
Is this posting, fetching, or both? I tried configuring an end-point w/o a username but saw no irregularities.
- It won't remember your username and will keep asking you (it does,
however, remember you password).
It could pre-populate the string with the previous username. But it should of course keep asking for it when no explicit name is set in the post or the configuration.
Now, it does allow you to connect, and that's great. However, there is an issue when posting/updating posts. While it does successfully post and update, it also ALWAYS errors. The first line becomes:
2006-08-25 12:07:00.341 open[4844] No such file: /Users/garrett/Library/Preferences/this_is_a_test_yep
Now, the error is different depending on the user, setup, etc. But it's something like this. In this case, garrett is my username (obviously), and this_is_a_test_yep is the permalink for this post.
What's causing this?
I have no idea. Does fetching also give that error?
Allan,
Garrett talked to me about these issues in the channel earlier today. See my notes below...
On Aug 25, 2006, at 10:47 PM, Allan Odgaard wrote:
On 25/8/2006, at 18:16, G M wrote:
The first, is that the blog setup suggests writing the endpoint URL as http://username@site.com, but usernames for my weblog app are email addresses, so this doesn't work (http://user@site.com@site.com obviously won't work) [...]
I added an URL-decoding step after extracting the username/ password. So with the latest version you should be able to use http://user%40site.com@site.com.
Thanks -- I was going to do this myself, but you beat me to it!
- It will say '--button1' in the field when it prompts you.
Is this posting, fetching, or both? I tried configuring an end- point w/o a username but saw no irregularities.
I fixed this issue not that long ago -- perhaps he has a build of TM that still has the bug.
- It won't remember your username and will keep asking you (it does,
however, remember you password).
It could pre-populate the string with the previous username. But it should of course keep asking for it when no explicit name is set in the post or the configuration.
Now, it does allow you to connect, and that's great. However, there is an issue when posting/updating posts. While it does successfully post and update, it also ALWAYS errors. The first line becomes:
2006-08-25 12:07:00.341 open[4844] No such file: /Users/garrett/Library/Preferences/this_is_a_test_yep
Now, the error is different depending on the user, setup, etc. But it's something like this. In this case, garrett is my username (obviously), and this_is_a_test_yep is the permalink for this post.
What's causing this?
I have no idea. Does fetching also give that error?
He was populating the permaLink element of the post structure without a full URL. That's something he said he would fix on his end.
Yeah, sorry this message hit the server well after I talked to Brad about this stuff... it took nearly 5 hours for this message to show up on the mailing list (is that normal?)
All of these issues have been resolved, including the last one which was my mistake.
Thanks again, g
On 8/26/06, Brad Choate bchoate@gmail.com wrote:
Allan,
Garrett talked to me about these issues in the channel earlier today. See my notes below...
On Aug 25, 2006, at 10:47 PM, Allan Odgaard wrote:
On 25/8/2006, at 18:16, G M wrote:
The first, is that the blog setup suggests writing the endpoint URL as http://username@site.com, but usernames for my weblog app are email addresses, so this doesn't work (http://user@site.com@site.com obviously won't work) [...]
I added an URL-decoding step after extracting the username/ password. So with the latest version you should be able to use http://user%40site.com@site.com.
Thanks -- I was going to do this myself, but you beat me to it!
- It will say '--button1' in the field when it prompts you.
Is this posting, fetching, or both? I tried configuring an end- point w/o a username but saw no irregularities.
I fixed this issue not that long ago -- perhaps he has a build of TM that still has the bug.
- It won't remember your username and will keep asking you (it does,
however, remember you password).
It could pre-populate the string with the previous username. But it should of course keep asking for it when no explicit name is set in the post or the configuration.
Now, it does allow you to connect, and that's great. However, there is an issue when posting/updating posts. While it does successfully post and update, it also ALWAYS errors. The first line becomes:
2006-08-25 12:07:00.341 open[4844] No such file: /Users/garrett/Library/Preferences/this_is_a_test_yep
Now, the error is different depending on the user, setup, etc. But it's something like this. In this case, garrett is my username (obviously), and this_is_a_test_yep is the permalink for this post.
What's causing this?
I have no idea. Does fetching also give that error?
He was populating the permaLink element of the post structure without a full URL. That's something he said he would fix on his end.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate