Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2008-05-18 14:08:26

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: the vim editor (vim.org) and textpattern


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2008-05-18 14:09:16

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#5 2008-05-18 15:57:24

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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_data login = "" # 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

#8 2008-05-18 21:03:27

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

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

#10 2008-05-18 22:00:12

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

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?

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

Board footer

Powered by FluxBB