Re: [Jmol-users] super-easy method to insert a Jmol applet into a web page or email message

2011-04-07 Thread Robert Hanson
2011/4/7 Angel Herráez 

> Two questions:
>
> 1. I see that is using the unsigned applet. How does it manage to
> access external servers for fetching the files?
>

For the RCSB (&pdbid=), it actually just sends a call back to ITSELF in
the Jmol load command, and then it opens a channel to RCSB and streams the
data back to Jmol (as a gzip file). So no file is ever created on my server.
For NIH it could
do the exact same thing, but instead it gets the data and packages it as a
Jmol load DATA command.


> What ahppens if one specifies &jmolserver= for a different location
> of Jmol files? Will it still work unsigned?
>
>
If you specify &jmolserver for a different location, you need to have the
PHP file there as well. Not sure it would be useful, actually. Well, I guess
if you had a server, too, I could just set &jmolserver to your site and use
mine just for the preliminary call. Probably not that useful.



> 2. I'd like to test this in my server. Can we have a pointer to
> getting the php source?
>
>
Of course, the way PHP works, you can't see the source. If you go to get it,
it runs! I'll send it to you.

Bob



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] super-easy method to insert a Jmol applet into a web page or email message

2011-04-07 Thread Egon Willighagen
On Thu, Apr 7, 2011 at 1:51 PM, Robert Hanson  wrote:
> Otis Rothenberger and I have been working on ways to improve the
> accessibility of Jmol to novice users, and I think we have something. Please
> check this out:
>
> http://chemapps.stolaf.edu/jmol/jmol.php

Nice!

Egon


-- 
Dr E.L. Willighagen
Postdoctoral Researcher
Institutet för miljömedicin
Karolinska Institutet (http://ki.se/imm)
Homepage: http://egonw.github.com/
LinkedIn: http://se.linkedin.com/in/egonw
Blog: http://chem-bla-ics.blogspot.com/
PubList: http://www.citeulike.org/user/egonw/tag/papers

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] super-easy method to insert a Jmol applet into a web page or email message

2011-04-07 Thread Angel Herráez
Two questions:

1. I see that is using the unsigned applet. How does it manage to 
access external servers for fetching the files?
What ahppens if one specifies &jmolserver= for a different location 
of Jmol files? Will it still work unsigned?

2. I'd like to test this in my server. Can we have a pointer to 
getting the php source?






--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] super-easy method to insert a Jmol applet into a web page or email message

2011-04-07 Thread Robert Hanson
fixed!

2011/4/7 Angel Herráez 

> Very promising. Congratulations!
>
> the "popup example" link opens a window with this content:
>
> could not be loaded.
>
> (This is Firefox 3.6 WinXP)
>
>
>
>
>
> --
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] super-easy method to insert a Jmol applet into a web page or email message

2011-04-07 Thread Angel Herráez
Very promising. Congratulations!

the "popup example" link opens a window with this content:

could not be loaded.

(This is Firefox 3.6 WinXP)




--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] super-easy method to insert a Jmol applet into a web page or email message

2011-04-07 Thread Robert Hanson
Otis Rothenberger and I have been working on ways to improve the
accessibility of Jmol to novice users, and I think we have something. Please
check this out:

http://chemapps.stolaf.edu/jmol/jmol.php

it works for email as well. For example:

 http://chemapps.stolaf.edu/jmol/jmol.php?model=taxol


or

http://chemapps.stolaf.edu/jmol/jmol.php?model=taxol&width=500&script=background%20white%3Bspin%20on


comments? suggestions?

Bob

-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users