Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

CMS in REBOL?

 [1/20] from: carlos::lorenz::bol::com::br at: 15-Oct-2003 14:58


Hello list Is there some Content Management System written in REBOL? Carlos

 [2/20] from: andrew:martin:colenso:school at: 24-Dec-2003 22:40


Carlos wrote:
> Is there some Content Management System written in REBOL?
Perhaps you could elaborate on CMS means to you? What "stuff" would be accomplished by having and using a CMS? Andrew J Martin Attendance Officer & Grail Jedi. Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM http://www.colenso.school.nz/ DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally liable) for materials distributed to or acquired from user e-mail accounts. You can report any misuse of an e-mail account to our ICT Manager and the complaint will be investigated. (Misuse can come in many forms, but can be viewed as any material sent/received that indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate language and/or other issues described in our Acceptable Use Policy.) All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0 Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]

 [3/20] from: carlos:lorenz:bol at: 15-Oct-2003 18:06


Andrew, I am very used to systems such as e107 (www.e107.org) for instance. I like the flexibility it gives me when all I want is to have some dinamic data (news, photos, ect) published in a hurry. I thought it would be a great idea to have something similar to E107 written in REBOL. I am very inclined to write a CMS myself using REBOL but first I'd like to know if is there any that I could start from. Carlos Em Qua 15 Out 2003 17:42, Andrew Martin escreveu:

 [4/20] from: andreas:bolka:gmx at: 16-Oct-2003 0:12


Wednesday, October 15, 2003, 10:06:06 PM, Carlos wrote:
> I like the flexibility it gives me when all I want is to have some > dinamic data (news, photos, ect) published in a hurry. > I am very inclined to write a CMS myself using REBOL but first I'd > like to know if is there any that I could start from.
You could have a look at vanilla - http://www.langreiter.com/space/vanilla :) -- Best regards, Andreas

 [5/20] from: andrew:martin:colenso:school at: 24-Dec-2003 22:40


Carlos wrote:
> I am very used to systems such as e107 (www.e107.org) for instance.
Unfortunately, my work's firewall prevents me from accessing this (and my home internet isn't working 'till next week). Can some one summarise or could Carlos send a interesting page from the site please?
> I thought it would be a great idea to have something similar to E107
written in REBOL. It could be a good idea? Andrew J Martin Attendance Officer & Grail Jedi: in a deep dungeon peeking out from behind a firewall, & sending emails with the help of herds of friendly electrons...Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM http://www.colenso.school.nz/ DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally liable) for materials distributed to or acquired from user e-mail accounts. You can report any misuse of an e-mail account to our ICT Manager and the complaint will be investigated. (Misuse can come in many forms, but can be viewed as any material sent/received that indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate language and/or other issues described in our Acceptable Use Policy.) All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0 Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]

 [6/20] from: warp:reboot:ch at: 16-Oct-2003 5:27


Hi Andrew, try this page: http://opensourcecms.com/modules.php?name=Content&pa=showpage&pid=6 [16.10.2003 4:11 "Andrew Martin" [andrew--martin--colenso--school--nz]]
> Unfortunately, my work's firewall prevents me from accessing this (and > my home internet isn't working 'till next week). Can some one summarise > or could Carlos send a interesting page from the site please? >
Will Arp [warp--reboot--ch]

 [7/20] from: andrew:martin:colenso:school at: 24-Dec-2003 22:40


Hi, Will. You wrote:
> try this page: > http://opensourcecms.com/modules.php?name=Content&pa=showpage&pid=6
Sorry, our school's firewall is just tooooooooo high! :) I suggest HTML email! Andrew J Martin Attendance Officer & Grail Jedi Who's supply of witty taglines seems to have dried up at the moment... Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM http://www.colenso.school.nz/ DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally liable) for materials distributed to or acquired from user e-mail accounts. You can report any misuse of an e-mail account to our ICT Manager and the complaint will be investigated. (Misuse can come in many forms, but can be viewed as any material sent/received that indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate language and/or other issues described in our Acceptable Use Policy.) All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0 Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]

 [8/20] from: carlos:lorenz:bol at: 16-Oct-2003 8:25


Andreas, That's really good . I did not know the existence of Vanilla Thank you Carlos Em Qua 15 Out 2003 20:12, Andreas Bolka escreveu:

 [9/20] from: jason:cunliffe:verizon at: 16-Oct-2003 17:03


> > You could have a look at vanilla - > > http://www.langreiter.com/space/vanilla :) > That's really good . I did not know the existence of Vanilla
Yes [best kept secrets] strangely, and unfortunately Vanilla, one of Rebol's coolest apps, is off the radar. It's even off the radar at http://rebol.com [try a search] That makes no sense. What a shame there is still not any support or links to it there. - Jason

 [10/20] from: SunandaDH:aol at: 16-Oct-2003 17:26


Jason:
> It's even off the radar at http://rebol.com [try a search]
Maybe their search isn't working. But Vanilla _is_ featured. Click the "Developer Web Links" on www.rebol.com home page, and there it is in the middle of the page -- It calls it "An amazing, extensible wiki/blog powered by small REBOL script modules." I'm not sure it's the *right* link, but it's start. Sunanda.

 [11/20] from: jason:cunliffe:verizon at: 16-Oct-2003 21:42


> Click the "Developer Web Links" on www.rebol.com home page, and there it
is
> in the middle of the page -- It calls it "An amazing, extensible wiki/blog > powered by small REBOL script modules." > > I'm not sure it's the *right* link, but it's start.
Good news.. thanks. Search would seem to tbe one of the things Rebol excels at. So I assumed wrongly [again] that rebol.com would try and seriously demonstrate that. Vanilla still deserves much better write-up from RT and elsewhere. Maybe they don't really understand appreciate it, except by hearsay? - Jason

 [12/20] from: amicom:sonic at: 16-Oct-2003 22:56


A bit of history... When I was at RT, I wrote a website search for developer.rebol.net where the library used to be located (or was it demo.rebol.net...I forget) using Rebol. It was fast and nice (in my opinion), and it showed the power of Rebol. However, RT later switched to a different search tool perhaps because they didn't want to invest the time to extend it for more general web site searches, or perhaps my initial design was flawed when it was considered to be extended. Bohdan "Bo" Lechnowsky Lechnowsky Technical Consulting At 09:42 PM 10/16/03 -0400, you wrote:

 [13/20] from: jason:cunliffe:verizon at: 17-Oct-2003 2:31


> A bit of history...
aha.. Thank you for filling me in one corner of a decidedly odd mystery - to wit: If Rebol is so cool [we know it is] then why its authors [RT] don't demo and present that better? Why is there is no "About this site" which makes it clear that Rebol is tangibly useful for web sites? Meanwhile, do you have any insights about how to create a Rebol web server suitable for running Vanilla? What's been attempted, incentives, obstacles, pros/cons, recommendations ?? thanks for any thoughts on this - Jason

 [14/20] from: jason:cunliffe:verizon at: 17-Oct-2003 3:25


> If Rebol is so cool [we know it is] then why its authors [RT] don't demo
and
> present that better? > Why is there is no "About this site" which makes it clear that Rebol is > tangibly useful for web sites?
My apologies - that just sounds much more cranky than intended. Glad to see there are a few improvements at rebol.com. I realize that in most respects Rebol is aimed at implementing a post-web browser vision. But we aint there yet and web servers and web sites are still pretty damn useful. Anyone know how much traffic AltME can handle? Is it 100% Rebol? - Jason

 [15/20] from: SunandaDH:aol at: 17-Oct-2003 3:54


Jason:
> Search would seem to tbe one of the things Rebol excels at. > So I assumed wrongly [again] that rebol.com would try and seriously > demonstrate that.
The search on rebol.com is pretty basic and could do with some work as both you and Bo suggest. REBOL _is_ good at website searches, as the tool built by Gregg and Volker from some initial code from Carl on REBOL.ORG shows. Try these searches at REBOL.org (type into the "Find scripts" box) ;; any script with the word "parse" anywhere: parse ;; any script with "parse" in its title: parse in title ;; find small scripts: size <= 1000 ;; find very recent scripts: date > 01-oct-2003 It can't do boolean combinations of search parameters yet, so you can't find all of Gregg's recent additions... date > 01-sep-2003 and gregg in author ;; doesn't work ....but it should give you some idea of what is possible in REBOL for building a website search function. Online help page with more examples at: http://www.rebol.org/cgi-bin/cgiwrap/rebol/boiler.r?display=introduction.html Sunanda.

 [16/20] from: jason:cunliffe:verizon at: 17-Oct-2003 4:25


Sunanda
> REBOL _is_ good at website searches, as the tool built by Gregg and Volker > from some initial code from Carl on REBOL.ORG shows.
ooh cool :-) Thanks for the heads-up. As you see, I've been away from Rebol for a while. Very nice to see this site now-- well done! Can you describe the site design and contents formatting in more detail please What do the actual entries look like? thanks - Jason

 [17/20] from: jason:cunliffe:verizon at: 17-Oct-2003 4:31


> Try these searches at REBOL.org (type into the "Find scripts" box)
Please can you point me to the actual search script which is running on the site? thanks - Jason

 [18/20] from: SunandaDH:aol at: 17-Oct-2003 6:19


Jason,
> ooh cool :-) Thanks for the heads-up. > As you see, I've been away from Rebol for a while. Very nice to see this > site now-- well done!
Glad you like it. Thanks!
> Can you describe the site design and contents formatting in more detail > please
Take a look at this script in the Library http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=cookie-example .r It uses many routines lifted direct from the REBOL.org CGIs, and demonstrates some of techniques we use -- techniques that could be common to almost any website built in REBOL: -- HTML templates with place-holders for variable substitution (RSP does it better; if I was starting the site over again, I'd be tempted to use RSP) -- Making an object out of the CGI input fields -- "Defusing" CGI input fields to prevent XSS attacks, or just weird output formatting -- Validating CGI input fields -- Setting a cookie for session control -- Using the cookie to retrieve user data --Wrapping all the code in an error? try so you get an apology message rather than a server error if the code goes off-rail.
> Please can you point me to the actual search script which is running on the > site? > What do the actual entries look like?
The indexing and searching code isn't mine, so I'll have to pass on the request to publish it -- it's Carl's code with a lot of changes by Gregg. But I can give you a peek at the files it uses. The indexing builds two files. The first is mainly the scripts' header information and looks like this: === [file %3kbnewsreader.r size 4605 title "3KB News Reader" author "Ryan C. Christiansen" date 30-Aug-2003 version 0.1.1 purpose "Simple CLI news reader." library [level 'intermediate platform none type 'Tool domain 'other-net tested-under none support none license none]] [file %accumulate.r size 1098 title "Accumulate" author "Andrew Martin" date 30-Aug-2003 version 1.0.1 purpose {Cumulates values in a block together, by successively applying the function to each value in Series.} library [level 'intermediate platform none type 'function domain 'math tested-under none support none license none]] [file %add-link.r size 2295 title "Link Maintainer" author "Anonymous" date 30-Aug-2003 version 1.0.0 purpose "Cgi for maintaining links to REBOL materials" library [level 'advanced platform none type 'Tool domain 'cgi tested-under none support none license none]] etc ==== And the second is an index of all words found, and looks like this: ===== exponent 312 exponential 125 export 15 72 122 182 183 262 expose 359 361 362 363 expose-list 362 Exposed 359 362 ===== Where the numbers are indexes to script names. So six scripts contain the word "export". This scheme works well with around 500 scripts of total size nearly 2MB. Gregg is working on some improvements so we keep ahead of the curve as the dataset grows. Sunanda.

 [19/20] from: jason:cunliffe:verizon at: 17-Oct-2003 6:54


> The indexing and searching code isn't mine, so I'll have to pass on the > request to publish it -- it's Carl's code with a lot of changes by Gregg.
But I
> can give you a peek at the files it uses. > The indexing builds two files. The first is mainly the scripts' header > information and looks like this:
---8<-snip--- Thanks very much :-) Jason

 [20/20] from: greggirwin:mindspring at: 17-Oct-2003 10:45


Hi Jason, JC> Please can you point me to the actual search script which is running on the JC> site? If you download the REBOL version of the librarian from REBOL.org, it contains all the code you're interested in. The support/librarian-lib.r module contains the search-related code. -- Gregg