Triptych Reconstructed

I will casually describe a script recently written but this time using simple sentences. This will be refined with enough rigor to serve as pidgin javascript. The test then will be to write an open-ended fragment assembler, a scripter, able to construct an equivalently useful script.

# Plan

Do #2, input and check it.

To input find the paragraphs with link word lineup. Then do parse for each.

To parse split paragraph into text and external link. Then split link as a lineup url.

Do #3, survey and check it

To survey fetch image-caption-survey with slug ending photos.

Do #4, show when preview button pressed.

To show for each input do page then open each in row.

To page use first word of each slug as title and use text as paragraph in story.

Do #5, finish and check it

To finish for each input do cells then grid layout.

To cells merge images.

To grid stream by column.

# Scripter

Here we run a script that reads the plan and writes a new script using properties found in the plan based on a catalog of idioms. A work in progress. github

http://photos.ward.dojo.fed.wiki/assets/scripts/triptych-scripter.html HEIGHT 600