Twine Version: Twine 2.11.1
Using: Harlowe
Hi! First post! ![]()
Long time lurker
Have a technical question, hope thereβs some solution.
Is it possible to transform an Excel spreadsheet into a Twine story?
I have a list of content which Iβd like to display.
Example of the source (attached screenshot):
| Passage | Author | Homepage | Poem | Passage Content |
|---|---|---|---|---|
| [[Passage A]] | Ant | websiteURL1 | Lorem | Lorem websiteURL1 Ant |
| [[Passage B]] | Bug | websiteURL2 | Ipsum | Ipsum websiteURL2 Bug |
| [[Passage C]] | Chair | websiteURL3 | Dolor | Dolor websiteURL3 Chair |
| [[Passage D]] | Dice | websiteURL4 | Sit | Sit websiteURL4 Dice |
| [[Passage E]] | Elephant | websiteURL5 | Amet | Amet websiteURL5 Elephant |
In the spreadsheet I have five columns: Name of the passage, author, the authorβs homepage, and the passage content.
In the passage content, Iβd like to display some additional content, which is the fifth column, it includes information from the other columns.
The desired outpout is shown below (sorry canβt post images yet):
ββββββββββββββββββββββββββββ
β HOME β
β [[Passage A]] β
β [[Passage B]] β
β [[Passage C]] β
β [[Passage D]] β
β [[Passage E]] β
β β
βββββββββββββββ΄βββββββββββ¬ββββββ¬ββββββ¬βββ¬β
β β β β β
β β β β βββββββββββββββββββββββββ
β β β β β
β ββββββββββββ β βββββββββββ β
β β β β β
β β β β β
βββββββββββββββ΄βββ βββββββββ΄βββββββ βββββββββ΄ββββββ ββββββββββ΄βββββ ββββββββββ΄ββββββ
βPassage A β βPassage B β βPassage C β βPassage D β β Passage E β
βLorem β βIpsum β βDolor β βSit β β Amet β
βwebsiteURL1 β βwebsiteURL2 β βwebsiteURL3 β βwebsiteURL4 β β websiteURL5 β
βAnt β βBug β βChair β βDice β β Elephant β
ββββββββββββββββββ ββββββββββββββββ βββββββββββββββ βββββββββββββββ ββββββββββββββββ
Read about Tweego and Extwee and Lambdas and Macros and saw Youtube videos⦠and honestly have no idea where to start.
What has worked:
What works is exporting the Excel table as an HTML table, pasting it in Twine, and it automatically creates the passages. But Iβm stumped on how to insert the content automatically in the passages, it is eluding me.
Thanks!