Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-05-18 13:59:13
- alex9142
- Member
- Registered: 2008-03-17
- Posts: 45
the vim editor (vim.org) and textpattern
Hi!
I am trying to use a tip for use the Vim editor on Textpattern . You can read the tip in this link >> Blogging from VIM
And the VIM sript can be dowbloaded in this link >> vimblog
Unhappilly, I can’t finf where the xmlrpc.php file is located on the textpattern instalation. Does it have another name? Anyone can give me a hand? Thank you, brothers n sisters!
Offline
Re: the vim editor (vim.org) and textpattern
Offline
Re: the vim editor (vim.org) and textpattern
You can download the xmlrpc package separately from the download page
oops, Julián was quicker
Last edited by ruud (2008-05-18 14:09:56)
Offline
#4 2008-05-18 15:50:26
- alex9142
- Member
- Registered: 2008-03-17
- Posts: 45
Re: the vim editor (vim.org) and textpattern
Hi Julián! Hi Ruud!
Thank you for helping me! Hope that the vim works fine for me too.
Offline
Re: the vim editor (vim.org) and textpattern
If not, there’s always emacs ;)
Offline
#6 2008-05-18 16:13:24
- alex9142
- Member
- Registered: 2008-03-17
- Posts: 45
Re: the vim editor (vim.org) and textpattern
Hi Ruud!
Unhappily the Vim editor doesn’t work for me… I use a Vim version for Windows Xp . Can this be the problem?
This is what we need to change:
# class variables for personnal data. Please change them accordingly. # CHANGE HERE: def get_personal_datalogin = "" # insert your login here
passwd = “” # insert your password here
site = "" # insert your blog url here, but do not use http://
xml = “/xmlrpc.php” # change if necessary
port = 80 # change if necessary
blog_id = 0
@user = 1
end
In the @xml = “ “ I wrote this: “rpc/index.php “
Is this wrong?
Offline
#7 2008-05-18 16:15:25
- alex9142
- Member
- Registered: 2008-03-17
- Posts: 45
Re: the vim editor (vim.org) and textpattern
more:
this is what I get on Vim:
E492: Not an editor command: Blog rp
Offline
Re: the vim editor (vim.org) and textpattern
That sounds like the blog script is not being properly sourced. Is your vim version compiled with Ruby scripting support? There seems to be a binary here but I haven’t used it.
Shoving is the answer – pusher robot
Offline
#9 2008-05-18 21:41:41
- alex9142
- Member
- Registered: 2008-03-17
- Posts: 45
Re: the vim editor (vim.org) and textpattern
Hi Patrick!
Thank you for sending us (me) the link. Unhappily, the link for the download is broken. Do you know any tip for me to know if my Vim installation (on Windows) has the ruby ?
Offline
Re: the vim editor (vim.org) and textpattern
alex9142 wrote:
You can read the tip in this link >> Blogging from VIM
Pedro lives in VIM, here’s a Twitter client.
Alex, have you installed Ruby on Windows?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#11 2008-05-18 23:25:39
- alex9142
- Member
- Registered: 2008-03-17
- Posts: 45
Re: the vim editor (vim.org) and textpattern
Hi Bert Garcia!
I discovered that I have the ruby scripting support working on my gVim instalation. There is a menu called “Tools”:
Tools > Definir Compilador > Ruby > Rubyunit
So, the problem must be the configuration in the vimblog script.
By the way, I also have the Ruby-186-26 installed on Windows.
Thank you!
Offline
#12 2008-05-19 00:24:11
- alex9142
- Member
- Registered: 2008-03-17
- Posts: 45
Re: the vim editor (vim.org) and textpattern
Hi everybody!
I think that I am making progress. Now the vim shows me a message. I’ve sent the snapshot to imageshack:
http://img146.imageshack.us/img146/849/snapshotvimaw3.jpg
Offline