r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[All] except covered in other channels

Graham
12-Feb-2005
[1096]
try the library ..
Louis
12-Feb-2005
[1097]
Don't find it there.  Oh well, I've got to log off and get some sleep. 
 I'll look better tomorrow.  Thanks, Graham.
Graham
12-Feb-2005
[1098]
http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?color=yes&script=webcrawler.r
Sunanda
12-Feb-2005
[1099]
Carl's also written a links checker -- this may be easy to adapt 
to what you want by limiting it to internal URLs 

http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=site-check.r

But as Graham says, if you run anything like this, be social. Many 
sites have banned things like HTTtrack (a website downloader) simply 
because they don't pace their requests.
Izkata
12-Feb-2005
[1100]
Carl's link checker goes infinite if there's a "../" link anywhere 
in the website...
Tomc
12-Feb-2005
[1101]
I have a patch for that ../  bug in carls link checker
Will
13-Feb-2005
[1102x2]
§§§§§§
wops, was cleaning the keyboard..sorry 8)
Chris
15-Feb-2005
[1104]
Can someone give me a succinct definition of the term 'meta'? -- 
for example, in the context that it is used in an HTML document to 
provide additional information on the content...
Anton
15-Feb-2005
[1105]
You mean, what is the meaning in English? The html definition for 
META was not useful ?
PeterWood
15-Feb-2005
[1106x2]
I believe the term 'meta" is usually used as a short form of Metadata. 
Metadata is data which descrbes the data.


Eg A  value of 1000 is data, its metadata includes -  type is integer; 
it has 4 digits, it is positive.

Hope this is of some help
Here's a definition from http://biology.usgs.gov/nbs/meta/metadata.htm
:


-- Metadata describe the content, quality, condition, and other characteristics 
of data. Metadata help a person to locate and understand data.
Anton
15-Feb-2005
[1108]
Yep, that's how I understand it.
Geomol
15-Feb-2005
[1109]
In the context of UNIX, we talk about meta characters. That's characters 
with special meaning to the shell. Examples are *, ?, [ and ].
I agree with the metadata definition above.

And then we have the Metabaron! Ah yes! :-) But then we're in the 
comics context of Moebius and Jodorowsky.
Will
15-Feb-2005
[1110]
hello everybody!

I'd like to store data in a block as follow:
[
	12 [name "John" phone "123"]
	14 [name "Carl"]
	bb [name "Bob" phone "222"]
]

is there a rapid way to get the index:
[12 14 bb]

would it be better to keep an index?
[
	[12 14 bb]
	[
		12 [name "John" phone "123"]
		14 [name "Carl"]
		bb [name "Bob" phone "222"]
	]
]

any better idea on how to better store data, welcome!
thx 8)
Vincent
15-Feb-2005
[1111]
'extract
extract your-data 2 
returns a block with [12 14 bb]
Ammon
15-Feb-2005
[1112]
What do you need the index for?  with a structure like that you can 
do the following...

data: [
	12 [name "John" phone "123"]
	14 [name "Carl"]
	bb [name "Bob" phone "222"]
]
data/12 ; == [name "John" phone "123"]
data/12/name ; == "John"

record: 12
data/:record ; == [name "John" phone "123"]
Will
15-Feb-2005
[1113x2]
Vincent, Thank you, I wasn't aware of the 'extract function and  
never used forskip till now. Now I wonder if it takes more resources 
to update the index or use the extract when I need the index.
Ammon, I need to peek a random record 8)
Ammon
15-Feb-2005
[1115]
Ah, I see what you are trying to accomplish now. ;-)
Vincent
15-Feb-2005
[1116x2]
in your case, a cheap (resource-wise) extract is:

index: make bloc! (length? data) / 2
foreach [value pad][insert tail index value]
bloc! == block!
Chris
15-Feb-2005
[1118x2]
Re. meta -- Peter, that follows the one dictionary definition* that 
seems to fit -- "used with the name of a discipline to designate 
a new but related discipline designed to deal critically with the 
original one" -- so metadata is new data used to describe (or deal 
critically with) data, right?
* http://www.m-w.com/cgi-bin/dictionary?meta-
If that holds -- does a Rebol header contain meta-values?  Is RSS 
meta-content of a web site?  Is this discussion meta-meta?  (ok, 
too far...)
Guest
15-Feb-2005
[1120]
Help: after 6 hours configuration I couldn't run rebol/pro on my 
dedicated webserver (IIs6). does anybody have a install tip ?ps: 
the taskmanager shows reppro.exe running but did'nt terminate the 
exe nor deliver the page. I tried also different script header and 
examples from the docs.
Graham
15-Feb-2005
[1121]
Seems a lot of people have problems getting rebol cgi working with 
IIS
Guest
15-Feb-2005
[1122]
yes, tried with  path/rebpro.exe" -cs %s %s"  nothing change, the 
exe is running but did'nt deliver until timeout...
Ammon
15-Feb-2005
[1123]
Have you tried looking at the error logs?
Graham
15-Feb-2005
[1124x4]
from the mailing list
Windows generally uses the registry for mapping to extension.
Try looking for something as follows under "regedit":


HKEY_LOCAL_MACHINE    System       CurrentControlSet          Services

W3Svc               Parameters                 Script_Map Once there 
you

wantto EDIT --> New --> String Value to add a new extension association 
of

   ".cgi" Then MODIFY the new ".cgi" entry to associated it with the 
   rebol
executable, eg

   "C:\rebol\rebol.exe %s %s" Here "C:\rebol\" may be different on your
system and note that you must end with .exe.

Now restart the computer to get the new setting.
After that any script in a directory that the server sees as EXECUTABLE 
(eg,

the default "scripts" directory) which ends in *.cgi will be sent 
to the
rebol interpreter.

Best
YekSoon, keeping my fingers crossed.
http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlNCDQ
Guest
15-Feb-2005
[1128]
thanks for the tip, will try it immediatly...
Graham
15-Feb-2005
[1129x2]
better read the whole thread
more on IIS setup : http://www.rebol.com/docs/core23/rebolcore-13.html#section-13.1
Guest
15-Feb-2005
[1131]
very frustating, the script is invoking the rebpro.exe but doesn't 
release it nor deliver anything. I have tried nearly all combinations 
without any result. I thougt rebol is a perfect cgi engine, so I 
miss a - up to date - step by step instruction for all major webserver. 
the message board content indicate a need for this.
Graham
15-Feb-2005
[1132]
have you got the slashes the right way round?
Guest
15-Feb-2005
[1133]
all directions with,withou space etc.
Graham
15-Feb-2005
[1134]
can you get any other cgi working eg. perl ?
Guest
15-Feb-2005
[1135x2]
yes, I wrote a exe with powerbasic, working fine. have added the 
webserver extension for .r -> rebpro.exe" -cs %s %s" and even the 
execute permissions...
ps: the current control set in the reg-key isn't present. I guess 
the mapping is done complettly by the weberserver settings.
Alberto
15-Feb-2005
[1137]
Perhaps is not the same thing!. To execute a  cgi "exe" file, IIS 
don't need to know where is an interpreter like rebpro.exe or perl.exe
Guest
15-Feb-2005
[1138x2]
just downloaded a small php-script. this one is running.
are there more flagg beside the -cs ?
Alberto
15-Feb-2005
[1140]
type USAGE on the rebol console
Guest
15-Feb-2005
[1141x3]
t= not provided
sorry, I mean under rebpro.exe (sdk) usage is not provided. made 
it with core and can see it. thanks will try these last combinations. 
thanks again
install rebol for IIS6: set this path ->  C:\Rebol\rebpro.exe "-cs" 
%s  in  application configuration panel. the extension can be .r 
or .cgi. it is not nessesary to set the extension additional in the 
webserver extension module. ps: double %s %s don't work.  thanks 
for the help to alberto and graham and ammon.
Allen
15-Feb-2005
[1144]
%s %s does work. it's how mine is set up. Preferable to not use .r 
extension on IIS, otherwise it gets confused when when you just have 
a script for someone to download.
Guest
15-Feb-2005
[1145]
are you using IIS6 ?