WikiTaskTutorial/Word97

From BITPlan Wiki
Jump to navigation Jump to search


This is an Example for accessing Microsoft Word97 doc data from a WikiTask. The example file is the Canteen Menu of Thirroul Public School

template

This template includes Office#Word97

@include(wiki.Office.Word97)
Word Document: @(wikiTask.getInput()) 
@if(doc.error) {  
can not be opened due to error @(doc.error.getMessage())
} else { has the following content:
<pre>
@for (String paragraph:doc.we.getParagraphText()) {
@(paragraph)
}
}
</pre>

wikitask

{{wikitask|cmd=runtemplate|input=http://www.thirroul-p.schools.nsw.edu.au/documents/4049759/4062232/2014Canteenterm1.doc|engine=Rythm|template={{FULLPAGENAMEE}}#template|targetpage={{FULLPAGENAMEE}}#result}}

runtemplate -> WikiTaskTutorial/Word97#result

result

Word Document: http://www.thirroul-p.schools.nsw.edu.au/documents/4049759/4062232/2014Canteenterm1.doc has the following content:

 All GREEN foods are �

�Sandwiches/Rolls

All sandwiches made on wholemeal bread. No margarine unless requested. Exception: vegemite/plain cheese or ham/honey or jam

�Salad Only	$2.20

lettuce, tomato, cucumber, carrot

�Ham (with salad $3.20)  	$2.30

�Chicken (+ salad $3.40)	$2.50

100% skinless breast meat

�Cheese (+ salad $2.50) 	$1.60

�Egg (with salad $2.50)	$1.60

�Vegemite 	$1

Honey or Jam	$1

�Can’t find what you want for your sandwich? Find the main filling & add 40c for a roll & each extra ingredient

�Toastys Toasted sandwich

�CHOOSE your FILLINGS Chicken, Ham, Cheese, Tomato or Pine

�1 Filling	$2.40 

�2 Fillings	$2.60 �3 Fillings	$2.90 Drinks

�Calci Yum Milk	$1.40

chocolate or strawberry 

�Plain Milk 	$1.10

�Water  	$1.10

Juice 100% 	$1.10

Apple, Orange, Apple/Blackcurrant

	

�Salads 100% Fresh

��Mamee MONSTER Noodle Salad 	$3.00

chicken, lettuce, carrot, tomato, cucumber, capsicum in light dressing with a pack of Mamee noodles to smash 

MONSTER MEAL DEAL MONSTER noodles + flavoured milk ONLY $4 EVERY DAY	

Hot Food

Chicken Burger	$3.30

chicken pattie, lettuce & tomato on a roll



NEW Mini Chicken Burger $1.50

Chicken Goujon on a mini roll with lettuce and tomato

mayo tomato/sweet chilli/BBQ sauce optional 



Pizza 	$2

Hawaiian or Cheese & Bacon  

Chicken Goujons 	$1.30

Garlic Bread	70c

Sausage Roll	$2.20

�Corn on the Cob	90c 



�Pasta Bolognese	$2.20

DAILY SPECIAL Pasta + Garlic bread for only $2.70







Frozen Treats

Paddle Pop choc/strawb	$1.40

Slushie 	$1.70

Calippo Mini	$1.10

Quelch Ice Blocks	    60c 

�Frozen pineapple rings 30c

�Grapes n blueberries    30c



Snacks

�Fruit salad cup	 70c

�Piece seasonal fruit    30c

�Watermelon slice	 30c

�Anzac minis	 20c

�Popcorn 	 20c

made fresh every day

�Custard cup 	 70c

Vege crackers 	$1.30

gluten free

Red Rock Deli Chips 	$1.30

sea salt & honey soy

Muffins 	70c 

Mini muffins	20c 

made fresh every day so variety & availability may vary 



tomato sauce	20c 

paper bags	10c 

�
ORDER ONLINE FAST AND CONVENIENT

TOP UP WITH CREDIT CARD ONLY

Order by 9.00am in the morning for lunch that day, fast, convenient and cash free!

 Initial Set-up: 

Go to � HYPERLINK "http://www.school24.com.au" ��www.school24.com.au� 

Go to “For Parents then Create Account”

Enter 25124963 as School Registration ID

Fill in your details in “New parent registration form”

Once confirmed, log in with your details

You will then get to the home page, which prompts you to add students & to top up your account, 

Click on “Please add students” and add all your children. Once completed, click on the (+) sign at the top green bar 

Select your payment method: Credit Card Payment ONLY, you can then order straight away (small fee charged by School24). This is done via Pay Pal, however, you don’t need an account with them.

10. Once money is in your account, a rotating apple will appear & you’re ready to go! You just top up your account whenever you run out.

Online Ordering

Log in on � HYPERLINK "http://www.school24.com.au" ��www.school24.com.au� with your username and Password, Welcome screen will appear 

Select name of child and date to order for and press GO

If basket is empty, click “Order lunch”

Click on the items list, and submenu will appear. 

Select your items. You can continue to add items and once finished you click “add to basket” 

Select “Check out now” if order for this student is complete.

Overview of your order will appear. Additional comments to volunteers or committee can be made here. They will receive these comments when volunteers check online ordering and email is sent to canteen committee.

Then “submit order”. 

If more children have lunch order, select other child from home screen and go through same process.



NEW in Term 1 Mini Chicken Burger only $1.50 or $1.35 Online