powered by Jive Software

JEP-nnnn automatic link?

Hi,

we see it with JM-nnn, SPARK-nnn and SMACK-nnn so I wonder whether one wants to write a short forum plugin which converts JEP-nnnn within a post to url=http://www.jabber.org/jeps/jep-nnnn.htmlJEP-nnnn[/url]?

LG

it2000 wrote:

we see it with JM-nnn, SPARK-nnn and SMACK-nnn so I wonder whether one wants to write a short forum plugin which converts JEP-nnnn within a post to url=http://www.jabber.org/jeps/jep-nnnn.htmlJEP-nnnn[/url]?

Good idea, we could do this pretty easily. I’'ll se if I can talk someone in to writing it.

Cheers,

–Bill

bill wrote:
it2000 wrote:

we see it with JM-nnn, SPARK-nnn and SMACK-nnn so I wonder whether one wants to write a short forum plugin which converts JEP-nnnn within a post to url=http://www.jabber.org/jeps/jep-nnnn.htmlJEP-nnnn[/url]?

Good idea, we could do this pretty easily. I’'ll se if I can talk someone in to writing it.

– I can probably jump on that tomorrow, but since I’'ve been spending alot of time in JavaScript, I wrote it first as a Greasemonkey script (http://greasemonkey.mozdev.org/), which you can download / install if you have the Firefox Greasemonkey extension:

http://cephas.net/projects/greasemonkey/jsorg_jep.user.js

If you install it, it will rewrite any text in any message body that looks like a JEP reference to the appropriate JEP url. You could probably modify it to work on any Jabber related site by doing a .replace() on the innerHTML of the document, but this’'ll work for now.

AJ

just a test with JEP-0124 which is a little bit out of date and with XEP-0124 which is the (brand new) name.

Jabber Enhancement Proposal ==> XMPP Extension Protocol

Also a very old thread, but as JM-1000 does no longer create a new link to the JIRA issue one may want to fix the JM-n, SPARK-n and XEP-n issues together.