emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Regarding org-ehtml feature not working
@ 2012-11-02 10:19 Nitin Agarwal
  2012-11-02 12:34 ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Nitin Agarwal @ 2012-11-02 10:19 UTC (permalink / raw)
  To: Eric Schulte, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

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.



-- 
*Nitin Agarwal*

[-- Attachment #2: Type: text/html, Size: 896 bytes --]

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

* Re: Regarding org-ehtml feature not working
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2012-11-02 12:34 UTC (permalink / raw)
  To: Nitin Agarwal; +Cc: emacs-orgmode

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

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

* Re: Regarding org-ehtml feature not working
  2012-11-02 12:34 ` Eric Schulte
@ 2012-11-02 15:33   ` Nitin Agarwal
  2012-11-02 15:54     ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Nitin Agarwal @ 2012-11-02 15:33 UTC (permalink / raw)
  To: Eric Schulte, emacs-orgmode; +Cc: pranitha jasp


[-- Attachment #1.1: Type: text/plain, Size: 2885 bytes --]

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
>



-- 
*Nitin Agarwal*
Computer Science and Engineering Student
International Institute of Information Technology
Gachibowli, Hyderabad 500 032
Andhra Pradesh, India
Phone : +91-9573572831
E-mail: nitinagarwal3006@gmail.com <nitinagarwal1992@gmail.com>
           *nitin.agarwal@students.iiit.ac.in*

[-- Attachment #1.2: Type: text/html, Size: 3789 bytes --]

[-- Attachment #2: org-ehtml.pdf --]
[-- Type: application/pdf, Size: 160826 bytes --]

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

* Re: Regarding org-ehtml feature not working
  2012-11-02 15:33   ` Nitin Agarwal
@ 2012-11-02 15:54     ` Eric Schulte
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Schulte @ 2012-11-02 15:54 UTC (permalink / raw)
  To: Nitin Agarwal; +Cc: emacs-orgmode, Eric Schulte, pranitha jasp

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

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

end of thread, other threads:[~2012-11-02 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).