ADDED HOME PAGE

30 views
Skip to first unread message

jekin trivedi

unread,
Mar 7, 2010, 4:38:13 AM3/7/10
to opencog-d...@googlegroups.com
Hello ,

I have just added HomePage for opencog Web UI

I had first decided to generate the homepage by creating a separate HomePage.cc file & doing all stuff with it

However i realised that it would be more better if i create the file in html & then call the various operaion from it this is advantageous because of following reasons :

1) It will make our homepage part Independent of platform
2) also will reduce the overhead in time needed 2 execute the .cc file to get the derived html

I hope i am right on the above points

if however i am not or u need the homepage 2 generate in .cc please let me know i will make the code for it or else i can give the one i had started for someone who wants to do it

I will soon add the support for addAtom & Update Atom to the html files

u can get the files on : https://code.launchpad.net/~jekintrivedi/opencog/opencog

Best REGARD

JEKIN TRIVEDI
 
Screenshot.png
Screenshot-1.png
Screenshot.png
Screenshot-2.png
Screenshot-4.png
Screenshot-3.png

jekin trivedi

unread,
Mar 7, 2010, 4:47:53 AM3/7/10
to opencog-d...@googlegroups.com
forgot to add use the URL to open the homepage after running cogserver :


http://localhost:17034/home.html

Joel Pitt

unread,
Mar 10, 2010, 7:17:58 PM3/10/10
to jekin trivedi, OpenCog Developers
On Thu, Mar 11, 2010 at 7:25 AM, jekin trivedi <jekint...@gmail.com> wrote:
> I have created a form to pass the required data using post method
>
> But what happens is what ever data that is passed using post method is
> translated as we all know in following way : "Thanks for the help!" :
> "Thanks%20for%20the%20help%21"
>
> what happens is the json atom parser will thinks this as an error in json
> syntax
>
> However i have used a addon named Tamper Data which is used 2 modify the
> post data & when i enter the un translated data there it works .
>
> So the best way i can think out of this problem is to write a method to
> translate the message into appropriate pure text form

Yeah, that's something I didn't consider at the time... It might be
worth checking if the Mongoose web server has any utility functions to
decode the www-urlencoding since it's a pretty standard thing to deal
with. If not, then feel free to create a utility method that
translates a string... either from an existing library or from
scratch.

Cheers,
Joel

Joshua Herman

unread,
Mar 10, 2010, 7:22:53 PM3/10/10
to opencog-d...@googlegroups.com

Proofread the website using a spell checker there are obvious mistakes.

On Mar 7, 2010 3:47 AM, "jekin trivedi" <jekint...@gmail.com> wrote:

forgot to add use the URL to open the homepage after running cogserver :


http://localhost:17034/home.html





On Sun, Mar 7, 2010 at 3:08 PM, jekin trivedi <jekint...@gmail.com> wrote:
>
> Hello ,
>

> I...

Joel Pitt

unread,
Mar 10, 2010, 7:28:28 PM3/10/10
to opencog-d...@googlegroups.com
On Thu, Mar 11, 2010 at 1:22 PM, Joshua Herman <zitterb...@gmail.com> wrote:
> Proofread the website using a spell checker there are obvious mistakes.

Care to submit a patch or point out what they are?

Perhaps even indicate if you mean the wiki or Jekin's web UI?

Thanks,

Joel

Joshua Herman

unread,
Mar 10, 2010, 7:30:44 PM3/10/10
to opencog-d...@googlegroups.com

Home.html has information spelled wrong

On Mar 10, 2010 6:28 PM, "Joel Pitt" <joel...@gmail.com> wrote:

On Thu, Mar 11, 2010 at 1:22 PM, Joshua Herman <zitterb...@gmail.com> wrote:

> Proofread the web...

Care to submit a patch or point out what they are?

Perhaps even indicate if you mean the wiki or Jekin's web UI?

Thanks,

Joel


--
You received this message because you are subscribed to the Google Groups "OpenCog Developers" ...

jekin trivedi

unread,
Mar 10, 2010, 9:51:23 PM3/10/10
to opencog-d...@googlegroups.com
ok will see Home.html for spelling mistakes

thanks  for notifying  joshua  :) ..........

Best Regards
Jekin Trivedi

--
You received this message because you are subscribed to the Google Groups "OpenCog Developers" group.
To post to this group, send email to opencog-d...@googlegroups.com.
To unsubscribe from this group, send email to opencog-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opencog-developers?hl=en.

Reply all
Reply to author
Forward
0 new messages