AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 211 |
r3wp | 2311 |
total: | 2522 |
results window for this page: [start: 1 end: 100]
world-name: r4wp
Group: #Red ... Red language group [web-public] | ||
DocKimbel: 12-Mar-2012 | Release v0.2.5 is out: http://www.red-lang.org/2012/03/redsystem-v025-released.html | |
Kaj: 14-Mar-2012 | http://development.syllable.org/news/2012-03-14-20-30-RedSystem-bindings-with-C-cURL-SDL-SQLite.html | |
Pekr: 27-Mar-2012 | dunno, maybe via type casting? as integer! ... but not sure if it works for floats, or only pointers ... http://static.red-lang.org/red-system-specs.html#section-4.9 | |
Bas: 3-Apr-2012 | http://www.documentfreedomday.nl/2012/WebODF-LibreOffice-Evince.html | |
Pekr: 11-Apr-2012 | james - there is no Red yet, just Red/System. And yes, you can kind-of create Android apps. But - those are bare-bones linux ARM apps, which can run on an Android phone. I tried that on my HTC Sensation. Right now, there is no app-store support, nor the ability to link to Android API, which would require the JAVA bridge. You can find some info here - http://www.red-lang.org/2011/12/arm-support-released.html | |
PeterWood: 17-May-2012 | http://www.delorie.com/gnu/docs/glibc/libc_445.html | |
DocKimbel: 15-Jun-2012 | Have a look at these ones: - http://static.red-lang.org/red-system-specs.html#section-1 - slides 7 to 13 in my SFD presentation: http://www.red-lang.org/2011/09/red-at-software-freedom-day-2011.html | |
Endo: 21-Jun-2012 | we can copy/paste "about" section from http://www.red-lang.org/p/about.html as well. | |
DocKimbel: 24-Jul-2012 | I chosed VID only because I knew I could do it faster than messing around with HTML/JS libs and intricacies. I was just a bit concerned about hitting some performance walls or native bugs I couldn't workaround. Fortunately, all went well. | |
Arnold: 24-Jul-2012 | Vid frees you from the browser and its limitations. If REBOL only had a HTML interface I would have dropped the language without further hesitation. | |
Henrik: 25-Jul-2012 | We shouldn't forget the idea of ReBrowse, which is Carl's idea of a browser written in R3 and is mean to replace the Viewtop. It's true that it doesn't run inside other browsers or leverages HTML, but it will still be a great technology demonstration of what a webbrowser should be. | |
Pekr: 26-Jul-2012 | Reichart - I suggest general About page, there is nice presentation Doc did for Reborcon - http://www.red-lang.org/p/about.html | |
Rebolek: 14-Aug-2012 | Ok, no metadata, I was wrong. See http://www.mega-nerd.com/libsndfile/api.html#read sf_count_t is 64 bit integer. | |
Jerry: 25-Aug-2012 | Doc, this page can be updated because of the support of DLL generation. http://www.red-lang.org/p/roadmap.html | |
Janko: 5-Sep-2012 | Wow!!! awesome .. from print "hello worl" to print "<html>...</html>" to make webapps is not that long way, I was just afraid you would never get to RED, Awesome! | |
Kaj: 15-Sep-2012 | http://www.gnu.org/software/libc/manual/html_node/Memory_002dmapped-I_002fO.html | |
Pekr: 22-Sep-2012 | Ah, Unicode plan posted, should be announed here :-) http://www.red-lang.org/2012/09/plan-for-unicode-support.html | |
DocKimbel: 24-Sep-2012 | Brian: you don't read Red's blog? :-) See http://www.red-lang.org/2012/09/plan-for-unicode-support.html | |
Arnold: 26-Sep-2012 | Now Red can output texts it can produce strings with html code? And so theoretically is up to CGI processing maybe with a little help from REBOL. Or is that too early? | |
Pekr: 26-Sep-2012 | Kaj wrapped some libraries, maybe those cover some ground there, e.g. Curl binding allows you to work with networking: http://www.red-lang.org/p/contributions_20.html | |
Kaj: 1-Oct-2012 | http://rebol.esperconsultancy.nl/documentation/how-to-use-Fossil.html | |
Bas: 2-Oct-2012 | http://www.hardwarefreedomday.nl/2012/Red-Rasperry-Pi.html | |
Bas: 2-Oct-2012 | http://www.hardwarefreedomday.nl/2012/Red-Raspberry-Pi.html | |
BrianH: 16-Oct-2012 | I clarified later. I would have posted the license link except for the sman filter. http://www.apache.org/licenses/LICENSE-2.0.html | |
Kaj: 19-Oct-2012 | http://rebol.esperconsultancy.nl/documentation/how-to-use-Fossil.html | |
DocKimbel: 21-Oct-2012 | Doc-strings are now allowed in Red/System function spec: https://github.com/dockimbel/Red/commit/b7f46eafe75b43f43d7cb282d4415e89c2858a5e So, who's going to write a short and nice REBOL script now to extract them (extracting also the context where they are defined)? :-) Ideally, those info should be collected into a simple nested block structure that can be easily processed for generating formatted text output, HTML, PDF (using pdf-maker lib), ... (take make-doc.r script as example of parser/emitter separation, and plugable emitters). | |
DocKimbel: 28-Oct-2012 | Red alpha release: http://www.red-lang.org/2012/10/red-alpha-release.html | |
DocKimbel: 2-Nov-2012 | I wrote about short-term steps at the bottom of the 0.3.0 release announcement: http://www.red-lang.org/2012/10/red-alpha-release.html | |
DocKimbel: 15-Nov-2012 | http://www.rebol.com/r3/docs/concepts/series-traversing.html The first position of the block is called its head. This is the position occupied by the word red. The last position of the block is called its tail. This is the position immediately after the last word in the block. If you were to draw a diagram of the block, it would look like this: [...] Notice that the tail is just past the end of the block. Too bad the images are missing... | |
Andreas: 15-Nov-2012 | Image is here: http://www.rebol.com/docs/core23/rebolcore-6.html#section-1.1 | |
Oldes: 15-Nov-2012 | To me, the description here http://www.rebol.com/docs/core23/rebolcore-6.html#section-1.1 is logical, but I'm not a scientist. | |
Oldes: 19-Nov-2012 | Instead of throwing error on pick 0, can I propose adding undefined! datatype? In ActionScript, which I use quite often last days you can distinguish not defined and null values like: var a:Array = new Array(); a[1] = 1; a[2] = null; log(a[1], a[2], a[3]); //<-- would output: 1, null, undefined Btw.. I think it was me who asked Carl to implement path notations with parens allowing to write b/(n) It's in REBOL since 2.6.. sorry if it's causing confusion. http://www.rebol.com/docs/changes-2-6.html#section-8 | |
Henrik: 23-Nov-2012 | Actually REBOL had only up till FIFTH below Core 2.5. After 2.5, SIXTH through TENTH were added. Here's why: http://www.rebol.com/docs/changes-2-5.html#section-21 | |
DocKimbel: 23-Nov-2012 | Right, upper ordinal names were added in 2.6: http://www.rebol.com/docs/changes-2-6.html#section-17 | |
Group: Announce ... Announcements only - use Ann-reply to chat [web-public] | ||
Kaj: 14-Mar-2012 | http://development.syllable.org/news/2012-03-14-20-30-RedSystem-bindings-with-C-cURL-SDL-SQLite.html | |
MaxV: 16-Jul-2012 | http://rebol2.blogspot.it/2012/07/rebol-open-source.html | |
MaxV: 25-Jul-2012 | I just released Rebol IDE v.5: http://rebol2.blogspot.it/2012/07/ide.html send your comments and suggestions | |
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 :) | |
Robert: 7-Oct-2012 | We just finished to setup a public Cofluence wiki test server, where TreeMapper models are rendered in HTML-5. Take a look here: http://s1.saphirion.com:8001/display/TREEM/Treemapper+Demonstration+on+Conluence That's a model that's done with the R3 based editor and published out of the editor directly into a wiki page. The next demo version will include the server information so you can test it on your own. | |
MaxV: 11-Oct-2012 | Published the new R3D library with guide and demo video: http://rebol2.blogspot.it/2012/10/r3d.html , you'll find the same guide on www.rebol.org | |
Kaj: 19-Oct-2012 | http://rebol.esperconsultancy.nl/documentation/how-to-use-Fossil.html | |
Kaj: 12-Nov-2012 | http://rebol.esperconsultancy.nl/documentation/how-to-use-Fossil.html | |
Kaj: 4-Dec-2012 | http://web.syllable.org/news/2012-11-18-20-47-Red-high-level-programming-language-first-alpha.html | |
Kaj: 24-Dec-2012 | http://web.syllable.org/news/2012-11-18-20-47-Red-high-level-programming-language-first-alpha.html | |
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. | |
DocKimbel: 6-Sep-2012 | Max, see: http://www.r-project.org/about.html | |
Henrik: 10-Sep-2012 | The HTML is screwed up in the comments section now. | |
BrianH: 26-Sep-2012 | Here's the FSF FAQ entry that covers encapping: http://www.gnu.org/licenses/gpl-faq.html#MereAggregation The relevant part is this: "If the modules are included in the same executable file, they are definitely combined in one program. If modules are designed to run linked together in a shared address space, that almost surely means combining them into one program." | |
BrianH: 26-Sep-2012 | Here is the FSF FAQ entry relating to interpreters and their libraries: http://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL Pretty much the whole entry is applicable. The first paragraph would apply to data passed to DO, PARSE, DELECT, DO-COMMANDS, or other dialect processors. The second paragraph would definitely apply to extensions, and could apply to built-in functions unless we get an exception like GCC's; or we could get a FAQ entry declaring that the functions built into R3 are "part of the interpreter" rather than "library code", despite R3's actual system model. Note that PARSE's built-in operations are more unambiguously "part of the interpreter", and the same could be said for other similar dialects. The last two paragraphs apply to mezzanine code and embedded modules. If they are GPL'd and your code uses them, it would be affected. | |
BrianH: 26-Sep-2012 | It is common to use this FAQ entry as a way to make GPL extensions that wrap proprietary components: http://www.gnu.org/licenses/gpl-faq.html#WindowsRuntimeAndGPL Developers commonly put links on their web site to the vendor's web site to download the DLL. However, it's iffy with GPL2 because the actual exception is worded like this: However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. Read literally, it would exclude runtime libraries that aren't bundled with the OS. It's more unambiguously OK with GPL3. | |
BrianH: 27-Sep-2012 | Andreas, there is apparently a difference between code/data that is considered to be part of the interpreter and code/data that is considered to be part of the runtime library, according to this FAQ: http://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL Ladislav is stating that being statically linked makes it part of the interpreter, though there are counter-examples of statically linked runtime libraries in other programming languages that legally infect the code they run. It is considered bad form though, so you don't see it often. It's an ambiguous situation, so a statement resolving the ambiguity would be helpful here. | |
Kaj: 19-Oct-2012 | http://asqueella.blogspot.nl/2010/12/dyld-unknown-required-load-command.html | |
Henrik: 8-Jan-2013 | http://www.red-lang.org/p/donations.html | |
Pekr: 8-Jan-2013 | http://www.red-lang.org/p/donations.html | |
GrahamC: 14-Jan-2013 | Kaj, where exactly is the window32 binary in http://archives.esperconsultancy.nl/Red-test/dir?ci=tip ? Every click on a .exe takes me to more and more html pages. Most confusing. | |
Kaj: 14-Jan-2013 | http://web.syllable.org/news/2012-11-18-20-47-Red-high-level-programming-language-first-alpha.html | |
Arnold: 18-Jan-2013 | But indeed I do think for such relative simple algorithms you would not use calling of C functions unless you want speed etc. @Kaj, I heard you ;) That would be on http://static.red-lang.org/red-system-specs.html about section 14.1 examl=ple using malloc I guess. I have very limited time off atm :( | |
Kaj: 23-Jan-2013 | http://www.red-lang.org/p/contributions_20.html | |
Alan: 24-Jan-2013 | portal.html works here using Opera | |
Kaj: 30-Jan-2013 | http://web.syllable.org/news/2012-11-18-20-47-Red-high-level-programming-language-first-alpha.html | |
Kaj: 19-Feb-2013 | http://web.syllable.org/news/2012-11-18-20-47-Red-high-level-programming-language-first-alpha.html | |
NickA: 28-Feb-2013 | I believe that R3 Chat would be the PERFECT solution for REBOL communications, if we could build a more mature HTML front end. Will Carl release the source? | |
DocKimbel: 1-Mar-2013 | Nick: in your business_programming.html page, I think your missing a % character in following code line: do mysql-107.rip | |
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: Rebol School ... REBOL School [web-public] | ||
caelum: 16-Apr-2012 | I have the SDK (full encryption strength) and I've been playing with the rijndael encryption algorithm. I cut and pasted the code below from http://www.rebol.com/how-to/encrypt.htmland it produces 256 as the port strength despite the strength being stated as 512. Is it 256 or 512? The web page says Rebol can provide 512 with rijndael. Can it? port: open [ scheme: 'crypt direction: 'encrypt key: akey strength: 512 algorithm: 'rijndael padding: true ] print port/strength When I switch the algorithm to blowfish I get the expected 512 port strength. Is blowfish actually 512? I need to know what level of encryption I am working with. TIA. | |
Endo: 25-Apr-2012 | Also check E164 formatting: http://en.wikipedia.org/wiki/E.164 and http://www.wtng.info/wtng-tt.html | |
PeterWood: 3-May-2012 | This might help you get started: >> d: open/direct/lines %system-use-case-list.html >> ln-d: length? ln: first d == 6 >> ln+nl: read/binary/part %system-use-case-list.html ln-d + 2 == #{3C68746D6C3E0D0A} | |
Endo: 8-May-2012 | Here is some info: http://www.rebol.com/docs/view-face-object.html A block that holds text line information. This block is created, updated, and used by the system to optimize the updating of text. When you modify large areas of text (greater than 200 characters) you should set this variable to zero to force the system to recompute the positions of all lines. If you do not, you may see garbage characters appearing within the text. | |
Endo: 20-Jun-2012 | Guiseppe: if you didn't read this before, here is a very good article: http://www.codeconscious.com/rebol/parse-tutorial.html other articles are also great, take a look at them all. | |
Pekr: 20-Jun-2012 | I mean - text I need to input into the resulting file (UTF-8) is ANSI. I do print to-string read %text-slider.html, and in R3 console, Czech text is not correct .... | |
Arnold: 26-Jun-2012 | Is there any other way to make an iterated label or text item in VID then the way stated in http://www.rebolforces.com/zine/rzine-1-03/#sect5. or http://www.rebol.com/docs/view-face-other.htmlbecause this seems to me to be too complicated for REBOL. At least for me. | |
Arnold: 26-Jun-2012 | Well I found a more promising way here http://www.codeconscious.com/rebol/view-notes.html What I want to do is have a number of text/labels that I want to show a short text from a block of values. So I prefer to do it in a loop like loop 8 [mylabel/index/text: myblock/index] | |
Arnold: 30-Jun-2012 | When I name the labels lr1 thru lr8 and use the trick I found on www.pat665.free.fr/gtk/rebol-view.html which is w: to-word rejoin ["lr" n] (for n is 1, 2, 3 or 8 you get the picture.) and f: get :w f/font/color: white and directly show the label: show f I can set them seperately. But it is a bit ugly to do it like this if I may say so. | |
Gabriele: 24-Jul-2012 | this is my version: http://www.rebol.it/power-mezz/mezz/form-error.html note that it does not make arg1, arg2 and arg3 global. | |
Arnold: 26-Jul-2012 | The chess program I want to make give the moves of a piece like on the shredder site http://www.shredderchess.com/daily-chess-puzzle.html and it will have a minimal validation routine so my kids (and me too) can beat the machine. | |
Arnold: 1-Aug-2012 | On the form validation issue. I managed to get things working as I initially intented. Using a Javascript function to change the text of the field: var changer = document.getElementById('fieldid'); changer.value = fieldvalue; Where fieldvalue was filled from the cgi data block cgi/fieldname It was really fun to get this right with all the needed double-quotes and curly braces that alle represent comments in rebol as you know and generate this from within the well-known function emit: func [code] [ repend html code] I had to add an id tag to all the form fields. | |
james_nak: 11-Sep-2012 | Arnold, I've been using sound in a recent app with 2.7.8.3.1 with no issues (on XP too). I use a version of Nick's code http://musiclessonz.com/rebol_tutorial.html. Look for "play-sound" | |
MaxV: 18-Sep-2012 | Read this http://rebol2.blogspot.it/2012/05/text-extraction-with-parse.html ;-) | |
Group: Databases ... group to discuss various database issues and drivers [web-public] | ||
BrianH: 21-Mar-2012 | If you want to get the column metadata about a table, use the 'columns command: - For R2: http://www.rebol.com/docs/database.html#section-27 - For R3: http://www.diefettenjahresindvorbei.de/odbc/odbc-docs.html#section-3.8 though there's an error in the docs, so use 'columns instead of 'tables | |
BrianH: 21-Mar-2012 | Back in 2001 I created an intranet site for a local celebrity by making the database tables, then having R2 use the 'columns command to generate column lists that were used to autogenerate the server-side pages for the intranet. All it took was one function call per table to generate the whole site. Restyling the site just meant editing the HTML template in the function (this was before CSS was practical). | |
Arnold: 26-Apr-2012 | I have the database on my host/provider's site, maybe that is only accepting requests by scripts on it's own local address. Could be. The % parameter? I have http://softinnov.org/rebol/mysql-usage.html#sect12. for my documentation. | |
Janko: 9-Sep-2012 | well if it works for what I need it it's ok with me (I just use mysql for user db so it's rather simple). I found mention of it here now http://rebolweek.blogspot.com/2008_12_01_archive.htmlis this the latest version you have? | |
afsanehsamim: 9-Nov-2012 | #! "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/rebol-core-278-3-1.exe" -cs REBOL [Title: "Table"] print "content-type: text/html^/" print [<HTML><BODY><TABLE bgcolor="black" border="1"> { <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="one-one" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="one-two" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="one-three" type="text" size="1"></td> </tr> <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="two-one" type="text" size="1"></td> <td style="background:black; width:30px; heigth:30px;" ></td> <td style="width:30px; height:30px;"><input name="two-three" type="text" size="1"></td> </tr> <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="three-one" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="three-two" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="three-three" type="text" size="1"></td> </tr> } ] print [</TABLE></BODY></HTML>] | |
afsanehsamim: 9-Nov-2012 | #! "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/rebol-core-278-3-1.exe" -cs REBOL [Title: "Table"] print "content-type: text/html^/" print [<HTML><BODY><TABLE bgcolor="black" border="1"> { <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="one-one" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="one-two" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="one-three" type="text" size="1"></td> </tr> <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="two-one" type="text" size="1"></td> <td style="background:black; width:30px; heigth:30px;" ></td> <td style="width:30px; height:30px;"><input name="two-three" type="text" size="1"></td> </tr> <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="three-one" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="three-two" type="text" size="1"></td> <td style="width:30px; height:30px;"><input name="three-three" type="text" size="1"></td> </tr> } ] print [</TABLE></BODY></HTML>] | |
Arnold: 9-Nov-2012 | you have to mix them something like #! "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/rebol-core-278-3-1.exe" -cs REBOL [Title: "Table"] do %mysql-protocol.r db: open mysql://[root-:-localhost]/test insert db {create table data ( name varchar(100), address text )} insert db {INSERT into data VALUES ('raj', 'pune'), ('ekta', 'delhi'), ('ankur', 'mumbai') } insert db "SELECT * from data" results: copy db print "content-type: text/html^/" print [<HTML><BODY><TABLE bgcolor="black" border="1"> { <tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="one-one" type="text" size="1">} print results/name print {</td>} etc | |
afsanehsamim: 11-Nov-2012 | #! "C:/wamp/bin/apache/Apache2.2.11/cgi-bin/rebol-core-278-3-1.exe" -cs REBOL [Title: "Table"] do %mysql-protocol.r db: open mysql://[root-:-localhost]/test insert db { DROP TABLE IF EXISTS data1; create table data1 ( oneone varchar(1), onetwo varchar(1), onethree varchar(1), twoone varchar(1), twothree varchar(1), threeone varchar(1), threetwo varchar(1), threethree varchar(1) )} print "content-type: text/html^/" print [<HTML><BODY>] print [<form><input type="submit" value=" submit !" />] print [<TABLE bgcolor="black" border="1">] print {<tr bgcolor="white"> <td style="width:30px; height:30px;"><input name="oneone" type="text" size="1">} insert db ["insert into data1 (oneone) values (?)" ] results: copy db print {</td>} | |
Pekr: 11-Nov-2012 | I think, that your script is wrongly constructed! What you seem to do is to just print a form, which then gets delivered to user's browser screen. But at that time, there is no value yet. You should study, how to do CGI in REBOL. You need a separate html form, then you need to read CGI values and store them in a DB ... | |
afsanehsamim: 11-Nov-2012 | but in those links ,i can not find database example! i read that link before ,i created html form and cgi as well, it is working properly ... the point is when user enter input and click submit it goes to cgi page. i need save that input in database ...plz guid me or show me one example how can i save value from the form into db? | |
Pekr: 11-Nov-2012 | there are two things - 1) you have to write a form, basically a html file, with fields, etc., and submit button, linking it to your cgi script 2) you have to write a CGI script, being able to read submitted values ... | |
MaxV: 11-Nov-2012 | Look here: http://rebol2.blogspot.it/2012/04/how-to-use-rebdb.html http://www.rebol.net/cookbook/recipes/0012.html http://rebol2.blogspot.it/2012/01/adress-book.html http://rebol2.blogspot.it/2011/12/sqlite.html | |
Pekr: 12-Nov-2012 | Create 2 files. Call the first one e.g. cgi-test.html, and upload it to your server. The only thing you have to change is the link to your .cgi script in there: <HTML> <TITLE>Simple Web Form</TITLE> <BODY> <b>Simple Web Form</b><p> <FORM ACTION="http://www.xidys.com/cgi-bin/cgi-test.cgi"> <INPUT TYPE="TEXT" NAME="Field" SIZE="25"><BR> <INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit"> </FORM> </BODY> </HTML> Create a second file, called cgi-test.cgi (it has to align to how you name it in the above source file). Upload it to your cgi working directory. Remember to change the first line to contain the path, where your REBOL executable is placed: #!/usr/local/bin/rebcmd -sqc REBOL [] print join "Content-type: text/plain" newline start: now/time/precise submitted: decode-cgi read-cgi values: construct submitted prin "Submitted: " print mold submitted prin "values: " print mold values prin "values/field: " print mold values/field print now/time/precise - start print newline Now go to your URL, and try to submit some values. You can test it on my site at: http://www.xidys.com/cgi-test.html | |
afsanehsamim: 16-Nov-2012 | Thankyou so much ladislav and Pekr ... guys i underestand whatever you said ... Pekr : you meant i should first decode values after that should values save in database? i have two files and both work properly! one html and another one is cgi ! i did your codes as well ... now plz tell me what is the next step ? As i told you before i should save value in database ,it is one part of my project !!!! :( i did this link http://www.rebol.com/docs/cgi2.html#section-2 and i underestood ... http://www.rebol.com/docs/cgi2.html#section-2http://www.rebol.com/docs/cgi2.html#section-2 | |
Endo: 16-Nov-2012 | how does it matter where the values come from? it is a totally different issue. try reading http://www.rebol.com/docs/cgi1.html http://www.rebol.com/docs/cgi2.html http://www.rebol.com/docs/cgi-bbs.html | |
afsanehsamim: 16-Nov-2012 | i decoded my values which i got from the form! my cgi and html are working ,plz tell me what should i do? | |
Group: !Syllable ... Syllable free operating system family [web-public] | ||
Kaj: 12-Apr-2012 | http://web.syllable.org/news/2012-04-12-23-42-Syllable-Desktop-0.6.7-released.html | |
Arnold: 14-Apr-2012 | Do you use a generater tool for the Welcome_XX.html files? The Dutch version contains a considerable amount of English paragraphs. And ugly 'k'-s and some typo's. | |
Kaj: 19-Dec-2012 | http://web.syllable.org/news/2012-12-19-01-42-Open-sourced-REBOL-3-language-runs-natively-on-Syllable.html | |
Group: Web ... Anything related to the WWW [web-public] | ||
Sunanda: 16-Apr-2012 | rfc1738 says ":" is a reserved character for possible special meaning in some schemes. It does not seem to have any special meaning in the schemes mentioned in that URL. But its reserved status means that it does not have to be encoded in any URL. That's the theory, anyway. Practice may show otherwise. https://tools.ietf.org/html/rfc1738 | |
Arnold: 19-Sep-2012 | figured out the line write %mijndoc.htmlÊgen-doc read %mijndoc.txt | |
Chris: 20-Sep-2012 | The structure of MD since v2 is a separation of scanner and emitter. 'scan-doc will break text into a block of [style content] pairs. 'gen-doc will take that block and turn it into something, most commonly HTML. The features of your doc - using your ==+, ==#, etc. are in the spec of the parser. Loosely explained, the parser's rule 'resets' when it encounters a newline. It defines a few paragraph types that copies chunks of text (including 'paragraph that consumes text AND single newlines). The rest of the rule determines the paragraph style and expected paragraph type: "===" text-line (emit sect1 text) Could just as easily be: "==+" paragraph (emit my-bold-paragraph para) The way a document is presented is all in the emitter. Seems this is where you seem to be yearning for most control. My first motivation using MakeDoc was stripping it of any styles - I just wanted a minimum of HTML markup that could be embedded and properly moulded by CSS. In my script above, I iterate through the [style content] list and use 'switch to determine how to handle each, this should be sufficient for documents without any complexity. It's really then just a case of modifying the HTML that is emitted. Example of script used in RSP (exposes [escape-html scan-doc gen-doc]): <link rel="stylesheet" href="http://ross-gill.com/styles/anywhere.css"> <% do http://reb4.me/r/xhtml%> <pre><code><%= mold doc: scan-doc some-input-text %></code></pre> <%= gen-doc doc %> How it looks depends on the stylesheet you use. |
1 / 2522 | [1] | 2 | 3 | 4 | 5 | ... | 22 | 23 | 24 | 25 | 26 |