all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs accessing a mediawiki through an "automatice proxy configuration url"?
@ 2007-04-27  3:25 Galen Boyer
  2007-04-27  7:15 ` Tim X
  0 siblings, 1 reply; 6+ messages in thread
From: Galen Boyer @ 2007-04-27  3:25 UTC (permalink / raw)
  To: help-gnu-emacs

I can browse our internal company wiki with w3m but when I hit enter for
editing, emacs does not recognize the editing section of the buffer as
editable.  Any places I can look for customization hints?  Any different
paths I should take? ...

Thanks.

-- 
Galen Boyer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs accessing a mediawiki through an "automatice proxy configuration url"?
  2007-04-27  3:25 Emacs accessing a mediawiki through an "automatice proxy configuration url"? Galen Boyer
@ 2007-04-27  7:15 ` Tim X
  2007-05-13  2:19   ` Galen Boyer
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tim X @ 2007-04-27  7:15 UTC (permalink / raw)
  To: help-gnu-emacs

Galen Boyer <galen_boyer@yahoo.com> writes:

> I can browse our internal company wiki with w3m but when I hit enter for
> editing, emacs does not recognize the editing section of the buffer as
> editable.  Any places I can look for customization hints?  Any different
> paths I should take? ...
>

What you describe sounds like your company's wiki must be using a javascript
based wiki - thats the only reason I can think of that w3m can't be used to
update it. 

I've been thinking about a similar problem lately. I would like to be able to
update our company wiki from within emacs rather than from within another
browser and I'd like a nicer environment than you would get just inside a w3m
form text area. 

A couple of things have come to mind. There is a wiki (PMWiki) which has an
emacs mode you can use to update the wiki. I've not tried it, but I suspect it
might be a good source of ideas for writing some mode that would work with our
company's wiki. 

One of the problems with wikis is that many have now incorporated extensions
beyond the basic/initial wiki markup. This makes a generic wiki mode unlikely.
However, there is also a lot of commonality which we should be able to exploit. 

One idea I've been thinking about is to identify the specific wiki "rules" of
our company wiki and possibly defining a compatible 'publish' mode for emacs
muse-mode. I don't think this would be particularly hard and would provide a
nice environment for creating new pages for the wiki. However, there is also
the requirement of being able to retrieve existing pages and update them. This
would need some sort of reverse translation from the wiki language being used
into muse-mode markup, which you could then edit and re-publish in the markup
the wiki understood. 

emacs 22 has the url package that use to be part of w3 and there are interfaces
to wget and curl, so it shouldn't be too hard to find a way of moving pages
in/out (there is also emacs webdav interface).

I expect it wouldn't be to hard to achieve a nice emacs based mode for editing
a wiki as long as that wiki isn't too feature rich. 

Tim

-- 
tcross (at) rapttech dot com dot au

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs accessing a mediawiki through an "automatice proxy configuration url"?
  2007-04-27  7:15 ` Tim X
@ 2007-05-13  2:19   ` Galen Boyer
  2007-05-19 19:13   ` Lukasz Stafiniak
  2007-05-22 21:45   ` Xavier Maillard
  2 siblings, 0 replies; 6+ messages in thread
From: Galen Boyer @ 2007-05-13  2:19 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, 27 Apr 2007, timx@nospam.dev.null wrote:
> Galen Boyer <galen_boyer@yahoo.com> writes:
> 
>> I can browse our internal company wiki with w3m but when I hit enter
>> for editing, emacs does not recognize the editing section of the
>> buffer as editable.  Any places I can look for customization hints?
>> Any different paths I should take? ...
>>
> 
> What you describe sounds like your company's wiki must be using a
> javascript based wiki

Hm... Okay.  I'll have to research a bit to see if this is the case.

> - thats the only reason I can think of that w3m can't be used to
> update it.
> 
> I've been thinking about a similar problem lately. I would like to be
> able to update our company wiki from within emacs rather than from
> within another browser and I'd like a nicer environment than you would
> get just inside a w3m form text area.
> 
> A couple of things have come to mind. There is a wiki (PMWiki) which
> has an emacs mode you can use to update the wiki. I've not tried it,
> but I suspect it might be a good source of ideas for writing some mode
> that would work with our company's wiki.
> 
> One of the problems with wikis is that many have now incorporated
> extensions beyond the basic/initial wiki markup. This makes a generic
> wiki mode unlikely.  However, there is also a lot of commonality which
> we should be able to exploit.
> 
> One idea I've been thinking about is to identify the specific wiki
> "rules" of our company wiki and possibly defining a compatible
> 'publish' mode for emacs muse-mode. I don't think this would be
> particularly hard and would provide a nice environment for creating
> new pages for the wiki. However, there is also the requirement of
> being able to retrieve existing pages and update them. This would need
> some sort of reverse translation from the wiki language being used
> into muse-mode markup, which you could then edit and re-publish in the
> markup the wiki understood.
> 
> emacs 22 has the url package that use to be part of w3 and there are
> interfaces to wget and curl, so it shouldn't be too hard to find a way
> of moving pages in/out (there is also emacs webdav interface).
> 
> I expect it wouldn't be to hard to achieve a nice emacs based mode for
> editing a wiki as long as that wiki isn't too feature rich.

You've thought alot deeper about this than I.  I'd just like to be able
to use Emacs as my only interface to our wiki, even if I just have a
text box.

I did download the Mozilla extension, 'It's all text".  A different
thread recommended it.  It allowed me to edit the wiki with Emacs but
browse with Mozilla.  Certainly better than no Emacs at all.

-- 
Galen Boyer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs accessing a mediawiki through an "automatice proxy configuration url"?
  2007-04-27  7:15 ` Tim X
  2007-05-13  2:19   ` Galen Boyer
@ 2007-05-19 19:13   ` Lukasz Stafiniak
  2007-05-19 19:32     ` Lukasz Stafiniak
  2007-05-22 21:45   ` Xavier Maillard
  2 siblings, 1 reply; 6+ messages in thread
From: Lukasz Stafiniak @ 2007-05-19 19:13 UTC (permalink / raw)
  To: Tim X; +Cc: help-gnu-emacs

On 4/27/07, Tim X <timx@nospam.dev.null> wrote:
>
> I've been thinking about a similar problem lately. I would like to be able to
> update our company wiki from within emacs rather than from within another
> browser and I'd like a nicer environment than you would get just inside a w3m
> form text area.
>
> A couple of things have come to mind. There is a wiki (PMWiki) which has an
> emacs mode you can use to update the wiki. I've not tried it, but I suspect it
> might be a good source of ideas for writing some mode that would work with our
> company's wiki.

http://pmwiki-mode.sourceforge.net/ Source is not very elegant, but we
have quite a handful of features, and some more ideas waiting for yet
longer days ;-)
One thing is holding us from an official release, that is encoding
issues (handling of out-of-ascii characters).
>
> One of the problems with wikis is that many have now incorporated extensions
> beyond the basic/initial wiki markup. This makes a generic wiki mode unlikely.
> However, there is also a lot of commonality which we should be able to exploit.
>
Our code is quite PMWiki specific...
And we don't yet heavily handle markup (just a bit of highlighting).
Some WYSIWYG is in the wish-list.

> emacs 22 has the url package that use to be part of w3 and there are interfaces
> to wget and curl, so it shouldn't be too hard to find a way of moving pages
> in/out (there is also emacs webdav interface).
>
This is a very nice package, BUT it captures all redirections. I have
modified one of its functions not to follow redirections, just marking
them as such.

> I expect it wouldn't be to hard to achieve a nice emacs based mode for editing
> a wiki as long as that wiki isn't too feature rich.
>
An emacs mode is a must for any serious publishing, and emacs+wiki
makes a nice collaborative editing environment. For example,
pmwiki-mode handles edit conflicts with a three-way ediff (compare
buffers with ancestor).

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs accessing a mediawiki through an "automatice proxy configuration url"?
  2007-05-19 19:13   ` Lukasz Stafiniak
@ 2007-05-19 19:32     ` Lukasz Stafiniak
  0 siblings, 0 replies; 6+ messages in thread
From: Lukasz Stafiniak @ 2007-05-19 19:32 UTC (permalink / raw)
  To: help-gnu-emacs

On 5/19/07, Lukasz Stafiniak <lukstafi@gmail.com> wrote:
> On 4/27/07, Tim X <timx@nospam.dev.null> wrote:
> > One of the problems with wikis is that many have now incorporated extensions
> > beyond the basic/initial wiki markup. This makes a generic wiki mode unlikely.
> > However, there is also a lot of commonality which we should be able to exploit.
> >
> And we don't yet heavily handle markup (just a bit of highlighting).
> Some WYSIWYG is in the wish-list.
>
A great thing would be a configurable (generic) minor mode for folding
"graphical" markup (bold, italic, links, etc.)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs accessing a mediawiki through an "automatice proxy configuration url"?
  2007-04-27  7:15 ` Tim X
  2007-05-13  2:19   ` Galen Boyer
  2007-05-19 19:13   ` Lukasz Stafiniak
@ 2007-05-22 21:45   ` Xavier Maillard
  2 siblings, 0 replies; 6+ messages in thread
From: Xavier Maillard @ 2007-05-22 21:45 UTC (permalink / raw)
  To: Tim X; +Cc: help-gnu-emacs

Hi,

   emacs 22 has the url package that use to be part of w3 and there are interfaces
   to wget and curl, so it shouldn't be too hard to find a way of moving pages
   in/out (there is also emacs webdav interface).

This is what OddMuse[1] does but it is targeted at emacswiki & all only.

[1] http://www.emacswiki.organ/cgi-bin/wiki/OddmuseMode

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-22 21:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27  3:25 Emacs accessing a mediawiki through an "automatice proxy configuration url"? Galen Boyer
2007-04-27  7:15 ` Tim X
2007-05-13  2:19   ` Galen Boyer
2007-05-19 19:13   ` Lukasz Stafiniak
2007-05-19 19:32     ` Lukasz Stafiniak
2007-05-22 21:45   ` Xavier Maillard

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.