from [/villagepump/Scrapbox project imported into Kozaneba (development)](https://scrapbox.io/villagepump/Scrapbox project imported into Kozaneba (development)). I know itâs not a quick story, so Iâll leave the thought process here.
Since the Kozaneba sample code has âCreate JSON for Kozaneba from source codeâ, I thought I could use this to create JSON for Kozaneba from JSON exported from Scrapbox
- There was no link information in the escorted JSON.
The premise is âimport links between pages as arrows in Kozanebaâ specification
- I can still do it because itâs as a discrete element without lines.
Hit API on each page to get link information?
- I believe there was an API to get a list of pages with link information.
- /scrapboxlab/api/pages/:projectname/search/titles
- But this doesnât have the text.
- If it is a case of creating from exported JSON, the body text is at hand.
- or rather, from Kozanebaâs point of view, I wouldnât use the text.
- It wasnât like that. Oh well.
- When you add it via the UI, it hits the API at that point to get the description.
- Once you do it with empty description
- think about later
- or rather, from Kozanebaâs point of view, I wouldnât use the text.
- This looks good.
- I just used it the other day when adding a well completion feature to inline.
- I looked at the responses, this looks good.
- Red link should be included, well, even if there is one.
- Not sure if it would be more interesting to have or not.
For now, Iâm trying to experiment with a project of about 100 pages, so all pages are fine.
- But in general, people who try to use this feature when it is released are only going to have a furball problem if they do it in its entirety, because there are 10,000 pages or something like that.
- I think it is most useful to specify a page and target only those linked to that page in one hop.
- Specify and load pages that seem to have exceeded 100 links.
- That way you can see the links between the child pages and help separate the children into groups.
- If it were this use case, I wouldnât draw the link from parent to child because itâs obvious.
Things that may or may not be useful or interesting
- Display the results of following a random link from a specified page (or random page) about 100 times.
/scrapboxlab/api/pages/:projectname/search/titles
- Title.
- I have the image URL.
- No text.
- There is no URL for this page itself.
- Would space replacement and URL encoding help?
- The link information is the title of the page youâre linking to. policy
- Since it is not a large amount, create the vertex set and the edge set in a straightforward manner.
- whether or not to make it a directed side
- I can do that, but I donât know how to display the two-way ones.
- Iâll take both arrows.
- Possible endpoints that do not exist in the page list due to inclusion of red links
- Letâs add the destination of the red link as a Kozane!
Red link, there were more Ws than expected.
-
- Iâll stop importing red links.
WellâŠ
-
Actually, the physics engine is implemented.
- I havenât found it very useful, so itâs not in the official documentation. w
-
Hmmm, mankind has yet to invent a solution to this furball problemâŠ
- Itâs obvious to the point where you can move something that is isolated or put something that is only connected to one thing beside it.
- From there, it suddenly becomes a conundrum.
- Even I, who have many times KJ method experience with hundreds of cards, have difficulty in unraveling this 100-card hairball!
- Letâs remove the chat page from the link, which is a giant hub.
- Oh, Scrapbox Kozane doesnât have a leave from lines menuâŠ
- Well, the import is done, and weâll continue tomorrow.
- Oh, well, you can do the same thing by cloning and deleting.
- You donât even have a clone on your Scrapbox Kozane!
memo
- Page 99
- 400 links
This page is auto-translated from /nishio/Scrapboxăăăžă§ăŻăăKozanebaă«ă€ăłăăŒăăă(éçș) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iâm very happy to spread my thought to non-Japanese readers.