From 09b8c2a239cec157f5ab4ee129ecad61f87392be Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Fri, 22 Oct 2021 18:12:50 +0200 Subject: [PATCH] Default commit message, part of an automated flow. --- i am cuba.md | 5 +++++ journal/2021-10-22.md | 2 ++ soy cuba.md | 7 +++++++ wikipedia api.md | 7 ++++++- 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 i am cuba.md create mode 100644 soy cuba.md diff --git a/i am cuba.md b/i am cuba.md new file mode 100644 index 000000000..c858ff805 --- /dev/null +++ b/i am cuba.md @@ -0,0 +1,5 @@ +# i am cuba + +- a [[film]] + - [[wp]] https://en.wikipedia.org/wiki/I_Am_Cuba + diff --git a/journal/2021-10-22.md b/journal/2021-10-22.md index 32f1e7a14..39355c596 100644 --- a/journal/2021-10-22.md +++ b/journal/2021-10-22.md @@ -8,6 +8,8 @@ - [[flow]] - [[249]] - [[the mind illuminated]] +- [[i am cuba]] + - [[es]] [[soy cuba]] - [[do]] - make [[agora bot]] automatically respond to wikilinks by followers - https://twitter.com/flancian/status/1446533184380936192 diff --git a/soy cuba.md b/soy cuba.md new file mode 100644 index 000000000..8946e4544 --- /dev/null +++ b/soy cuba.md @@ -0,0 +1,7 @@ +# soy cuba + +- [[pull]] [[i am cuba]] + - [[hn]] https://news.ycombinator.com/item?id=28953167 + - [[twitter]] https://twitter.com/nickdale/status/1450617359375343617 + - [[wp]] https://en.wikipedia.org/wiki/I_Am_Cuba + diff --git a/wikipedia api.md b/wikipedia api.md index cd01f3f46..eccd36b9c 100644 --- a/wikipedia api.md +++ b/wikipedia api.md @@ -2,5 +2,10 @@ - [[mediawiki]] - [[search]] https://www.mediawiki.org/wiki/API:Search -- [[example]] https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=popper +- [[example]] + - search for pages using free form text + - [[query]] https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=popper + - returns a query -> search array, of which the first item is high quality. ranking can be customized with parameters. the item contain a pageid, in this case 16623 for the page for Karl Popper. + - retrieve URL for the pageid in question and additional external resources, extlinks + - [[query]] https://en.wikipedia.org/w/api.php?action=query&pageids=16623&prop=extlinks|info&inprop=url