Changes

Jump to: navigation, search

@bazbt3/Sandbox

1,770 bytes added, 00:12, 29 October 2017
Added app GitHub link
{{Template:Banner|'''♻️'''|'''Test pagesand other stuff''' for inclusion into this wikiand for enhancing use of pnut.io.}}== = Likely to remain static once implemented ===* [[@bazbt3/Sandbox/EventToday]] - a tiny bit of code (compared to the following humongous thing) to automatically display the day's event(s) at the main page. It's really quite trivial but I'The list''' m hoping to build in it.: - Compare live vs test [https://wiki.pnut.io/Special:ComparePages?page1=EventToday&rev1=&page2=%40bazbt3%2FSandbox%2FEventToday&rev2=&action=&diffonly=&unhide=here.]
* [[@bazbt3/Sandbox/EventCode]] - an automated event display/listing. Started for the [[14 October 2017]] '''[[Hackathon]]''' the code, ''copied from my previous work at the ADN wiki'', is rough and difficult to follow, and thus unsuitable for casual editing. It has bugs.
 
=== Dynamic ===
I need to remember to paste the live pages' contents into the test pages each time to accurately replicate what's likely to happen.
* [[@bazbt3/Sandbox/Events]] - to test the effects of transcluded pages.<br>
: - Compare live vs test [https://wiki.pnut.io/Special:ComparePages?page1=Events&rev1=&page2=%40bazbt3%2FSandbox%2FEvents&rev2=&action=&diffonly=&unhide= here.]
* [[@bazbt3/Sandbox/MainPage]] - to test new layouts and the effects of transcluded pages.
: - Compare live vs test [https://wiki.pnut.io/Special:ComparePages?page1=Main+Page&rev1=&page2=%40bazbt3%2FSandbox%2FMainPage&rev2=&action=&diffonly=&unhide= here.]
 
=== Programming ===
I decided to have a go with [[PNUTpy]], [[@thrrgilag]]'s Python library for interacting with pnut.io.
*First steps:
** I need a name for the app; peanut related, obviously.
** I'll need an access token from here: https://pnut.io/dev
* Links:
** PNUTpy: https://github.com/pnut-api/PNUTpy
** Pythonista Python development IDE for iOS: http://omz-software.com/pythonista/
** A gist with instructions to install a bash-like shell for Pythonista (needed to install pip before installing PNUTpy: https://gist.github.com/CodyKochmann/4d6b40e77ba862e634185a038d2c3f13
* '''I started an app: https://github.com/bazbt3/PigPen ''' - rudimentary it is.
398
edits

Navigation menu