Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-11-02 10:17:45

Kossatsch
Member
From: St. Wolfgang
Registered: 2004-04-01
Posts: 198
Website

[howto] Make JustBlogIt! work with Textile

Many TXP-users may know the Gecko-extension JustBlogIt!.

Unfortunately, it ignores Textile, it simply produces HTML stuff, such as < a title=”…” href=”…”&gt; etc. pp.

To change this behaviour, you can do the following steps

  1. look for the chrome_-directory of your local Gecko installation (with Linux under .mozilla, with Windows it should be _Documents and Settings/Mozilla)
  2. unpack there justblogit.jar
  3. open with an text editor the file justblogit.js in the directory /content/justblogit/
  4. look for the string case 7
  5. replace the line
    var post_html = "<a title=\"" + item_title + "\" href=\"" + item_url + "\">" + item_title + "</a>\n\n" + item_text;
    with
    var post_html = "\"" + item_title + "\":" + item_url + \n\n" + item_text;
  6. save it and pack it again

You should have made a backup of justblogit.jar before, of course. Feedback of Microsoft-Users is welcome, as with Linux I did not have major problems unpacking and packing jar-Files.

German visitors look here

Last edited by Kossatsch (2004-11-02 16:48:09)


txp at irox.de since spring 2004 (g1.17) & at roxomatic since 2006.

Offline

#2 2005-01-20 17:55:47

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: [howto] Make JustBlogIt! work with Textile

Thanks Kossatsch, it’s nice :-))

I’ll try this !!!
And report since I am running WinXP + FireFox

Last edited by davidm (2005-01-20 17:56:20)


.: Retired :.

Offline

#3 2005-01-20 19:19:40

Kossatsch
Member
From: St. Wolfgang
Registered: 2004-04-01
Posts: 198
Website

Re: [howto] Make JustBlogIt! work with Textile

Actually, I use

var post_html = "bq. " + item_text + \n\n  + "\"" + item_title + "\":" + item_url + \n\n" + item_text;

Marked text becomes automatically quoted.


txp at irox.de since spring 2004 (g1.17) & at roxomatic since 2006.

Offline

#4 2005-02-01 16:55:22

Kossatsch
Member
From: St. Wolfgang
Registered: 2004-04-01
Posts: 198
Website

Re: [howto] Make JustBlogIt! work with Textile

To make things easier, simply replace the file justblogit.jar with this version

Last edited by Kossatsch (2005-02-01 16:55:49)


txp at irox.de since spring 2004 (g1.17) & at roxomatic since 2006.

Offline

#5 2005-02-01 17:46:18

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 141
Website

Re: [howto] Make JustBlogIt! work with Textile

I’m on Firefox on Win2000: I found the justblogit.jar in the Extensions folder in my Firefox folder within the Documents and Settings/users etc.

EDIT: C:\Documents and Settings\[username]\Application Data\Mozilla\Firefox\Profiles\default.zx9\extensions\{711EDCB6-46ED-4fcf-854E-EBC6699F6BC7}\chrome

And it works. Thanks.

Last edited by mistersugar (2005-02-01 17:48:22)

Offline

#6 2005-02-01 23:32:30

Baseline_Benny
Archived Plugin Author
From: Brisbane, Australia.
Registered: 2004-06-01
Posts: 15
Website

Re: [howto] Make JustBlogIt! work with Textile

hmmm. delicious. This is great. thanks for the work.


Life is what you make it… if nothing changes, nothing changes.
Web hosting http://dynamicwebhosting.com.au/
Web dev & marketing http://wallishamilton.com/

Offline

Board footer

Powered by FluxBB