<script>on mouseUpfullhelpend mouseUpon mouseenterhelper "Click here for more help for HTML Grinder."end mouseenter</script>
</part>
<name></name>
<script>on openstackput dater() into cd fld thedatepass openstackend openstackfunction daterput the selectedtext of card btn "date format:" into themodedo ("put the" && themode && "date into thedate")return thedateend dateron enterkeyset the hilite of cd btn "Append Text" to truewait 5set the hilite of cd btn "Append Text" to falsesend mouseup to cd btn "Append Text"end enterkeyon converter thefile,thecontentsput filemoddate(thefile,false) into thedatedo "convert thedate to" && (the selectedtext of card btn "date format:") && "date"put "<!--Date Stamp-->" &return& cd fld beforedate & thedate & (cd fld afterdate) &return& "<!--end of Date Stamp-->" into thetext--put thecontents into cd fld holding--get search(thecontents,"<!--Date Stamp-->",true)put item 1 of it into startlineget search(thecontents,"<!--end of Date Stamp-->",true)put item 1 of it into endlineif startline is empty or endline is empty thenput word 2 of the selectedline of cd btn insert into appendoif appendo is 1then put "0" into chartoucheelse if appendo is 2then put length(thecontents) into chartoucheelse if appendo is 3then put fulloffset(thecontents,cd fld texto,starter) into chartoucheelse if appendo is 4then put fulloffset(thecontents,cd fld texto,ender) into chartoucheif chartouche is not "error" thenput thetext &return after char chartouche of thecontentsend ifelse put thetext into line startline to endline of thecontentsReplaceFile thefile,thecontentsend converterfunction fulloffset thecontents,thetext,whichwayput thecontents into cd fld holdingfind string thetext in cd fld holdingif the result is not empty then return "ERROR"else if whichway is starterthen return (word 2 of the foundchunk) -1else return (word 4 of the foundchunk)end fulloffsetfunction firstchar thecontents,tagawareput thecontents into cd fld holdingif tagaware thenfind string "<body>" in cd fld holdingif the result is not empty thenfind string "</head>" in cd fld holdingif the result is not empty thenfind string "</title>" in cd fld holdingif the result is not emptythen put "0" into chunkyelse put word 4 of the foundchunk into chunkyelse put word 4 of the foundchunk into chunkyelse put word 4 of the foundchunk into chunkyelse put "0" into chunkyput empty into cd fld holdingreturn chunkyend firstchar</script>