• Re: Synchronet Javascript

    From Ktulu@VERT/ROI to Tracker1 on Wed Apr 16 01:14:00 2008
    Re: Re: Synchronet Javascriptã By: Tracker1 to Ktulu on Tue Apr 15 2008 11:13 amããHey thanks a lot for the pointers, I appreciate it. I guess if I would haveãpoked around enough and RTFM I woudl have found out how to do it. Thanksãagain!!!!ãã--ãJimã---ã þ Synchronet þ Realm of Insanity telnet://roi.synchro.netã
  • From Zero Reader@VERT/ALKY to KenDB3 on Thu Jul 28 08:22:00 2016
    On 07/27/16, KenDB3 said the following...ã ã Ke> For reference, I am trying to grab the data found here:ã Ke> http://www.hamqsl.com/solarxml.phpããI made a mod for my board using that very same feed. I did it in Python withãthe xmltodict module and just have it outputting an ANSI file that I thenãdisplay on the board. Piece of cake!ãã--- Mystic BBS v1.12 A30 (Raspberry Pi)ã * Origin: Alcoholiday / Est. 1995 / alco.bbs.ioã
  • From Zero Reader@VERT/ALKY to KenDB3 on Thu Jul 28 09:47:00 2016
    On 07/27/16, KenDB3 said the following...ã ã Ke> For reference, I am trying to grab the data found here:ã Ke> http://www.hamqsl.com/solarxml.phpããI didn't do this with java, but I thought you might get a kick out of theãoutput:ãã.-----------------------------------------------------------------------------.ã| Current Solar-Terrestrial Data, Updated: 28 Jul 2016 1424 GMT |ã+-----------------------------------------------------------------------------+ã| Solar Flux Index : 71 Electron Flux : 4.41e+01 |ã| A Index : 4 Aurora : 1/n=1.99 |ã| K Index : 2 Mag. Field (Bz) : 1.8 |ã| X-ray : A5.8 Solar Wind : 393.8 |ã| Sunspot Number : 0 Geomagnetic Field : QUIET |ã| Helium Line (304A) : 110.6 @ SEM Signal Noise : S1-S2 |ã| Proton Flux : 2.10e-01 MUF @ Boulder, CO : 11.01 |ã+-----------------------------.----------------------------.------------------+ã| HF Conditions | VHF Conditions |`. \ ' / .'|ã| --------------------------- | | `. .-*""*-. .' |ã| Bands Day Night | Aurora Lat : 67.5 |-._ /.*. .*.\ _.-|ã| --------------------------- | Aurora : Band Closed | : <x> <x> ; __|ã| 80m - 40m Fair Good | 6m EsEU : 50MHz ES |""': .. ; |ã| 30m - 20m Fair Fair | 4m EsEU : Band Closed |-*" \ ____ / "*-|ã| 17m - 15m Poor Poor | 2m EsEU : High MUF | .' `-.__.-' `. |ã| 12m - 10m Poor Poor | 2m EsNA : Band Closed |.hamqsl.com/solar.|ã`-----------------------------^----------------------------^------------------'ã ALCO-SOLAR v. 1.0 / by zERO rEADER / data from N0NBHããEverything is colorized "Amiga" style. The band conditions are colorizedãthe exact same way you see them on hamqsl.com. The sun graphic in the bottomãright corner goes from "sad" to "happy" depending on the SFI. You can seeãright now he's "dead" as the flux is very low.ããThe basic idea was to get the data from the feed, and just append it to theãbottom of the template. ANSI positional codes (in this case, Mystic's MCIãcodes) are used to move the data to the right place in the template.ãã--- Mystic BBS v1.12 A30 (Raspberry Pi)ã * Origin: Alcoholiday / Est. 1995 / alco.bbs.ioã
  • From KenDB3@VERT/KD3NET to Zero Reader on Thu Jul 28 21:14:19 2016
    On 07/27/16, KenDB3 said the following...ã > ã > Ke> For reference, I am trying to grab the data found here:ã > Ke> http://www.hamqsl.com/solarxml.phpãã > I didn't do this with java, but I thought you might get a kick out of theã > output:ãã > .---------------------------------------------------------------------------ã > --. | Current Solar-Terrestrial Data, Updated: 28 Jul 2016 1424 GMTã > | +-------------------------------------------------------------------------ã > ----+ | Solar Flux Index : 71 Electron Flux :ã > 4.41e+01 | | A Index : 4 Auroraã > : 1/n=1.99 | | K Index : 2 Mag. Field (Bz)ã > : 1.8 | | X-ray : A5.8 Solar Windã > : 393.8 | | Sunspot Number : 0 Geomagnetic Fieldã > : QUIET | | Helium Line (304A) : 110.6 @ SEM Signal Noiseã > : S1-S2 | | Proton Flux : 2.10e-01 MUF @ Boulder, COã > : 11.01 | +-----------------------------.----------------------------ã > .------------------+ | HF Conditions | VHF Conditionsã > |`. \ ' / .'| | --------------------------- |ã > | `. .-*""*-. .' | | Bands Day Night | Aurora Lat : 67.5ã > |-._ /.*. .*.\ _.-| | --------------------------- | Aurora : Bandã > Closed | : <x> <x> ; __| | 80m - 40m Fair Good | 6m EsEU :ã > 50MHz ES |""': .. ; | | 30m - 20m Fair Fair | 4m EsEUã > : Band Closed |-*" \ ____ / "*-| | 17m - 15m Poor Poor | 2m EsEUã > : High MUF | .' `-.__.-' `. | | 12m - 10m Poor Poor | 2m EsNAã > : Band Closed |.hamqsl.com/solar.| `-----------------------------^---------ã > -------------------^------------------'ã > ALCO-SOLAR v. 1.0 / by zERO rEADER / data fromã > N0NBHãã > Everything is colorized "Amiga" style. The band conditions are colorizedã > the exact same way you see them on hamqsl.com. The sun graphic in the bottomã > right corner goes from "sad" to "happy" depending on the SFI. You can seeã > right now he's "dead" as the flux is very low.ãã > The basic idea was to get the data from the feed, and just append it to theã > bottom of the template. ANSI positional codes (in this case, Mystic's MCIã > codes) are used to move the data to the right place in the template.ããAha! So, you are the one who wrote that! Someone showed me a screen shot of itãand asked if I could do something like it for Synchronet. I'm honestly not sureãI can, lol. ããYou did a really great job, I wanted to say kudos. Would you mind if I tried toãemulate what you did? Or, if your work is open source, would you mind if triedãto rewrite the whole thing from Python into Javascript and credit you with theãmodule? ããMy post was basically because I was tinkering around to see if I could evenãplay with the data before I started attempting to write anything else. ãã~KenDB3ãã---ã þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.usã
  • From Mro@VERT/BBSESINF to Zero Reader on Thu Jul 28 22:35:07 2016
    Re: Re: Synchronet Javascriptã By: Zero Reader to KenDB3 on Thu Jul 28 2016 09:47 amãã > The basic idea was to get the data from the feed, and just append it to theã > bottom of the template. ANSI positional codes (in this case, Mystic's MCIã > codes) are used to move the data to the right place in the template.ãããyou can also use ansi positioning codes.ããi would first dump the 'art' for the template and at the ass end of the fileãtack on the position codes with the data.ã---ã þ Synchronet þ ::: BBSES.info - free BBS services :::ã
  • From Zero Reader@VERT/ALKY to KenDB3 on Fri Jul 29 01:02:00 2016
    On 07/28/16, KenDB3 said the following...ã ã Ke> You did a really great job, I wanted to say kudos. Would you mind if Iã Ke> tried to emulate what you did? Or, if your work is open source, wouldã Ke> you mind if tried to rewrite the whole thing from Python into Javascriptã Ke> and credit you with the module? ããThanks! I'm not a coder or anything and this was the first thing I ever didãin Python. It started out just outputting the data like a list, and then Iãjust started adding onto it, making that template for it, etc. I originallyãwrote it for DayDream BBS, but I re-did it and started using mystic's MCIãcodes rather than ANSI positioning.ããI run the script as a door from the BBS, or it could be a timed event, and itãjust generates a text file which is then displayed to the user.ããThe module that does the heavy lifting is xmltodict, which I'm told is veryãsimilar to JSON. I use it for some other stuff like a Top 10 Box Officeãlisting, and I had a Summits on the Air spot lister once upon a time also.ããYou're free to use whatever you like. I was basically just riffing off theãsolar widgets from hamqsl. I actually sent him a screenshot of it in actionãand he loved it.ãã Ke> My post was basically because I was tinkering around to see if I couldã Ke> even play with the data before I started attempting to write anythingã Ke> else.ããGood luck with it! Let me know if you want to see the Python and I'll try toãfigure out a way to make it available. I never really released anythingãbecause my code is so bad I didn't want to get ridiculed for it, heheh.ããIn the meantime, I hope this solar flux index goes back up. I can't make anyãmagic happen on the airwaves...ãã--- Mystic BBS v1.12 A30 (Raspberry Pi)ã * Origin: Alcoholiday / Est. 1995 / alco.bbs.ioã
  • From Zero Reader@VERT/ALKY to Mro on Fri Jul 29 01:07:00 2016
    On 07/28/16, Mro said the following...ã ã Mr> you can also use ansi positioning codes.ã Mr> ã Mr> i would first dump the 'art' for the template and at the ass end of theã Mr> file tack on the position codes with the data.ããThat's exactly what it does. It makes a copy of the template and appendsãpositional codes with the respective data at the bottom. My first versionãused ANSI codes, when I made a version for Mystic, I used Mystic's MCIãpositional codes, and I'm sure Synchronet's positional codes would also work.ããIt also looks pretty decent with a good Amiga font... Like Topaz orãMicroknight, heheh.ãã--- Mystic BBS v1.12 A30 (Raspberry Pi)ã * Origin: Alcoholiday / Est. 1995 / alco.bbs.ioã
  • From KenDB3@VERT/KD3NET to Zero Reader on Fri Jul 29 07:56:36 2016
    On 07/28/16, KenDB3 said the following...ã > ã > Ke> You did a really great job, I wanted to say kudos. Would you mind if Iã > Ke> tried to emulate what you did? Or, if your work is open source, wouldã > Ke> you mind if tried to rewrite the whole thing from Python intoã > Ke> Javascript and credit you with the module? ãã > Thanks! I'm not a coder or anything and this was the first thing I ever didã > in Python. It started out just outputting the data like a list, and then Iã > just started adding onto it, making that template for it, etc. I originallyã > wrote it for DayDream BBS, but I re-did it and started using mystic's MCIã > codes rather than ANSI positioning.ãã > I run the script as a door from the BBS, or it could be a timed event, andã > it just generates a text file which is then displayed to the user.ãã > The module that does the heavy lifting is xmltodict, which I'm told is veryã > similar to JSON. I use it for some other stuff like a Top 10 Box Officeã > listing, and I had a Summits on the Air spot lister once upon a time also.ãã > You're free to use whatever you like. I was basically just riffing off theã > solar widgets from hamqsl. I actually sent him a screenshot of it in actionã > and he loved it.ãã > Ke> My post was basically because I was tinkering around to see if I couldã > Ke> even play with the data before I started attempting to write anythingã > Ke> else.ãã > Good luck with it! Let me know if you want to see the Python and I'll try toã > figure out a way to make it available. I never really released anythingã > because my code is so bad I didn't want to get ridiculed for it, heheh.ãã > In the meantime, I hope this solar flux index goes back up. I can't make anyã > magic happen on the airwaves...ãããThanks Man! I really appreciate it! ãã~KenDB3ãã---ã þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.usã