------------------------------------------------------------
commit def843500da316acce10908b16fbe4d1b476c9be
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 21:33:13 2024 +0000 updated tries.scroll diff --git a/tries.scroll b/tries.scroll index e69de29..94ed85f 100644 --- a/tries.scroll +++ b/tries.scroll @@ -0,0 +1,53 @@ +urlParser + extends abstractIdParser + description URL to the creation being tried? + float sortIndex 1.1 + required + +creationParser + extends abstractStringMeasureParser + description What is the title of the creation? + float sortIndex 1.12 + +tryParser + extends abstractUrlMeasureParser + float sortIndex 1.3 + description URL to the builder test video? + required + +rankParser + extends abstractFloatMeasureParser + float sortIndex 1.05 + description What is the current rank? + boolean isComputed true + javascript + computeValue(concept, name, parsedProgram) { + if (!Particle.ranks) { + Particle.ranks = {} + const urls = parsedProgram.topDownArray.filter(particle => particle.cue === "url").map(particle => particle.content) + urls.forEach(url => { + if (!Particle.ranks[url]) + Particle.ranks[url] = {url, count: 0} + Particle.ranks[url].count++ + }) + const sortedRanks = Object.values(Particle.ranks).sort((a, b) => b.count - a.count); + sortedRanks.forEach((rank, index) => { + Particle.ranks[rank.url] = index + 1 + }) + } + return Particle.ranks[concept.get("url")] + } + +triesDateParser + cue date + extends abstractStringMeasureParser + float sortIndex 1.4 + description When did they try? + required + +buildernameParser + extends abstractStringMeasureParser + description Buildername of the trier? + float sortIndex 1.5 + required + ------------------------------------------------------------
commit 72ea43369b0fc9b4b87eb91bf50d76e93c296036
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 21:33:05 2024 +0000 created tries.scroll diff --git a/tries.scroll b/tries.scroll new file mode 100644 index 0000000..e69de29 ------------------------------------------------------------
commit 23874fb18145a924a8c1d75449100d33f6bae5da
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 20:39:17 2024 +0000 updated hello.scroll diff --git a/hello.scroll b/hello.scroll index 3e9965c..d31bfeb 100644 --- a/hello.scroll +++ b/hello.scroll @@ -3,6 +3,8 @@ hello world shoutParser cue shout extends abstractScrollParser + atoms cueAtom + catchAllAtomType stringAtom javascript buildHtml() { return `<h1>${this.content}</h1>` ------------------------------------------------------------
commit 642999ad68d28384833282d76efe5487ff9de237
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 20:26:49 2024 +0000 updated hello.scroll diff --git a/hello.scroll b/hello.scroll index 3b18e51..3e9965c 100644 --- a/hello.scroll +++ b/hello.scroll @@ -1 +1,9 @@ hello world + +shoutParser + cue shout + extends abstractScrollParser + javascript + buildHtml() { + return `<h1>${this.content}</h1>` + } \ No newline at end of file ------------------------------------------------------------
commit 969342220332ab53248a94fde7e7bba68e5c649a
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 19:47:57 2024 +0000 updated hello.scroll diff --git a/hello.scroll b/hello.scroll index e69de29..3b18e51 100644 --- a/hello.scroll +++ b/hello.scroll @@ -0,0 +1 @@ +hello world ------------------------------------------------------------
commit ce926a47fedec96f88644428ce2aeb6fe3c2828b
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 19:47:53 2024 +0000 created hello.scroll diff --git a/hello.scroll b/hello.scroll new file mode 100644 index 0000000..e69de29 ------------------------------------------------------------
commit 97497021065c31ee74cdea683d860b22b55bf687
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 19:29:37 2024 +0000 Renamed shout.scroll to shout.parsers diff --git a/shout.scroll b/shout.parsers similarity index 100% rename from shout.scroll rename to shout.parsers ------------------------------------------------------------
commit 6a1628b6cbbc5dff38227d4f6b5f61abd7fff752
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 19:29:28 2024 +0000 updated shout.scroll diff --git a/shout.scroll b/shout.scroll index e69de29..886fb89 100644 --- a/shout.scroll +++ b/shout.scroll @@ -0,0 +1,7 @@ +shoutParser + cue shout + extends abstractScrollParser + javascript + buildHtml() { + return `<h1>${this.content}</h1>` + } \ No newline at end of file ------------------------------------------------------------
commit bda69ac026086fedd76aef1240579a8084df7c89
Author: ffff:72.234.190.31 <ffff:72.234.190.31@hub.scroll.pub> Date: Fri Nov 29 19:28:50 2024 +0000 created shout.scroll diff --git a/shout.scroll b/shout.scroll new file mode 100644 index 0000000..e69de29 ------------------------------------------------------------
commit 93e43037b7794c5d3de89eaf6afe3e3d561d8df3
Author: root <root@hub.scroll.pub> Date: Sun Nov 10 20:12:15 2024 +0000 initial blank_template template diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bd1a52d --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +*.html +*.txt +*.xml +*.css +*.js +*.csv +requests.scroll \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..4442ed6 --- /dev/null +++ b/index.scroll @@ -0,0 +1,4 @@ +buildHtml +theme roboto + +Hello World my name is \ No newline at end of file