rebol [ Title: "Rebol Friendly Sites" File: %rebol-friendly-sites.r Date: 30-Aug-2006 Version: 1.0.7 Needs: [view] Author: "Anton Rolls" Language: 'English Purpose: {Show sites that are rebol friendly. ie. they allow rebol cgi's etc. With feedback comment mechanism.} Usage: {} History: [ 1.0.0 [13-Nov-2002 {First version} "Anton"] 1.0.1 [14-Nov-2002 {added create-html, so we have only one source to change, copied standard-guis.r into the freezer} "Anton"] 1.0.2 [7-Mar-2003 {added Hosting Viruale and upload buttons} "Anton"] 1.0.3 [11-Apr-2003 {updated cniweb comment, new way of determining site and site-base, added fields for credentials at bottom} "Anton"] 1.0.4 [11-Jul-2003 {added xpeers.net, neusteps.com} "Anton"] 1.0.5 [21-Jul-2003 {added nebularis} "Anton"] 1.0.6 [3-Oct-2005 {added 1and1.com, added ftp-site-base for uploading, updated feedback-email} "Anton"] 1.0.7 [30-Aug-2006 {added lunarpages.com, replaced scrollpanel from standard-guis.r with my scroll-panel} "Anton"] ] ToDo: { - remove or update feedback email address - remove or update the upload code - check free.prohosting (see Carlos Lorenz email) not using BSDi anymore, but what? - status bar tells when file is being uploaded, success or not etc.. - errors should not be printed to console - pass field 'hide actually turns the string into asterisks (use face/data instead, I think) - resizeable window } Notes: {} ] site: select load-thru http://www.rebol.net/reb/index.r [folder "Anton"] clear find site %index.r site-base: copy/part find/tail site http:// find site "rebol/" ftp-site-base: to-url "www.lexicon.net/public_html/" feedback-email: join to-email head reverse "@rnotna" "lexicon.net" ; <-- not included in the HTML ;do load-thru site/freezer/standard-guis.r ;do load-thru http://www.codeconscious.com/rebsite/rebol-library/standard-guis.r do-thru site/library/include.r include [site/gui/scroll-panel.r [scroll-panel-style]] do load-thru site/freezer/form-error.r html-file: %RebolFriendlySites.html local-html-file: join %/D/Anton/Site/ html-file public-html-url: join http:// [site-base html-file] site-data: [ "Lunarpages.com" http://lunarpages.com 30-Aug-2006 {mentioned by Nick Antonaccio: "I've hosted a number of short CGI scripts on their servers. I'm not sure if there are any limitations, but everything I've tried there has worked without problems."} "" http://1and1.com 3-Oct-2005 {mentioned by Graham "I uploaded it, chmoded it and it worked. that's how rebol.org gets it's mail feed ... from a rebol cgi script running on 1and1.com"} "Nebularis" http://www.nebularis.com/hosting.php 21-Jul-2003 "" ;www.inflow.com ; Ted Serpa's server equipment is there (He's open to the idea of IOS hosting) "neusteps" http://neusteps.com/ 12-Jul-2003 "IOS Hosting" "xpeers.net" http://www.xpeers.net/ 11-Jul-2003 "Robert M. Muench - IOS hosting" "Hosting Virtuale" http://www.hostingvirtuale.com/english/rebol.php 7-Mar-2003 "Gabriele Santilli (a big reboller) - IOS hosting" "DreamHost" http://www.dreamhost.com 12-Nov-2002 "I have a site served by dreamhost.com They are an excellent ISP who use suExec to make installation and CGI work very friendly. They start at $9.95/month. - Jason Cunliffe" "Xitami" http://www.xitami.com/ 12-Nov-2002 "The Xitami web server is free and does Rebol CGI exactly like the examples in the Rebol documentation. - Andrew Martin" "Pacific.Net" http://www.pacific.net 20-Jul-2001 "No direct support, but they have it installed and users" "Audiopia" http://www.audiopia.net/webcd "before May-2001" "" "HappySite" http://www.happysite.net "before May-2001" "Host to Allen Kamp's www.rebolforces.com They seem very rebolious." "" http://www.mersinet.co.uk "before May-2001" "Require local dial-in" "" http://www.cniweb.net "11-Apr-2003" {"...high praise ... They host rebol .... on Sun, Linux, NT." - Tim Johnson} "" http://www.e-domainsolutions.com "before May-2001" "" "" http://www.netisnet.co.uk "before May-2001" "Allow rebol.exe in cgi-bin/ and telnet access" "" http://free.prohosting.com "11-Apr-2003" {With popup banner window. "I have my site hosted at Prohosting. You upload rebol and use it (the BSDi version)." - Maarten Koopmans} "PowerWebs AB in Sweden" http://www.powerwebs.se/powerwebsab.asp "before May-2001" "" "ActiveHost Corporation (NY)" http://www.ntwebhosting.com/ "before May-2001" "" ] create-html: func [ "Formats site-data into a html document" data {pass site data here, in a block like this (one entry shown): [name [string!] url [url!] date [date! string!] note [string!]]} /local output ][ output: make string! 1000 ; header part append output rejoin [ {
| Site | Date | Notes } ] ; the site-data foreach [name url date note] site-data [ append output rejoin [ { |
| } either empty? name [""][join name { }] url "^/" " | " date "^/" " | " note "^/^/" ] ] ; tail part append output rejoin [ { |