emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Nitin Agarwal <nitinagarwal3006@gmail.com>
Cc: emacs-orgmode@gnu.org, Eric Schulte <schulte.eric@gmail.com>,
	pranitha jasp <pranitha.jasp@gmail.com>
Subject: Re: Regarding org-ehtml feature not working
Date: Fri, 02 Nov 2012 09:54:22 -0600	[thread overview]
Message-ID: <877gq4gfv5.fsf@gmail.com> (raw)
In-Reply-To: <CAHZt45GDSMW5--1a3FSE9R0kybfAw8RMkD1ssiwdT8EyCmT-vA@mail.gmail.com> (Nitin Agarwal's message of "Fri, 2 Nov 2012 20:33:46 +0500")

Please try following the steps listed in this README file.
https://github.com/eschulte/org-ehtml

Note that they do *not* include starting a server with
elnode-make-webserver.  I believe that your problems is that
elnode-make-webserver is creating a server which simply serves the files
for download and you are not actually starting an org-ehtml server.

Hope this helps,

Nitin Agarwal <nitinagarwal3006@gmail.com> writes:

> 1. I downloaded the elnode package and tested it using the my-test-handler
> function on a specific port.
> 2. the elnode server worked fine and the prints the word HELLO! which is
> defined in the my-test-handler function.
> 3. then i installed the package org-plus-contrib-20120928. After the
> installation of the package it showed passed but i failed due appear.
> 4. then i installed the org-ehtml package and then make the server using
> elnode-make-webserver and specified the directory where orgmode files are
> kept.
> then i have to take the handler function defined in the org-ehtml-server.el
> file and get it evalauted in the buffer. the handler function name is
> org-ehtml handler which i mentioned while starting the server for the
> orgmode files.
> 5. after that started the elnode server on the specific port and then when
> i open the localhost on the same specified port then the files present are
> being listed.
> and when i open localhost:port-num/myfile.org if this file present in the
> directory then it asks the user whether to save the file or to open it
> using any editor same as when
> the download option comes when saving files from the browser or so.
>
> So instead of opening the files in the browser as editable web page, it is
> asking us whether to save it or not.
>
> i have attached one document which is written in details as on how to view
> orgmode file as an editable web page.so you can have a look at that for
> reference.
> thanks
>
>
>
> On Fri, Niov 2, 2012 at 5:34 PM, Eric Schulte <schulte.eric@gmail.com>wrote:
>
>> I don't understand what exactly is wrong.
>>
>> Please post step-by-step instructions so that I can reproduce the
>> problem locally.
>>
>> Thanks,
>>
>> Nitin Agarwal <nitinagarwal3006@gmail.com> writes:
>>
>> > Hi,
>> >
>> > When i tried the org mode files to view as editable web page  again on
>> > different pc from scratch then the elnode server is working fine.i have
>> > tested my elnode serve using the test-handler function.but after
>> installing
>> > the org-plus-20120928 and org-ehtml package i am not able to view the the
>> > org-file as editable web page.
>> > and it is asking me to download the file or to open it. the
>> > org-ehtml-handler function did not came and theni took the org-ehtml
>> > function from the source code of
>> > org-ehtml-server.el file and evaluated the org-ehtml function in the
>> buffer.
>> > So help me in identifying the mistake.also tell me the correct
>> > org-ehtml-handler function which i should mention while starting the
>> elnode
>> > server.
>> > kindly reply back with your suggestions.
>>
>> --
>> Eric Schulte
>> http://cs.unm.edu/~eschulte
>>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

      reply	other threads:[~2012-11-02 15:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02 10:19 Regarding org-ehtml feature not working Nitin Agarwal
2012-11-02 12:34 ` Eric Schulte
2012-11-02 15:33   ` Nitin Agarwal
2012-11-02 15:54     ` Eric Schulte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gq4gfv5.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nitinagarwal3006@gmail.com \
    --cc=pranitha.jasp@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).