Platforms shape practice session: Difference between revisions

From XPUB & Lens-Based wiki
Line 61: Line 61:


See <code>get-crowd.sh</code> how you can save the RSS feed to a file.
See <code>get-crowd.sh</code> how you can save the RSS feed to a file.
===Charlie's prototype===
https://hub.xpub.nl/cerealbox/~charlie/naenie_udra.html
===Kim's prototype===
https://hub.xpub.nl/cerealbox/~kim/mediawiki-api2/
https://hub.xpub.nl/cerealbox/~kim/mediawiki-api3/


==To start==
==To start==

Revision as of 11:39, 5 November 2024

Today

Today we will make standalone web pages based on Mixcloud or MediaWiki API calls.

Picking up from last session... we will make prototypes as platform studies: how can you make a web page to emphasize present and non-present features of Mixcloud or MediaWiki? If practice shapes tools shapes practice..., how does Mixcloud/MediaWiki shape the practice of sound sharing?

The proposal is to use material related to this Special Issue, that is uploaded to Mixcloud or MediaWiki. In this way, we can explore these platforms while working with materials we made or are close to. You can work for example with Radio WORM's account on Mixcloud, the radio shows you did that were uploaded there, it could be the broadcast pages on the wiki, the alphabet soup, personal wiki pages you made with notes, prototypes, etc.

And standalone, is an advised constraint, because it's a useful skill to learn how to make standalone web pages!

At the end of the day, we will upload all pages to: /var/www/html/SI25/

Context/references

Prepared prototypes

Mixcloud

https://hub.xpub.nl/cerealbox/~manetta/platforms/mixcloud-room/room.html

https://api.mixcloud.com/radiowormrotterdam/protocols-for-collective-performance-w-xpub-300924/?metadata=1

└── mixcloud-once-upon
    ├── extratonality.json
    ├── room.html
    └── xpubweek1.json

This page displays the metadata of a radio show in a custom way. To load this metadata it uses the Mixcloud API. To make an API call, first open a Mixcloud page of one single radio show. Edit the URL: change www into api and add ?metadata=1 at the end. You should get a response back, formatted in JSON. Copy this URL, the API call, and paste it in line 30 of this page to explore the metadata of that show.

To make a standalone version: you can download the API response as a JSON file with: $ curl URL > filename.json and change the API call URL to this JSON file in line 30.

MediaWiki authors

https://hub.xpub.nl/cerealbox/~manetta/platforms/mediawiki-authors/authors.html + https://hub.xpub.nl/cerealbox/~manetta/platforms/mediawiki-authors/authors_with-input-field.html

https://pzwiki.wdka.nl/mw-mediadesign/api.php?action=query&prop=revisions&rvlimit=500&titles=Radio_WORM:_Protocols_for_Collective_Performance&format=json&origin=*

This page dives into the revisions of a wiki page, and lists max 500 authors.

MediaWiki links

https://hub.xpub.nl/cerealbox/~manetta/platforms/mediawiki-links/links.html

https://pzwiki.wdka.nl/mw-mediadesign/api.php?action=parse&page=Radio_WORM:_Protocols_for_Collective_Performance&prop=links&format=json&origin=*

This page lists all internal wiki links on a page...

See get-json.sh how you can save the JSON data to a file.

MediaWiki crowd

https://hub.xpub.nl/cerealbox/~manetta/platforms/mediawiki-crowd/crowd.html

https://pzwiki.wdka.nl/mw-mediadesign/api.php?action=feedrecentchanges&origin=*

This page parses the RSS feed of recent changes, to filter the usernames out.

See get-crowd.sh how you can save the RSS feed to a file.

Charlie's prototype

https://hub.xpub.nl/cerealbox/~charlie/naenie_udra.html

Kim's prototype

https://hub.xpub.nl/cerealbox/~kim/mediawiki-api2/

https://hub.xpub.nl/cerealbox/~kim/mediawiki-api3/

To start

$ ssh cerealbox
$ cd public_html
$ mkdir FOLDERNAMEFORTHESEPROTOTYPES
$ cd FOLDERNAMEFORTHESEPROTOTYPES
$ wget URL-OF-EXAMPLE-YOU-WANT-TO-WORK-WITH

Tip: open the API call you want to work with in the browser, so you can inspect the data of the API response!