Skip to content

Commit 5e707e1

Browse files
author
git
committed
Add some samples to show correctness
1 parent 2e18d0e commit 5e707e1

File tree

3 files changed

+1006
-0
lines changed

3 files changed

+1006
-0
lines changed

samples/sample101.html

Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
<!DOCTYPE html>
2+
<!--[if lt IE 7]> <html lang="en-GB-oed" class="ie6 noJS"> <![endif]-->
3+
<!--[if IE 7]> <html lang="en-GB-oed" class="ie7 noJS"> <![endif]-->
4+
<!--[if IE 8]> <html lang="en-GB-oed" class="ie8 noJS"> <![endif]-->
5+
<!--[if IE 9]> <html lang="en-GB-oed" class="ie9 noJS"> <![endif]-->
6+
<!--[if gt IE 9]><!--> <html lang="en-GB-oed" class="noJS"> <!--<![endif]-->
7+
<head>
8+
<!-- This website is written by a guy who claims to have lots of specialised technical skills, but this website only partially demonstrates them. This website is a vehicle for about 70,000 words, please read some of them. -->
9+
<title>Site changelist</title>
10+
<meta http-equiv="X-UA-Compatible" content="IE=9" />
11+
12+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
13+
<meta http-equiv="Content-Language" content="en-GB-oed" />
14+
<meta name="Generator" content="iceline webkit 0.6" />
15+
<meta name="Author" content="Owen Beresford" />
16+
<meta name="Description" content="This is list of things at I have changed in this site" />
17+
18+
<link rel="stylesheet" type="text/css" href="/resource/reach-positional" />
19+
<link rel="stylesheet" type="text/css" href="/asset/qunit-1.11.0.css" />
20+
21+
<script type="text/javascript" src="/asset/jquery-1.10.2" ></script>
22+
<script type="text/javascript" src="/asset/jquery.columnizer"></script>
23+
<script type="text/javascript" src="/asset/qunit-1.11.0.js"></script>
24+
<script type="text/javascript" >
25+
var $ice={
26+
last:0,
27+
resize_registered:0,
28+
menu_done:0,
29+
menu_duration:4,
30+
debug:0,
31+
min_size:150,
32+
tabs:[],
33+
resizeTO:undefined,
34+
resizeDelay:500,
35+
maxLength:2500, // this is the number of letters, its faster than words...
36+
};
37+
38+
window.currentSize=function() {
39+
var d= document, root= d.documentElement, body= d.body;
40+
var wid= window.innerWidth || root.clientWidth || body.clientWidth;
41+
var hi= window.innerHeight || root.clientHeight || body.clientHeight ;
42+
wid=parseInt(wid);
43+
hi=parseInt(hi);
44+
return [wid,hi];
45+
}
46+
47+
var $ice_col=function() {
48+
var $t1=window.currentSize();
49+
// only apply when asked to, and have enough content
50+
var $t2=$('.lotsOfWords');
51+
if($t2.length==0 || $t2.text().length<500) {
52+
return;
53+
}
54+
55+
// hopefully phones changing orientation won't break things...
56+
// can double buffer to reduce flicker, if so append target:"#showhere"
57+
var $colno =0;
58+
if($t1[0]>1200) {
59+
$colno =3;
60+
} else if($t1[0]>650) {
61+
$colno =2;
62+
}
63+
if($ice.debug ) {
64+
console.log("Text split into "+$colno+" columns.");
65+
}
66+
$t2.columnize({ columns:$colno, buildOnce:true });
67+
$t2.renumberByJS('ol', $colno, null, 'column');
68+
69+
// $searchTag, $colno, $targetId, $targetClass
70+
//
71+
// my manual resetting the columnisation is a mark of poor architecture.
72+
// this should be in CSS or in JS, not both
73+
//. . . but the counters allow content injected into the structures without breaking any DOM.
74+
// http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#attr-ol-start
75+
};
76+
77+
var $spawn=function() {
78+
79+
var $id=666;
80+
window.open(location.protocol+'//'+location.hostname+"/external/c2.html?no=1", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=800,height=600');
81+
window.open(location.protocol+'//'+location.hostname+"/external/c2.html?no=2", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=1201,height=600');
82+
window.open(location.protocol+'//'+location.hostname+"/external/c3.html?no=1", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=800,height=600');
83+
window.open(location.protocol+'//'+location.hostname+"/external/c3.html?no=2", $id++, 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=0,width=1201,height=600');
84+
alert("Im pausing here, check they all worked...");
85+
return 0;
86+
}
87+
88+
89+
if(jQuery) {
90+
$(document).ready($ice_col);
91+
$(document).ready($spawn);
92+
}
93+
94+
</script>
95+
96+
</head>
97+
98+
<body id="body">
99+
<div class="h4_page">
100+
<fieldset class="outer_menu">
101+
<legend></legend>
102+
<div class="h4_title"><h1>Site changelist</h1>
103+
<p class="alert">This resource will open a lot of other windows. Let this happen...</p>
104+
<p>please read the HTML header &amp; fix links. Adam Wulf requested that I didn't add the test driver, so this is passive, the functioning version is <a href="http://owenberesford.me.uk/external/c1-parent.html">where I left it</a></p>
105+
<p>Annotation is <a href="http://owenberesford.me.uk/resource/columnise">written</a></p>
106+
</div>
107+
<br />
108+
</fieldset>
109+
110+
<div class="after_menu">
111+
<br />
112+
<div class="blocker">
113+
<div class="lotsOfWords">
114+
<p>This is labelled as a change list not change log, as I am not publishing dates, authors or PM tracking ids. I am the author of everything. This is targeting <em>the site</em>, not the CMS.</p>
115+
116+
117+
<p>Site Changes (old to new);</p>
118+
119+
<ol class="ulbasic">
120+
<li class="libasic">Added the smart quotes back into the content, because they are better typography. This site is UTF-8 and tagged as such;</li>
121+
<li class="libasic">Improve the logging;</li>
122+
<li class="libasic">Upgraded the pips on lists with CSS, need to test on a few versions of msie, will fail over to dots;</li>
123+
<li class="libasic">Spend about a day minorly adjusting wording; stopping nouns from being “magic words”;</li>
124+
<li class="libasic">Redo the “website folder” structure so it reads better (please note not the filesystem);</li>
125+
<li class="libasic">Add footers generated via the Wiki libs, but not part of the stored page;</li>
126+
<li class="libasic">Auto-generate the TOC indexes at the top from the content, not using Wiki, so other renderers can access the TOC;</li>
127+
<li class="libasic">Add minor styling (mostly on the menu at the top);</li>
128+
<li class="libasic">Add more content;</li>
129+
<li class="libasic">Add more content;</li>
130+
<li class="libasic">Spelcheck [sic] everything again;</li>
131+
<li class="libasic">Add a few external pages for CAIN;</li>
132+
<li class="libasic">Rebuild .htaccess, the host doesn't like some of my settings;</li>
133+
<li class="libasic">Public access, site is now visible;</li>
134+
<li class="libasic">Add university work to the site to maintain parity with my CV;</li>
135+
<li class="libasic">Add a tiny-url feature;</li>
136+
<li class="libasic">Created strapline support (small text below the title);</li>
137+
<li class="libasic">Add support for per-resource CSS and JS;</li>
138+
<li class="libasic">Create a auto generated site-map resource;</li>
139+
<li class="libasic">Adjust the footer again for readability;</li>
140+
<li class="libasic">Add more content;</li>
141+
<li class="libasic">Categorise the system pages to accessgroup 1 (so not in site-map);</li>
142+
<li class="libasic">Add 'Content-Disposition' headers for binary downloads, msie will work properly now;</li>
143+
<li class="libasic">Improve error flowback, so should you somehow break this you are told why it fails;</li>
144+
<li class="libasic">The current codebase is to be a new version as soon as I have have time for the paperwork;</li>
145+
<li class="libasic">Add more content;</li>
146+
<li class="libasic">Re-add constants rather than define()'s, add PHP version constraint fail point;</li>
147+
<li class="libasic">Is now 0.2.0, need to upload to host at some point;</li>
148+
<li class="libasic">Add more test-cases;</li>
149+
<li class="libasic">Confirm and add w3c status. Do not understand their errors on strict xhtml, there is something about singleton tag they dislike. This is on my todo list. Oct 2013: Other people state there may be errors in the w3c validator;</li>
150+
<li class="libasic">Accidentally implement language selection before realise this will never be used;</li>
151+
<li class="libasic">Assorted error flow-back improvements in light of improved test suites;</li>
152+
<li class="libasic">Add more test-cases;</li>
153+
<li class="libasic">Split CV into different jobrole focused editions, add more project pages to website aka “Add more content”;</li>
154+
<li class="libasic">Add robots.txt and support for robots meta;</li>
155+
<li class="libasic">Start to create documentation for platform;</li>
156+
<li class="libasic">Use documentation to determine missing test cases, create more;</li>
157+
<li class="libasic">Use test cases to determine missing documentation, create more (these two items are abit recursive);</li>
158+
<li class="libasic">Add support for additional get args;</li>
159+
<li class="libasic">Add a resource source viewer, second edition added to footer;</li>
160+
<li class="libasic">Make version checking more useful, ought to upgrade code base version numbering;</li>
161+
<li class="libasic">Deploy new version (random fixes as I spot things);</li>
162+
<li class="libasic">Add HTML chunk support for random things that don't fit the current libraries;</li>
163+
<li class="libasic">Add an alternative mechanism for POST functions when the lack of correct syntax hi-lighting makes it hard to edit;</li>
164+
<li class="libasic">Test cases for POST retested, and made more useful;</li>
165+
<li class="libasic">Improve rendering on internal page redirects;</li>
166+
<li class="libasic">In a separate project, create a source form renderer. This will imported into iceline at some point;</li>
167+
<li class="libasic">Fix a batch of undefs I noticed whilst trying to get my sample for JDI to run;</li>
168+
<li class="libasic">Not yet in this project, but add more features to the form renderer in JDI;</li>
169+
<li class="libasic">Add alot of CSS &amp; JS for JDI;</li>
170+
<li class="libasic">Add more articles;</li>
171+
<li class="libasic">The page menus are now run through wiki;</li>
172+
<li class="libasic">Adjusted footer, so all the CSS is in the CSS file, rather than verbatum from w3c, add file modified date text;</li>
173+
<li class="libasic">Saw site in google listings, updated robots file. Need a mechanism to down prioritise old contents in my “external” category, those are mostly older than 2004;</li>
174+
<li class="libasic">Moved the HTML for the menu to the end of the document, hopefully google listing will be more useful now;</li>
175+
<li class="libasic">WikiResource now supports HTML inclusions in the Wiki text, if tagged with '['.'noEscape]' and '['.'/noEscape]' to delimit areas to ignore. Demonstrated on <a class="" href="http://owenberesford.me.uk/resource/search#">search</a>. This will be refocused as a multi-format-file-protocol in due time, so it resembles the PNG format (only hand editable);</li>
176+
<li class="libasic">Page menu made more useful, it will translate common URL symbols, before rasterisation;</li>
177+
<li class="libasic">Add linked-in URL to footer, as a cross media connection;</li>
178+
<li class="libasic">I am leaving the dates in the footer as a fairly ISO format as I think this is more useful to purpose. The primary use case is discovering cached content, and currency of information;</li>
179+
<li class="libasic">Adjust resource headers and menu at the top of the page, so it renders better on smaller screen sizes;</li>
180+
<li class="libasic">I have wongled enough things so that the nested lists are functioning correctly. This is a negotiation between the resource source file, and the Wiki library, I haven't added any code myself to manage this;</li>
181+
<li class="libasic">Update content again;</li>
182+
<li class="libasic">Add 'share' links to the pages;</li>
183+
<li class="libasic">Improve error handling on dynamically created code in individual resources;</li>
184+
<li class="libasic">File format2 &lt;applause&gt; &lt;parties&gt; &lt;ultra natey impressions&gt; &lt;wild dancing&gt;;</li>
185+
<li class="libasic">Host updates to PHP5.4;</li>
186+
<li class="libasic">Updated my test population, to run ALL v1.x features. Some stuff previously was rushed;</li>
187+
<li class="libasic">Update my docs;</li>
188+
<li class="libasic">Add more tests for v2;</li>
189+
<li class="libasic">Add more docs for v2;</li>
190+
<li class="libasic">&lt;format2 gets published to website here, Jan 2013&gt;;</li>
191+
<li class="libasic">Source gets uploaded to source forge;</li>
192+
<li class="libasic">Add form chunks to the format2, add more docs, add more tests;</li>
193+
<li class="libasic">Add the in-progress flag;</li>
194+
<li class="libasic">Add the status meta element;</li>
195+
<li class="libasic">Edit content;</li>
196+
<li class="libasic">Add select dropdowns as a option for forms;</li>
197+
<li class="libasic">Current domain registration expires in March, don't know if I should stick with the same host;</li>
198+
<li class="libasic">Improve format2 to allow including extra files;</li>
199+
<li class="libasic">Improve format2 to allow “page frames” of relatively static html (i.e. the body element and so on);</li>
200+
<li class="libasic">Escape URLs, so tidy says documents are valid UTF8 docs;</li>
201+
<li class="libasic">Advisory: never get ill, this breaks all normal performance charts;</li>
202+
<li class="libasic">Refactor render.php, to allow a better grade of test cases;</li>
203+
<li class="libasic">Lots of small English improvements/ content editing;</li>
204+
<li class="libasic">Remove alot of the “short term hack” global variables, <strong>finally</strong>. Add Config class;</li>
205+
<li class="libasic">Update docs;</li>
206+
<li class="libasic">Test the crash handler under a extra range of failures, make it better;</li>
207+
<li class="libasic">Required by the new host, need to patch Text_Wiki into the source tree;</li>
208+
<li class="libasic">Add JS test libraries, for other systems although no current use here;</li>
209+
<li class="libasic">Make alternatePost a useful feature;</li>
210+
<li class="libasic">Add reference db access;</li>
211+
<li class="libasic">Improve usefulness of post handling;</li>
212+
<li class="libasic">Add much more docs for iceline;</li>
213+
<li class="libasic">Audit the creation of the Singleton classes;</li>
214+
<li class="libasic">Rewrite the Session class, as different resources require different outcomes. This should optimise page render times;</li>
215+
<li class="libasic">Due to the above, have better caching strategy;</li>
216+
<li class="libasic">And again, on content-location header;</li>
217+
<li class="libasic">I am pleased that the main “index file” is 100lines, 50% convenience settings &amp; 50% the triggers for the state machine;</li>
218+
<li class="libasic">No new articles for the last section, due to time being used on rewrites;</li>
219+
<li class="libasic">Re-impl session cleanup. Suppress /assets/ from the breadcrumbs;</li>
220+
<li class="libasic">Add a stack of crash reporters, so it is possible to provide higher levels of information;</li>
221+
<li class="libasic">Rewrite the error page, so it reads better;</li>
222+
<li class="libasic">Start to add more CSS...</li>
223+
<li class="libasic">Improve v1/v2 duplexing;</li>
224+
<li class="libasic">Improve error reporting when doing noEscape blocks;</li>
225+
<li class="libasic">Pass my ZCE, which is why things have been stalled recently;</li>
226+
<li class="libasic">Add quite a few more articles;</li>
227+
<li class="libasic">Add table support, v1, via iceline, rather than via wiki;</li>
228+
<li class="libasic">Add a better means to build session keys;</li>
229+
<li class="libasic">Test a second parser for Text_Wiki in, but it was incompatible with my existing content, so remove again;</li>
230+
<li class="libasic">Add abit more JS so window resize works better;</li>
231+
<li class="libasic">Add more stability options when using old session keys;</li>
232+
<li class="libasic">Manually reapply smart-quotes to resources again;</li>
233+
<li class="libasic">Make practical use of [iceline] frames abit more sophisticated;</li>
234+
<li class="libasic">Make the renderer apply smart quotes, because the computer does it faster than me;</li>
235+
<li class="libasic">More articles;</li>
236+
<li class="libasic">Add a recent articles section to the home page;</li>
237+
<li class="libasic">Update iceline config docs, which had become stale;</li>
238+
<li class="libasic">Improve error reporting in alot of places;</li>
239+
<li class="libasic">Add 'protect-csrf' as a option to forms;</li>
240+
<li class="libasic">Improve internal logging in alot of the resource rasterisation;</li>
241+
<li class="libasic">Rebuild template merging again. Hopefully last rebuild;</li>
242+
<li class="libasic">Add validation rules 'lower' and 'upper' for input validation;</li>
243+
<li class="libasic">Add 'email' and 'free_text' base types to the rules lists for input validation;</li>
244+
<li class="libasic">Start to add 'placeholder' attribute support for form items (will be supported everywhere in the next actual version);</li>
245+
<li class="libasic">POST submission 'used in anger', and has more polish now, in v2. </li>
246+
<li class="libasic">Start to add IOInterface stuff;</li>
247+
<li class="libasic">Improve classpath mapping (needed for libraries);</li>
248+
<li class="libasic">Publish a version to SourceForge;</li>
249+
<li class="libasic">Add email support;</li>
250+
<li class="libasic">Add the start of IOInterface stuff;</li>
251+
<li class="libasic">Create and improve the new reach shell;</li>
252+
<li class="libasic">More articles</li>
253+
<li class="libasic">Add increasing amounts of ease of use to the menu structures;</li>
254+
<li class="libasic">Create FTP script so <em>new</em> content is uploaded to the webhost, this mean the sitemap works better;</li>
255+
<li class="libasic">Port everything to the reach shell, so it is easier to read, and more responsive;</li>
256+
<li class="libasic">Rebuild <a class="" href="http://owenberesford.me.uk/resource/mirror#">mirror</a> resource, this tests the '*' input validation;</li>
257+
<li class="libasic">Make the home resource responsive down to 700px wide under standards compliant webbrowsers;</li>
258+
<li class="libasic">The rest of the site is already responsive;</li>
259+
<li class="libasic">Make a seperate case for below 700px width. Please note, my test phones don't use that case;</li>
260+
<li class="libasic">Add appearance option, you can now choose the styling on the site...;</li>
261+
<li class="libasic">Add columnisation, so it is easier to read;</li>
262+
<li class="libasic">Add more resources;</li>
263+
<li class="libasic">Add more text imput filters;</li>
264+
<li class="libasic">Add another batch of articles;</li>
265+
<li class="libasic">Add another demo ~ Symfony MVC;</li>
266+
<li class="libasic">Improve columnisation;</li>
267+
</ol>
268+
269+
</div>
270+
</div>
271+
</div>
272+
<br />
273+
</div>
274+
275+
<br class="blocker" />
276+
<div class="h4_footer"> I deleted the footer contents </div>
277+
</body>
278+
</html>

0 commit comments

Comments
 (0)