Skip to content

janastu/restory-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a restory from available media resources on the web. A set of HTML templates are avialable for a narrator to author his story.

You can create your own Annotations or Sweets, log in to http://restory.swtr.us/ load any image or website from the internet to Annotate. Then you can use your annotations and Swts to create a Restory. To start with you can Restory with the current available annotations at http://restory.swtr.us/#/linked-data

Step 1: Prepare Markup - An Author can choose to use the available HTML templates, narrative-theme1.html or narrative-theme2.html from this repo or can use a own theme.

Step 2: To embed Media from a Sweet Store - Part I: Choose the Sweets you need to embed in your markup - Visit the App http://restory.swtr.us/#/linked-data to browse the Sweets or image annotations from the Sweet Store http://thestore.swtr.in Make a note of the Sweet ID, of the annotation you want to embed in the markup. see below screenshot. img/swt-id.png Create a html div with ID=”Swt-id” in your theme markup prepared from Step 1.

Part II: Make suitable changes to js/chapters.js file, to fetch annotations from SWT-Store we pass the Json arguments to the function call like, {el: “#story-content”, “who”:”scribe”, “what”:”img-anno”, “tag”: “lolcat”} el->container element to load sweets, “who”-> User name for the Sweets, “what”-> Type of annotation “tag”-> common tagset for the el.

Input the Sweet store URL in line # 18,

Step 3: Preview your HTML page on you local webserver to make sure the Sweets are embedded in the page.

Step 4: - Publish the HTML on internet.

Please refer to our Restories below,..

A Restory Tutorial http://ptx.restory.swtr.us/readme/

A Restory about a lake in the author’s Community, which needs attention: http://ptx.restory.swtr.us/sarakki-lake-restory/

A Restory about Gender discrimination: http://ptx.restory.swtr.us/gds/

A Restory about a Auto Rickshaw menace in Bangalore: http://ptx.restory.swtr.us/auto-restory/

About

Templates for restory created using swts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published