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


[-- 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 --]

  reply	other threads:[~2012-11-02 15:34 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 [this message]
2012-11-02 15:54     ` Eric Schulte

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=CAHZt45GDSMW5--1a3FSE9R0kybfAw8RMkD1ssiwdT8EyCmT-vA@mail.gmail.com \
    --to=nitinagarwal3006@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pranitha.jasp@gmail.com \
    --cc=schulte.eric@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).