ContentGenerator.net Community forums: [Feedback 0.95] Development of latest beta - ContentGenerator.net Community forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Feedback 0.95] Development of latest beta Rate Topic: -----

#1

User is offline   Andrew Field Icon

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 2,896
  • Joined: 06-August 04



Posted 05 May 2006 - 11:21 PM

Following the problems with recent betas, I've added some additional coding to release beta 0.95 of Practicepaper.

The coding for this application has become awfully complicated, mostly because of the immense amount of data that a model answer can potentially contain. As you are able to include an enormous amount of rich-text formatting, the data stored (and hence what Flash has to process) becomes very complex.

This is why I've had such problems getting this program working - you can explore all these in the previous feedback topics. :huh:

This is the code for just one model answer:

Quote


%3CTEXTFORMAT%20LEADING=%222%22%3E%3CP%20ALIGN=%22LEFT%22%3E%3CFONT%20FACE
=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22#000000%22%20LETTERSPACING=%220%2
2%20KERNING=%220%22%3E%3CB%3EDescribe%20and%20explain%20the%20formation%20of%20H
eadlands%20and%20Bays%20(you%20may%20wish%20to%20include%20a%20labelled%20diagram%2
0%3C/B%3E(6%20marks)%3C/FONT%3E%3C/P%3E%3C/TEXTFORMAT%3E~%3CTEXTFORMAT%20LEA
DING=%222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%
20SIZE=%2210%22%20COLOR=%22#000000%22%20LETTERSPACING=%220%22%20KERNING=%220
%22%3E%3CB%3EREMEMBER%20TO%20INCLUDE:%3C/B%3E%3CFONT%20SIZE=%2211%22%3E%3C
/FONT%3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22
%20BLOCKINDENT=%2228%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%
22%20COLOR=%22#0033FF%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E%3CB%3
ENamed%20Examples%20%20%3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E%3CB%3E%20
%20%20%20%20%20%20%3C/B%3E%3CFONT%20COLOR=%22#FF0000%22%3E%3CB%3E%20%20
%3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E%3C/FONT%3E%3C/FONT%3E%3C/FONT%3E
%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20
BLOCKINDENT=%2228%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%
22%20COLOR=%22#FF0000%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E%3CB
%3EProcesses%20%3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E%3CB%3E%20%20%20%
20%20%20%20%20%20%3C/B%3E%3CFONT%20COLOR=%22#339900%22%3E%3CB%3E%20%20%
20%20%3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E%3C/FONT%3E%3C/FONT%3E%3C/FONT
%3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20
BLOCKINDENT=%2228%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22
%20COLOR=%22#339900%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E%3CB%3E
Description%3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E%3CB%3E%20%20%20%20%20%2
0%20%20%3C/B%3E%3CFONT%20COLOR=%22#CC0099%22%3E%3CB%3E%20%20%20%20%20%
B%3E%3CFONT%20COLOR=%22#000000%22%3E%3C/FONT%3E%3C/FONT%3E%3C/FONT%3E%3C/
FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKIND
ENT=%2228%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22%20COLO
R=%22#CC0099%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E%3CB%3EExplanat
on%3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E%3C/FONT%3E%3C/FONT%3E%3C/LI%3E
%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%3E
%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22#000000%22
%20LETTERSPACING=%220%22%20KERNING=%220%22%3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFO
RMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%
3CFONT%20FACE=%22Verdana%22%20SIZE=%2212%22%20COLOR=%22#000000%22%20LETTERSP
ACING=%220%22%20KERNING=%220%22%3E%3CB%3EStart%20with%20named%20and%20located
%20examples:%3C/B%3E%3CFONT%20SIZE=%2211%22%3E%3C/FONT%3E%3C/FONT%3E%3C/LI%
3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%
3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22#000000%
22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E"%3CFONT%20COLOR=%22#00
66FF%22%3E%3CB%3EThe%20Foreland%20and%20Peveril%20Point%20in%20Dorset%3C/B%3E%3C
/FONT%3E%20are%20good%20examples%20of%20headlands%20with%20Swanage%20Bay%20betwe
en%20them"%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%
222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE
=%2211%22%20COLOR=%22#000000%22%20LETTERSPACING=%220%22%20KERNING=%220%22%
3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BL
OCKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2212%22%
20COLOR=%22#000000%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E%3CB%3ENo
w%20go%20on%20to%20describe%20the%20features..%3C/B%3E%3CFONT%20SIZE=%2211%22%3E
%3C/FONT%3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222
%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2
211%22%20COLOR=%22#000000%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E&q
uot;%3CFONT%20COLOR=%22#339900%22%3E%3CB%3EHeadlands%20are%20resistant%20rock%20
outcrops%20jutting%20out%20into%20the%20sea%20whilst%20bays%20are%20indents%20in%20the
%20coastline%3C/B%3E%3C/FONT%3E"%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3C
TEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20F
ACE=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22#000000%22%20LETTERSPACING=%
220%22%20KERNING=%220%22%3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFO
RMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20FACE=%
22Verdana%22%20SIZE=%2212%22%20COLOR=%22#000000%22%20LETTERSPACING=%220%22
%20KERNING=%220%22%3E%3CB%3EAnd%20then%20your%20explanation%20of%20their%20for
mation..%20(include%20the%20following%20points...)%3C/B%3E%3CFONT%20SIZE=%2211%22%3
E%3C/FONT%3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%
222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SI
ZE=%2211%22%20COLOR=%22#CC0099%22%20LETTERSPACING=%220%22%20KERNING=%220
%22%3E%3CB%3EHeadlands%20&%20Bays%20are%20formed%20when%20there%20are%20
alternate%20bands%20of%20hard%20and%20soft%20rock%20(discordant%20coastline)%3C/B%3E
%3CFONT%20COLOR=%22#000000%22%3E%3C/FONT%3E%3C/FONT%3E%3C/LI%3E%3C/TEXTFO
RMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E
%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22#000000%22%20LETT
ERSPACING=%220%22%20KERNING=%220%22%3EHarder%20chalk%20is%20attacked%20by%20
the%20waves%20which%20are%20armed%20with%20pebbles%20%3CFONT%20COLOR=%22#FF0
000%22%3E%3CB%3E(abrasion)%3C/B%3E%3C/FONT%3E%20and%20is%20undercut%20slowly%
3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLO
CKINDENT=%2212%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22%
20COLOR=%22#000000%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3EIt%20can
%20also%20be%20eroded%20by%20%3CFONT%20COLOR=%22#FF0000%22%3E%3CB%3Esolu
tion%3C/B%3E%3C/FONT%3E%20(dissolved)%20or%20%3CFONT%20COLOR=%22#FF0000%22
%3E%3CB%3Ehydraulic%20action%3C/B%3E%3C/FONT%3E%20(when%20waves%20compress%
20air%20in%20small%20cracks%20in%20the%20rock,%20resulting%20in%20small%20explosions
%20which%20gradually%20weaken%20the%20rock%3C/FONT%3E%3C/LI%3E%3C/TEXTFORMAT%
3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%3E%3CLI%3E%3CF
ONT%20FACE=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22#FF0000%22%20LETTERSP
ACING=%220%22%20KERNING=%220%22%3E%3CB%3EWaves%20also%20pound%20at%20the%
20cliffs%3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E,%20exerting%20a%20huge%20for
ce%20(up%20to%2030%20tonnes%20/%20m2)%3C/FONT%3E%3C/FONT%3E%3C/LI%3E%3C/TEX
TFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%2212%22%3E%3CLI
%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22#000000%22%20
LETTERSPACING=%220%22%20KERNING=%220%22%3EThe%20%3CFONT%20COLOR=%22#CC0
099%22%3E%3CB%3Echalk%20is%20not%20eroded%20as%20fast%20as%20the%20clay%20whic
h%20is%20not%20very%20resistant%20to%20erosion%3C/B%3E%3C/FONT%3E%3C/FONT%3E%3
C/LI%3E%3C/TEXTFORMAT%3E%3CTEXTFORMAT%20LEADING=%222%22%20BLOCKINDENT=%22
12%22%3E%3CLI%3E%3CFONT%20FACE=%22Verdana%22%20SIZE=%2211%22%20COLOR=%22
#CC0099%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3E%3CB%3EThe%20chalk
%20is%20therefore%20left%20sticking%20out%20as%20a%20headland%20(which%20then%20beco
mes%20exposed%20to%20the%20full%20force%20of%20the%20waves),%20whilst%20the%20clay%
20is%20eroded%20inwards%20to%20form%20a%20bay%20which%20often%20has%20a%20beach%
3C/B%3E%3CFONT%20COLOR=%22#000000%22%3E%3C/FONT%3E%3C/FONT%3E%3C/LI%3E%3
C/TEXTFORMAT%3E~http://cgz.e2bn.net/e2bn/leas/c99/schools/cgz/accounts/staff/rchambers/GeoBy
tes/GCSE%20Revision/Unit%201/Coasts/Coastal%20Erosion/bays_and_headlands.htm%7C%3


This is just one question!

Beta 0.9 improved the situation so the generator program can process such extensive data, but then new problems appeared with the produced .swf file being able to process the equally complex data again.

Hopefully release 0.95 is working towards a fix for these problems - please do post your thoughts. At the moment 0.95 can only produce a small number of questions - 10 at the most, but the finished version will happily process 25.
0

#2

User is offline   Carl Shepherdson Icon

  • Advanced Member
  • PipPipPip
  • Group: Moderator
  • Posts: 888
  • Joined: 10-January 05
  • Location:UK



Posted 06 May 2006 - 12:17 AM

Let's hope it works well now, a lot of time has certainly went into this generator. :huh:
ContentGenerator.net Forum Moderator

0

#3

User is offline   Rob C Icon

  • Advanced Member
  • PipPipPip
  • Group: Customers
  • Posts: 157
  • Joined: 30-September 05



Posted 06 May 2006 - 01:12 AM

Excellent Andrew - thanks again for your hardwork on this - I will download and have a go - will let you know how I get on.

Rob
0

#4

User is offline   Andrew Field Icon

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 2,896
  • Joined: 06-August 04



Posted 06 May 2006 - 01:27 AM

View PostRob C, on May 6 2006, 02:12 AM, said:

Excellent Andrew - thanks again for your hardwork on this - I will download and have a go - will let you know how I get on.

Rob


Jolly good - there is the artificial limit on the number of questions still though - it may crash with too many. I think my solution may have to be to restrict the rich-text capabilities of the model answers a little. At the moment it is just far too much for Flash to process.
0

#5

User is offline   Tim Laver Icon

  • Advanced Member
  • PipPipPip
  • Group: Customers
  • Posts: 80
  • Joined: 14-December 04



Posted 06 May 2006 - 07:24 AM

what a bunch of early morning posters you are...

:huh:


the new beta is working a treat for me no issues encountered thus far :)
0

#6

User is offline   Andrew Field Icon

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 2,896
  • Joined: 06-August 04



Posted 06 May 2006 - 09:53 AM

Good news so far then. I'm going to look in detail at the program to explore better ways of getting it working. One potential solution would be to remove some of the more complex rich-text functionality and just allow the model answers to contain bullet points, formatted text (with a standard font) and colours. That would simplify the code enormously.

The problem since the early betas is that the code, when passed from the generator to the finished .swf cannot be fully processed by Flash. In beta 0.9 you'll see how there is a pause while each question + model answer is individually processed.

Where it stalls now is when you actually load the .swf file. Where before it stalled when generating the file, it now potentially stalls when processing the data for the .swf.

In short, this current beta will work - but I feel it can be much better.
0



Share this topic:
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users