It is quite easy to add rss to the html in the test script and get info
together from various sources as you see fit.

Like here I have added dilbert and oil in real time graph

----------------------- test5.ijs

coclass'test5'
coinsert'jhs'
HBS=: 0 : 0
jhh1'hello world'
jhbr
text
)
create=: 3 : '''hello''jhr'''''
jev_get=: create

text=: 0 : 0
<html>

<head>
<title>The Magic of J</title>
</head>

<body>

  <h2>How to use Browser <font face=monospace>from J</font> ...</h2>
  <p>Labs<br>
     Demos<br>
     Tutorials<br>
     Forums<br>
     Games</p>
  <p>This page is (C) Copyright 2008-2037 Björn Helgason. All rights
reserved.</p>
  <p>Portions of this program use J Utils -- J software.<br/>
  (C) Copyright ISI :
  <a target=_blank href="http://jsoftware.com/zippy.htm";>
  http://jsoftware.com/zippy.htm</a></p>
  <p>Provided AS IS. Guaranteed for demos.</p>
<script type="text/javascript"
src="http://www.oil-price.net/TABLE2/gen.php?lang=en";>
</script>
<noscript> To get the WTI <a href="
http://www.oil-price.net/dashboard.php?lang=en#TABLE2";> oil price</a>,
please enable Javascript.
</noscript>
<table>
<tr><td>0</td><td>1</td></tr>
<tr><td>2</td><td>3</td></tr>
</table>
<a href="http://dilbert.com/strips/comic/2011-03-14/";
title="Dilbert.com"><img src="
http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/100000/10000/5000/800/115809/115809.strip.gif";
border="0" alt="Dilbert.com" /></a>
</body></html>
)


----------------------- end test5.ijs

Then load and show

load '~Projects/testjhs/test5.ijs'
http://127.0.0.1:65001/test5
<http://127.0.0.1:65001/test5>

2011/3/12 Devon McCormick <[email protected]>

> Brian -
>
> thanks, but I basically just lifted this from an essay Gosi posted to the J
> Googlegroup as I thought it deserved wider notice as well.  He's really the
> one who deserves credit for this.
>
> I'm not waiting for anything except maybe 30 hours in a day, so please feel
> free to start a page and refer to this example.
>
> Regards,
>
> Devon
>
> On Sat, Mar 12, 2011 at 8:17 AM, Brian Schott <[email protected]
> >wrote:
>
> > Devon,
> >
> > http://www.jsoftware.com/jwiki/NYCJUG/2011-02-08/HelloWorldInJHS
> >
> >        I just read your Hello World example and your grid
> > example of JHS scripts from NYJUG. You have exposed a great
> > deal of the subtlety of making JHS scripts work. Thank you
> > for posting that most valuable demo. I believe your
> > information belongs in a much more prominent document such
> > as one of the next, which do not exist. Or maybe you and we
> > are waiting for more complete documentation for JHS to
> > emerge?
> >
> > http://www.jsoftware.com/jwiki/Guides/JHS%20IDE
> > http://www.jsoftware.com/jwiki/Guides/JHS%20Projects
> >
> >
> >
> >
> > --
> >
> > (B=)
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to