tschak909 Posted April 17, 2022 Share Posted April 17, 2022 @mozzwald has written a Wikipedia reader for #Atari8bit #FujiNet. You can load it via fujinet.online as /wiki.xex 9 Quote Link to comment Share on other sites More sharing options...
mozzwald Posted April 17, 2022 Share Posted April 17, 2022 Source code for the app and server side script are available on Github https://github.com/FujiNetWIFI/fujinet-apps/tree/master/wiki 3 Quote Link to comment Share on other sites More sharing options...
cobracon Posted April 22, 2022 Share Posted April 22, 2022 Just downloaded this and I am impressed. Was very nice to be able to surf Wikipedia on my Nuc+. Thanks for this!! 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted April 22, 2022 Author Share Posted April 22, 2022 Just now, cobracon said: Just downloaded this and I am impressed. Was very nice to be able to surf Wikipedia on my Nuc+. Thanks for this!! You're welcome. I am hoping people will start taking all this code and making similar apps for other services. -Thom Quote Link to comment Share on other sites More sharing options...
cobracon Posted April 23, 2022 Share Posted April 23, 2022 On 4/22/2022 at 5:30 PM, tschak909 said: You're welcome. I am hoping people will start taking all this code and making similar apps for other services. -Thom I agree. Would really be cool to have news feeds and such. What programming language are these they of programs written in? Quote Link to comment Share on other sites More sharing options...
tschak909 Posted April 23, 2022 Author Share Posted April 23, 2022 These examples were written in C (CC65), but they could just as easily have been done in BASIC ,as well. -Thom Quote Link to comment Share on other sites More sharing options...
mozzwald Posted October 5, 2022 Share Posted October 5, 2022 Wikipedia has a JSON api that could work well with the FujiNet JSON parser Search query: https://en.wikipedia.org/w/api.php?action=query&origin=*&format=json&generator=search&gsrnamespace=0&gsrlimit=5&gsrsearch='united_states' Get article intro in plain text by pageid: https://en.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&explaintext&exintro&redirects=1&pageids=3434750 Get article content in plain text by pageid: https://en.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&explaintext&redirects=1&pageids=3434750 Mediawiki API Docs: https://www.mediawiki.org/wiki/API:Tutorial 1 Quote Link to comment Share on other sites More sharing options...
Alfred Posted October 8, 2022 Share Posted October 8, 2022 Curious, why does it implement the N: handler in C instead of using loading/using the existing assembler based version? Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 8, 2022 Author Share Posted October 8, 2022 You can either talk to the network device over SIO, or over CIO. Turns out, it's actually not difficult to do SIO calls in C (or something like ACTION!), and it means the program can load without needing to load a separate CIO handler. This is possible, because the CIO handler is really just a really thin pass-through to the SIO routines. Ultimately the CIO handler was written for two use cases: * Languages where talking over SIO is cumbersome (BASIC, PILOT, LOGO, etc.) * Using network functions from existing applications (AtariWriter, etc.) does that make sense? -Thom 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.