398
edits
Changes
m
Added programming section, not sure where else to put it right now
{{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'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/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've pretty much 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