AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 4 |
r3wp | 53 |
total: | 57 |
results window for this page: [start: 1 end: 57]
world-name: r4wp
Group: Announce ... Announcements only - use Ann-reply to chat [web-public] | ||
NickA: 6-Oct-2012 | I wrote a tutorial that makes use of Chris Ross-Gill's Etsy.r module: http://re-bol.com/etsy_api_tutorial.htmlThe focus of this one is all about helping the Etsy API developer team, but by necessity, it teaches all the REBOL basics, along with all the absolute beginner concepts. I'm hoping the Etsy guys will write a blog post about it and help drive some more traffic toward REBOL :) | |
Group: Ann-Reply ... Reply to Announce group [web-public] | ||
Arnold: 16-Jul-2012 | We are not mistaking this post from last year: http://rebolweek.blogspot.nl/2011/07/news-from-robert-muench-about-r3.html to be from this year?!? Then juli 23rd is soon. | |
DideC: 1-Mar-2013 | @NickA: About enhanced r3 chat, have a look to %wchat.r in the %OpenMe/ folder of this Altme world. Basically its %chat.r but it act as a proxy between the Devbase server and the browser. The goal is that the browser replace the CLI interface : not typing command in CLI but cliking link in the browser. Its just a start. There is some work to do to handle POST request and then allow posting. + enhancing HTML presentation. | |
Group: !REBOL3 ... General discussion about REBOL 3 [web-public] | ||
Chris: 16-Jan-2013 | Not at all. Particularly if you consider the HTML form -- GET sends parameters in the URL, POST sends parameters in the body. And consider the usage of each: GET is usually some type of search/filter facility, POST is sending data to be stored. |
world-name: r3wp
Group: !AltME ... Discussion about AltME [web-public] | ||
Sunanda: 2-Apr-2008 | I can't either. Two work-arounds, assuminng you want to capture and save the post: 1. cut'n'paste it from the HTML archive -- though this may lose you some formatting and/or indenting: http://www.rebol.org/cgi-bin/cgiwrap/rebol/aga-display-posts.r?post=r3wp157x10054 | |
Sunanda: 1-Jun-2010 | It is annoying, isn't it. Documented here: http://www.altme.com/notes/blade-runner.html and here: http://www.rebol.org/aga-display-posts.r?offset=0&post=r3wp151x3911 | |
Group: RAMBO ... The REBOL bug and enhancement database [web-public] | ||
Rondon: 11-Oct-2005 | just for reference... http://ppewww.ph.gla.ac.uk/~flavell/www/post-redirect.html | |
Group: Core ... Discuss core issues [web-public] | ||
Pekr: 2-Jul-2006 | I am also not sure, how many ppl has turned off ability to display html content in email .... maybe it would be better to actually not send post-card .... but post a link to on-server stored image? | |
Maxim: 19-May-2009 | this is easy to figure out using firebug ;-) redirect the html page to a server you have cheyenne running and save out the whole http request, you will have url and post data :-) | |
Group: Script Library ... REBOL.org: Script library and Mailing list archive [web-public] | ||
Sunanda: 26-Apr-2006 | It'd fidddly too as REBOL.org post-processes the output from Makedocpro, Makedoc2, eText, NicomDoc and a couple of other D2H converters. And they all have different quirks. And not all codes need to be escaped -- those within <pre> tags for example; though you can't always be sure you've isolated them if the generated HTML is not well formed. And so on. I'm surprised at times that there are so few glitches. | |
Sunanda: 26-Apr-2006 | That should be okay now. As Reichart notes, the fact you can embed HTML into a makedoc2 source is a great freedom for the end use, but can be a pain for anyone wanting to post process the generated HTML that it emits. | |
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public] | ||
DaveC: 31-May-2007 | Hi RayA and Welcome. I am a new to AltMe too. I think you are right about the evolution of the web. The Desktop OS has become an application in itself (IMHO). It's the focus of so much angst, controversy and complication. (Nailing my personal colours to post here: I declare myself a BSD UNIX type. I can still install the latest version in much less than 100MB of HD space and 32MB ram and 100Mhz CPU. In fact I run it on an old Toshiba laptop with that spec and get real work done) I think, in principle, DOS was my idea of a good OS (I know, I know...) It was small, fast a stable. Yes - lockups were common when pushed, but I found it was the application that crashed rather than DOS itself. Ok. back in the world of the 21st Century, an OS need many many times the resources of DOS just to get itself booted. But basically, all I want from the OS is to let the applications get on with the job in hand. What attracts me to Rebol is that it is clean and lightweight. Designed by a man who I respect as a Computer Scientist. (And, of course, the Rebol community, which collectively one might say is a "killer app" too). It's very productive and I'm building internal information systems with it. I've got a few ideas to build my own apps outside of work, that is an exciting prospect for the future. I keep trying other frameworks/languges and over the last six years or so I've lost the "Rebol way" and strayed from the one true path! I do find myself coming back to Rebol as I run into more library conflict/dependency/blot features of some of the other languages I used. Maybe I'm getting impatient of complicated technology now I'm older. I just get tired of having to search the internet for the latest whatever.so.1 lib, or what have you. I'm making a general point here BTW - I know there are some very good language implimentations out there. I don't know what the next killer app will be, but I do think there is a place for a machine "Powered by REBOL" which boots in a few seconds, lets me communicate, write view images, multimedia, code my own Rebol apps from a set of built in services, oh and the battery lasts for days - not hours! It would have to display HTML too (legacy web :-)) So there you go, a bit of a rant from an old geezer technologist . Now where's me 8" floppies I need to boot that PDP-11? | |
Henrik: 19-Jan-2008 | you can explore this yourself by studying the source for various loop functions. http://www.hmkdesign.dk/rebol/files/385cc7420409fa08f768a537a52ce4d8-76.html That blog post might be of help. | |
Sunanda: 11-Nov-2011 | You concatenate the args. Example: as a GET r-get: read http://www.rebol.org/st-topic-details.r?tag=domain//html&start-at=26&limit=25 Same request as a POST: r-post: read/custom http://www.rebol.org/st-topic-details.r[post "tag=domain//html&start-at=26&limit=25"] | |
Group: Make-doc ... moving forward [web-public] | ||
[unknown: 5]: 30-May-2005 | I'm getting ready to make some changes to the make-doc spec for my own use to include some extra formatting for bible verses. I want to be able to put in some specs that allow for wrapping of verses and a horizontally wrapped contents spec to go to a specific verse in the Book title. I haven't looked at the code yet so I thought I would jump here and post this and hope for some quick pointers on how I should approach the code before I begin. Specifically what parts of the code will need to be altered or what I should look out for and maybe what kinds html tags should I implement for the wrapping of verses etc.. | |
Group: CGI ... web server issues [web-public] | ||
MikeL: 5-Jun-2005 | Steve, If it is a small number of fields, you can change the html submit action from a 'Post to a 'Get then you will see the fields in the URL when submitted. Just take a copy of the HTML page if it is not yours and look for the Action word in the Form to change then run it yourself. | |
François: 25-Jul-2005 | It looks like the problem does not come from the past-translated, but from the 'request-method: with CGI, the values are "GET" or "POST", but with FastCGI, the values are "GET^@^@^@^@" or "POST^@^@^@". But with lighttpd, no problem. So to make FastCGI rebol scripts work with LiteSpeed, we have to update the exemple http://www.rebol.com/docs/words/wread-io.html as: | |
RebolJohn: 15-Nov-2005 | Hello everyone.. I have a CGI problem/question. I have a Win-apache-rebol server that isn't propagting the cgi info properly.. Upon posting.. the query-string is empty. I am not sure what I am missing.. Details: page1.rcgi ======================== #!c:\rebol\rebol.exe -cs rebol [] print "content-type: text/html^/" print "<html><body>" print " <form action='page2.rcgi' method='POST'>" print " <input type='text' name='var01' size='16' value='test'>" print " <input type='submit' name='go' value='Lookup'>" print " </form>" print "</body></html>" page2.rcgi ======================== #!c:\rebol\rebol.exe -cs REBOL [ ] print "content-type: text/html^/" print "<html><body>" print mold system/options/cgi print "<hr>" print "</body></html>" if I .. ( decode-cgi system/options/cgi/query-string ), my vars are all undefined. Also, looking at the 'print mold system/options/cgi' shows query-string="" if I change page1 form-action to ... "action='page2.rcgi?x=123" then the query-string on page2 gets populated with x=123 and the value 123 gets assigned to 'x' when I 'decode-cgi'. However, my form fields NEVER get populated. Does anyone have any advice? John. | |
Louis: 10-May-2006 | What is wrong with this script? #!/home/daysprin/public_html/cgi-bin/rebol -cs REBOL [] print "Content-type: text/html^/" html: make string! 2000 emit: func [data] [repend html data] read-cgi: func [ ;Read CGI data. Return data as string or NONE. /local data buffer ][ switch system/options/cgi/request-method [ "POST" [ data: make string! 1020 buffer: make string! 16380 while [positive? read-io system/ports/input buffer 16380][ append data buffer clear buffer ] ] "GET" [data: system/options/cgi/query-string] ] data probe data ] cgi-data: decode-cgi read-cgi print cgi-data write/append %nr.txt reform [ now/date system/options/cgi/remote-addr mold cgi-data newline ] | |
Group: !Uniserve ... Creating Uniserve processes [web-public] | ||
Will: 1-Sep-2006 | Hello Name example: <% validate [name -]%> <html> <body> <% either request/var/name [ print [{Hello} request/var/name] ][ print {<form method="POST" action="test.rsp"> <input type="text" name="name"> </form>}] %> </body> </html> | |
Group: XML ... xml related conversations [web-public] | ||
Chris: 9-Nov-2008 | The web and soap/http are in a sense REST applications (REST is just WS over HTTP) though both use a limited subset of REST arguments and have to work around as such. The web is limited (by the HTML spec) to the verbs 'get and 'post, and post content types of 'application/x-www-form-urlencoded (default) or 'multipart/form-data (used to upload files). For the most part, the web is RESTful as we usually only want to 'get resources. However, other operations typically violate REST principles, as all other resource actions (create, update, delete) have to squeeze through the get/post/url-encode/multipart pipe. The Rebol HTTP protocol as standard is designed to mimic this and requires patching to move beyond get/post/url-endode (even for multipart) SOAP as I understand it, when using HTTP only uses 'post - the post content contains the actual request. Where it varies from the web (and Rebol HTTP) is the need for the 'text/xml content type. REST itself is limited only by HTTP. It uses theoretically limitless HTTP (v1.1) verbs (though most common patterns use 'get, 'put, 'post and 'delete). It uses any encoding. It uses HTTP headers as parameters (eg. the 'Accept header specifies the desired return type). Therefore, any HTTP protocol designed for REST will accomodate SOAP requests. | |
Group: Hardware ... Computer Hardware Issues [web-public] | ||
Gerard: 5-Aug-2011 | MS announced its .NET Gadgeteer toolkit for Electronics Hardware Fans. See this post to get more info and see a short video of the toolkit running a small mainboard with many other appliances boards attached to it. http://www.newscientist.com/blogs/onepercent/2011/08/microsoft-releases-toolkit-to.html | |
Group: Tech News ... Interesting technology [web-public] | ||
Pekr: 11-Aug-2006 | .NET and JAVA to get better dynamic language support - http://arstechnica.com/news.ars/post/20060810-7462.html | |
Henrik: 3-Oct-2006 | http://arstechnica.com/news.ars/post/20061002-7877.html<---- Teens think E-mail is for Old People. | |
Pekr: 1-Nov-2006 | The flawed word of web standards? http://arstechnica.com/news.ars/post/20061029-8101.html | |
Mchean: 3-May-2007 | MS to support Dynamic Languages: http://arstechnica.com/news.ars/post/20070430-microsoft-reveals-dynamic-language-runtime-for-net.html | |
Pekr: 9-Jul-2007 | another notebook for children, from Intel - http://arstechnica.com/news.ars/post/20070708-abrief-look-at-the-intel-classmate-pc-with-linux.html | |
Rebolek: 22-Oct-2007 | http://arstechnica.com/news.ars/post/20071021-core-of-windows-7-taking-shape-meet-the-minwin-kernel.html | |
Pekr: 1-Oct-2008 | Nokia launches its own mobile toolkit platform, Linux plus Qt toolkit based: http://arstechnica.com/news.ars/post/20080930-nokia-launches-linux-based-qt-extended-mobile-platform.html http://trolltech.com/products/device-creation/qt-extended/qt-extended-4.4-release | |
btiffin: 21-Nov-2008 | This kinda ties in with the no-installation blog. No installation being "all installation, or Just Enough Installation" in this case. http://arstechnica.com/news.ars/post/20081121-virtual-appliances-made-easy-with-rbuilder.html | |
btiffin: 10-Dec-2008 | http://arstechnica.com/news.ars/post/20081209-safer-than-activex-a-look-at-googles-native-client-plugin.html Sorry if this isn't new news. A new native code client side layer | |
Group: !REBOL3-OLD1 ... [web-public] | ||
JohanAR: 21-Mar-2008 | I wrote a lengthy post, hoping to start a constructive discussion on how we could increase Rebol's popularity and enbiggen (I know it's not a real word, but I didn't want to use "increase" twice in one sentense :P) it's userbase. I hope this is something more people are thinking about now that Rebol 3 is imminent. Please have a look at http://www.reboltalk.com/forum/index.php/topic,1513.0.html (I'm not trying to draw people away from Altme, but I think there's a need for a good Rebol forum too! :)) | |
Henrik: 3-Jan-2009 | because it's just a simple HTML page. you can't post yet and you can't login to your own account yet like the console version. it's meant to be used with lesser browsers for smaller phones than iPhone as well. | |
Sunanda: 4-Jan-2009 | Another part of the problem, at least from the webpage viewpoint, is that each of us could be posting AltME messages in different charsets. All the HTML emitters for AltME worlds that I know of (AltME's own, REBOL.org, REBOL.net) emit a single webpage file, so it can only have one charset. To do it right, each post should be emitted as a separate document/frame item. Then they'll each have their own charset.....That's a lot of extra work. Let's hope Gabriele's solution (a utf-8 universe) happens before that becomes essential. | |
Group: Postscript ... Emitting Postscript from REBOL [web-public] | ||
Pekr: 6-Apr-2006 | Graham - either give me native rebol post script viewer, or forget it. I will not install ghost script - being there, done that. Because - today, in corporate sphere, there are two output interfaces - browser, or PDF Reader - noone will install anything else. I do agree that to get things right using html/css in cross browser manner may be pretty difficult task, but imo that postscript should be somehow - hidden? | |
Group: Plugin-2 ... Browser Plugins [web-public] | ||
Pekr: 10-May-2006 | JoshM: please go to plugin-1 group, scroll up a bit to find my bold messages, and read on a bit, there are some findings. To post some notes - probably the most significant link is - http://www.mozilla.org/projects/plugins/ The plugin extension adobe, mozilla, apple, opera, macromedia and sun agreed upon is npruntime How to host NS plug-ins in IE: http://www.mozilla.org/projects/plugins/plugin-host-control.html | |
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public] | ||
Louis: 12-Oct-2006 | For Text CGI script I get: #!/usr/bin/rebol --cgi REBOL [ Title: "show" File: %show.r ] print "Content-type: text/html^/" print {Back } print ["Script path :" system/script/path " ] print CGI Object :" print " foreach name next first system/options/cgi [ either :name = 'other-headers [ print [ name : ] foreach [n v] list: system/options/cgi/:name [ print [ n : " mold select list n ""] ] print " ][ print [ name : " mold system/options/cgi/:name ""] ] ] print " if system/options/cgi/request-method = POST" [ vars: make object! decode-cgi make string! input if not empty? next first vars [ print " Variables passed : foreach name next first vars [ print [ name : " mold vars/:name ""] ] print " ] ] print | |
Chris: 28-Apr-2007 | I've updated the QM source also to be Cheyenne friendly (still needs CGI query/post support): http://www.ross-gill.com/QM/qm.html | |
btiffin: 2-Jun-2007 | It's not a short paste... [HTTPd] ================== NEW REQUEST ================== [HTTPd] Request Line=>GET /testapp/ HTTP/1.1 [HTTPd] Request Headers=> Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive [HTTPd] Phase url-to-filename done ( mod-alias ) [HTTPd] Phase url-to-filename done ( mod-rsp ) [HTTPd] Phase url-to-filename done ( mod-fastcgi ) [HTTPd] Phase url-to-filename done ( mod-static ) [HTTPd] Phase access-check done ( mod-action ) [HTTPd] Phase set-mime-type done ( mod-action ) [HTTPd] Phase make-response done ( mod-rsp ) [HTTPd] Response=> HTTP/1.1 302 Moved Temporarily Server: Cheyenne/0.9.11 Connection: close Location: /testapp/login.rsp [HTTPd] Phase logging done ( mod-static ) [HTTPd] Phase clean-up done ( mod-rsp ) [HTTPd] Connection closed [HTTPd] ================== NEW REQUEST ================== / [HTTPd] Request Line=>GET /testapp/login.rsp HTTP/1.1 [HTTPd] Request Headers=> Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive [HTTPd] Phase url-to-filename done ( mod-alias ) [HTTPd] Phase url-to-filename done ( mod-rsp ) [HTTPd] Phase url-to-filename done ( mod-fastcgi ) [HTTPd] Phase url-to-filename done ( mod-static ) [HTTPd] Phase access-check done ( mod-action ) [HTTPd] Phase set-mime-type done ( mod-action ) [HTTPd] Phase make-response done ( mod-rsp ) [HTTPd] Response=> HTTP/1.1 200 OK Server: Cheyenne/0.9.11 Content-Length: 482 Content-Type: text/html Connection: Keep-Alive Set-Cookie: RSPSID=EISPOMAZTPDFKVIWJAFONZDE; expires=Sat, 02 Jun 2007 11:54:30 GMT; path=/testapp; HttpOnly Pragma: no-cache Cache-Control: no-cache, must-revalidate Expires: Thu, 01 Dec 1994 16:00:00 GMT [HTTPd] Phase logging done ( mod-static ) [HTTPd] Phase clean-up done ( mod-rsp ) [HTTPd] Phase task-done done ( mod-rsp ) [HTTPd] ================== NEW REQUEST ================== \ [HTTPd] Request Line=>POST /testapp/login.rsp HTTP/1.1 [HTTPd] Request Headers=> Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8080/testapp/login.rsp Content-Type: application/x-www-form-urlencoded Content-Length: 23 [HTTPd] Phase url-to-filename done ( mod-alias ) [HTTPd] Phase url-to-filename done ( mod-rsp ) [HTTPd] Phase url-to-filename done ( mod-fastcgi ) [HTTPd] Phase url-to-filename done ( mod-static ) [HTTPd] Posted data=>login=test&pass=letmein [HTTPd] Phase access-check done ( mod-action ) [HTTPd] Phase set-mime-type done ( mod-action ) [HTTPd] Phase make-response done ( mod-rsp ) [HTTPd] Response=> HTTP/1.1 301 Moved Permanently Server: Cheyenne/0.9.11 Connection: close Location: /testapp/ Set-Cookie: RSPSID=YDADUIONKJPHLFBWEDZDFCXN; expires=Sat, 02 Jun 2007 11:54:37 GMT; path=/testapp; HttpOnly [HTTPd] Phase logging done ( mod-static ) [HTTPd] Phase clean-up done ( mod-rsp ) [HTTPd] Phase task-done done ( mod-rsp ) [HTTPd] Connection closed [HTTPd] ================== NEW REQUEST ================== [HTTPd] Request Line=>GET /testapp/ HTTP/1.1 [HTTPd] Request Headers=> Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8080/testapp/login.rsp [HTTPd] Phase url-to-filename done ( mod-alias ) [HTTPd] Phase url-to-filename done ( mod-rsp ) [HTTPd] Phase url-to-filename done ( mod-fastcgi ) [HTTPd] Phase url-to-filename done ( mod-static ) [HTTPd] Phase access-check done ( mod-action ) [HTTPd] Phase set-mime-type done ( mod-action ) [HTTPd] Phase make-response done ( mod-rsp ) [HTTPd] Response=> HTTP/1.1 302 Moved Temporarily Server: Cheyenne/0.9.11 Connection: close Location: /testapp/login.rsp [HTTPd] Phase logging done ( mod-static ) [HTTPd] Phase clean-up done ( mod-rsp ) [HTTPd] Connection closed [HTTPd] ================== NEW REQUEST ================== [HTTPd] Request Line=>GET /testapp/login.rsp HTTP/1.1 [HTTPd] Request Headers=> Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8080/testapp/login.rsp [HTTPd] Phase url-to-filename done ( mod-alias ) [HTTPd] Phase url-to-filename done ( mod-rsp ) [HTTPd] Phase url-to-filename done ( mod-fastcgi ) [HTTPd] Phase url-to-filename done ( mod-static ) [HTTPd] Phase access-check done ( mod-action ) [HTTPd] Phase set-mime-type done ( mod-action ) [HTTPd] Phase make-response done ( mod-rsp ) [HTTPd] Response=> HTTP/1.1 200 OK Server: Cheyenne/0.9.11 Content-Length: 482 Content-Type: text/html Connection: Keep-Alive Set-Cookie: RSPSID=RTJSUKAVYBNOLCJCJBSTNUHP; expires=Sat, 02 Jun 2007 11:54:37 GMT; path=/testapp; HttpOnly Pragma: no-cache Cache-Control: no-cache, must-revalidate Expires: Thu, 01 Dec 1994 16:00:00 GMT [HTTPd] Phase logging done ( mod-static ) [HTTPd] Phase clean-up done ( mod-rsp ) [HTTPd] Phase task-done done ( mod-rsp ) | |
Graham: 14-Jul-2007 | This is with the latest beta ... >> page: read http://127.0.0.1/show.cgi URL Parse: none none 127.0.0.1 none none show.cgi Net-log: ["Opening" "tcp" "for" "HTTP"] connecting to: 127.0.0.1 Net-log: {GET /show.cgi HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL View 1.3.2.3.1 Host: 127.0.0.1 } Net-log: "HTTP/1.1 200 OK" Net-log: ["low level read of " 2048 "bytes"] Net-log: ["low level read of " 2048 "bytes"] == {<HTML><BODY><FONT FACE='ARIAL' SIZE='-1'><a href="/">Back</a><br><br> <B>Script path :</B> /E/cheyenne916/Cheyenne/www/ <BR><BR... >> page: read/custom http://127.0.0.1/show.cgireduce ['post join "content=" url-encode content ] URL Parse: none none 127.0.0.1 none none show.cgi Net-log: ["Opening" "tcp" "for" "HTTP"] connecting to: 127.0.0.1 Net-log: {POST /show.cgi HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL View 1.3.2.3.1 Host: 127.0.0.1 Referer: http://127.0.0.1/show.cgi Content-Type: application/x-www-form-urlencoded Content-Length: 147479 } Net-log: none ** User Error: Error. Target url: http://127.0.0.1/show.cgicould not be retrieved. Server response: none ** Near: page: read/custom http://127.0.0.1/show.cgireduce ['post join "content=" url-encode content] >> | |
BrianH: 23-Sep-2008 | Those might require old school HTML get/post interfaces. | |
Graham: 30-Sep-2008 | A question about post/put Here's my little test file <html><title> RSP PUT test </title> <%= request/posted %> </html> | |
Graham: 7-Oct-2008 | <html> <title> Editor </title> <body> <% filename: to-file request/content/filename if (suffix? filename) <> %.rsp [ quit ] ; if filename = %edit.rsp [ quit ] either source: select request/content 'source [ ; a http post, so save it write filename dehex source ][ source: read filename ] val-tag: rejoin [ {<input type="hidden" value="} form filename {" name="filename">} ] replace/all source "<" "<" replace/all source ">" ">" print rejoin [ <form method="POST" action="/hylafax/edit.rsp"> <input type="submit" value="Save"> <hr> <textarea rows="40" cols="140" name="source" > source </textarea> val-tag <p/> <input type="submit" value="Save"> ] include-file %footer.inc %> | |
Dockimbel: 12-Feb-2009 | 1. When first accessed, a RSP web application will send you a session ID by cookie. You can send it back by cookie or included in GET or POST data. If you want your session ID passed inside the HTML page in all URLs, you have to add it in your RSP source using some code like : rejoin ["RSPSID=" session/id]. | |
Robert: 18-Feb-2009 | Tweaking: I'm all for it but via a simple dialect driven way. Keep it simple. I don't want to hack several CSS, HTML, pre- post-processor files etc. | |
Dockimbel: 3-Apr-2009 | I just tested with latest Chrome (1.0.154.53) with %www/post.html test script and it seems OK here, no error. I get the file(s) in %incoming/ folder. | |
BrianH: 3-Apr-2009 | Here's the test source: <!doctype html> <html><body> <form action="blah.rsp" method="POST" enctype="multipart/form-data"> <input type="file" name="ufile" size="16" /> <input type="submit" name="usubmit" value="upload" /> </form> </body></html> And here's the test target: <%=mold request/content%> I get the same error with show.rsp, so I went with something simpler. | |
BrianH: 3-Apr-2009 | Same error after upgrading Chromium, here's the verbose 5 log of the request: 3/4-01:38:00.891-[HTTPd] ================== NEW REQUEST ================== 3/4-01:38:01.531-[HTTPd] Request Line=>POST /ecg/blah.rsp HTTP/1.1 3/4-01:38:02.109-[HTTPd] Trying phase method-support ( mod-static ) 3/4-01:38:02.828-[HTTPd] Trying phase url-translate ( mod-static ) 3/4-01:38:03.062-[uniserve] Calling >on-received< with {^M Host: localhost:8080^M Connection: keep-alive^M Us} 3/4-01:38:03.547-[HTTPd] Request Headers=> Host: localhost:8080 Connection: keep-alive User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.173.0 Safari/530.5 Referer: http://localhost:8080/ecg/blah.html Content-Length: 153149 Cache-Control: max-age=0 Origin: http://localhost:8080 Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryEv3SZArZWdjyznJZ Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Encoding: gzip,deflate,bzip2,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 3/4-01:38:03.797-[HTTPd] Trying phase url-to-filename ( mod-alias ) 3/4-01:38:04.031-[HTTPd] => request processed 3/4-01:38:04.766-[HTTPd] Trying phase url-to-filename ( mod-rsp ) 3/4-01:38:05-[HTTPd] => request processed 3/4-01:38:05.469-[HTTPd] Trying phase url-to-filename ( mod-internal ) 3/4-01:38:05.719-[HTTPd] Trying phase url-to-filename ( mod-static ) 3/4-01:38:05.969-[HTTPd] => request processed 3/4-01:38:06.453-[uniserve] >> Port: 3789, low-level reading: 17520 3/4-01:38:06.703-[uniserve] >> Port: 3789, low-level reading: 17520 3/4-01:38:06.953-[uniserve] >> Port: 3789, low-level reading: 17520 3/4-01:38:07.437-[uniserve] >> Port: 3789, low-level reading: 17520 3/4-01:38:07.906-[uniserve] >> Port: 3789, low-level reading: 19980 3/4-01:38:08.391-[uniserve] Calling >on-received< with "------WebKitFormBoundaryEv3SZArZWdjyznJZ^M^/Content-" 3/4-01:38:08.875-[uniserve] >> Port: 3789, low-level reading: 16680 3/4-01:38:09.344-[uniserve] >> Port: 3789, low-level reading: 17520 3/4-01:38:09.844-[uniserve] >> Port: 3789, low-level reading: 17520 3/4-01:38:10.312-[uniserve] >> Port: 3789, low-level reading: 1149 3/4-01:38:10.797-[uniserve] Calling >on-received< with {037.17923" "4429 SUNNYSLOPE RD SW" "Port Orchard" } 3/4-01:38:11.266-## Error in [uniserve] : On-received call failed with error: make object! [ code: 303 type: 'script id: 'expect-arg arg1: 'insert arg2: 'series arg3: [series! port! bitset!] near: [insert/part tmp/port s skip e] where: 'process-bounded-content ] ! 3/4-01:38:11.734-[uniserve] Port closed : 127.0.0.1 | |
Janko: 20-Oct-2009 | It produces this for now (but I will turn it to JSON and then I can render it with javascript/html in many ways) days / ip / requests DAY: 19-Oct-2009 .... VISITOR: 90.157.177.123 20:22:37 ; GET ; /manage/invoices-sent.rsp ; - 20:22:37 ; GET ; /manage/sign-in.rsp ; - 20:22:39 ; POST ; /manage/sign-in.rsp ; https://www.cebelca.biz/manage/sign-in.rsp 20:22:39 ; GET ; /manage/invoices-sent.rsp ; https://www.cebelca.biz/manage/sign-in.rsp VISITOR: 64.233.172.17 22:11:19 ; GET ; / ; - VISITOR: 216.239.50.136 22:11:21 ; GET ; / ; - VISITOR: 74.6.22.173 23:21:23 ; GET ; /contact.rsp ; - 23:21:25 ; GET ; /contact.rsp ; - DAY: 20-Oct-2009 VISITOR: 93.186.20.135 00:20:52 ; GET ; / ; - 00:20:54 ; GET ; / ; - .... | |
NickA: 17-Jan-2010 | Graham, I've used this code to obtain get/post data in Cheyenne: REBOL [title: "sitebuilder" file: %sitebuilder.cgi] print "content-type: text/html^/" print [<HTML><HEAD><TITLE>"Sitebuilder"</TITLE></HEAD><BODY>] either system/options/cgi/request-method = "POST" [ submitted-bin: make string! input ] [ submitted-bin: system/options/cgi/query-string ] submitted: decode-cgi submitted-bin That replaces this Apache CGI code: #!./rebol276 -cs REBOL [] print "content-type: text/html^/" print [<HTML><HEAD><TITLE>"Sitebuilder"</TITLE></HEAD><BODY>] read-cgi: func [/local data buffer][ switch system/options/cgi/request-method [ "POST" [ data: make string! 1020 buffer: make string! 16380 while [positive? read-io system/ports/input buffer 16380][ append data buffer clear buffer ] ] "GET" [data: system/options/cgi/query-string] ] data ] submitted: decode-cgi submitted-bin: read-cgi HTH :) | |
Graham: 11-Jul-2010 | If a pdf is loaded into a browser .. it allows one to post the data in an acrobat form ... but if it is loaded into acrobat reader alone, then it can post, but it can't understand any html returned by the web server | |
Maxim: 22-Apr-2011 | ok, so I promised a little announcement about work I have been doing in/with/for cheyenne... I have built a web service module (mod) for cheyenne. ----------------------- features/highlights ----------------------- * extremely fine tuned to cause the least cpu hit on the server process since ALL processing is done in worker processes. * it uses an arbitrary number of rebol script files which you assign to any host in the config file. (even the default) * once assigned, these files are compiled dynamically (as one app) by the mod and are exposed via http by the server. * only the functions you *chose* are *ever* visible on the web, allowing you to include support libs, data and function right in your server-side api. * no direct execution of code occurs, *ever* from the client to the server, all input is marshaled, and parameters are typed to your function specs. * allows ANY type of web api to be delivered, from REST to SOAP like interfaces. * output is programmable, so that you can output AS json, xml, html, txt, etc. * interface is also programmable, so that you can provide GET params, POST forms, POST (XML, JSON, REBOL native data) * Automatic API documentation via source scanning and function help strings . there will also be some form of comments which will be used by documentation. * No suport for sessions. this is part of your application layer, which should use https and session keys in the submitted data, if you require it. * it takes litterally 5 minutes to convert your internal rebol code into web services which obey internet standards. * System is auto-reconfiguring... i.e. you don't need to close cheyenne to update the service, just restart the workers. | |
Maxim: 22-Apr-2011 | so, when will this be available? *very soon* I am building my first test release for my client tonight. most of the research and prototyping is done, I already did some client demos for the people who are funding this project and I'm now in the "delivery" phase. The most complicated parts of the system are already working (i.e. handler processes, dynamic compilation, automatic api interface building, per-host api/config, request/response chain of command, multi-format output, and more.) a lot of details are still "up in the air" as far as implementation goes, so if you really have a need for this, PLEASE STAND UP and raise your voice. tell me what you need, how you want it to work, etc. so far I plan to deliver the first release with: support 4 interfaces for calling : GET url, POST XML, POST Form data, POST JSON. support 4 output formats : XML, HTML, JSON, TXT (which is in fact rebol native data) obviously this will be an ongoing project and anyone who is interested in helping out is welcomed to do so. :-) | |
Group: !REBOL2 Releases ... Discuss 2.x releases [web-public] | ||
BrianH: 2-Jan-2010 | Release announcement: http://www.rebol.com/article/0447.html Simple change notes: http://www.rebol.com/docs/v2-7.html I'm trying to post the more detailed release notes in the comments of the announcement blog, but I'm getting caught by the blogger limits. One more message and I'll be done. | |
Group: !REBOL3 GUI ... [web-public] | ||
Cyphre: 8-Jun-2011 | It's time to decide about propagation of events using actors in R3GUI so we would like to know your opinion on that. example: Let's have face A and face B which is inside face A. Currently, when you click mouse button on the face B and the face B has defined ON-CLICK actor the event is fired to that actor. If the face B have no ON-CLICK actor the event is not catched anywhere. We got a request to checnge this so there are few possible options we could use: 1. If face B doesn't have ON-CLICK actor defined then propagate the event up to its parent face (in our case face A) and up until any ON-CLICK is found. (If the face B have ON-CLICK defined then the actor is executed and propagation stops here.) In other words the event propagation stops in the closest found ON-CLICK actor during the 'bubbling' of the event upwards. 2. Propagate the event from face B thru its parent face (in our case face A) and up to the topmost(Window) face. The propagation/bubbling is done by default and can be stopped in any ON-CLICK actor on the way upwards by returning 'stop-event(or any other chosen) keyword. (this is simmilar to the model used in HTML) 3. (current behaviour) Don't propagate the event. Just execute the ON-CLICK actor in face B in case it is defined. Programmer have to manually add event propagation code to the actor if event bubbling is required. 4. Don't propagate the event by default. But introduce PROPAGATE/BUBBLE-ACTORS (or any other chosen word) option field that can be set for each face. The option could hold block of actor names that should propagate/bubble the events up. Please, keep in mind that chosen behaviour affects not only actors that handle user input but also actors like ON-INIT, ON-MAKE and any other possible actors in general. Please post either your favorite from the above options or even any other possible solution you think is better. Thanks for your help. | |
Group: Core ... Discuss core issues [web-public] | ||
Dockimbel: 19-Mar-2011 | http://www.mail-archive.com/[rebol-list-:-rebol-:-com]/msg14312.html Tim said in 2002 in that post that "Is working intermittenly"...I wonder if this bug is not hiding there since the begginning (assuming that Tim was testing on Windows). | |
Group: Topaz ... The Topaz Language [web-public] | ||
Maxim: 8-Feb-2012 | henrik, do you mean something like? : topaz: func [ block ][ load read/custom http://server/try-topaz.htmlreduce ['POST mold block] ] (where the post data above is replaced by whatever is required to properly fill in the form) |