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

World: r3wp

[Web] Everything web development related

Robert
25-Jan-2009
[1612]
Layout: Use what you like.

Item presentation: Dead simple integration into existing pages. No 
frills, simple to change.
Shopping Cart: Provides simple API that can be called via CGI
Payment Forwarding: Plug-Ins where to route the payment process
[unknown: 5]
25-Jan-2009
[1613x2]
The last two are pretty much what Oscommerce does now.
Some other packaged coupled with oscommerce do the others you listed. 
 There is no reason that REBOL can't do the same.
sqlab
25-Jan-2009
[1615]
From the dark ages long gone; 

did not Ralph Roberts a shopping system in Rebol for his book Rebol 
for Dummies ?
[unknown: 5]
25-Jan-2009
[1616x2]
I don't know as I never read it.
Only book I had on REBOL was the Official Guide Book and they used 
my review for rebolpress.com back in the day.
sqlab
25-Jan-2009
[1618]
Nor did i read it. But I think I remember something like that.
amacleod
11-Feb-2009
[1619x3]
Anyone know how to view a website you are are self hosting. I know 
you can view it using localhost but I want to use the url. I remember 
reading somewhere that it was possible but I can not find it now. 
Something about the DNS...
In case its not clear...I'm running the hhtp server on the same machine 
that i want ot view the site with.
hhtp =http
Brock
11-Feb-2009
[1622]
this is a guess,  http://domainName/virtualFolderPath
Janko
11-Feb-2009
[1623]
do you have a domain name assigned to your computer? if it is then 
you can access it as anybody else ... I am not sure I understand 
... if you have a virtual host set and you want to test if it works 
(and are on windos) you can add www.yourdomain.com  to hosts file 
in winnt/system32/drivers
Oldes
11-Feb-2009
[1624]
If you are on windows, check c:\WINDOWS\system32\drivers\etc\hosts 
file
amacleod
11-Feb-2009
[1625x3]
I'm using dyndns as I have a dynamic ip. 

If i type my url into the browser from a macine outside my local 
network I get my web page. If I do it from within my local network 
(even on a different machine) I can't not get through to the page 
"Cannot display webpage" error.

It's not just http. I'm accessing a mysql server too with the same 
problem resulting. 

I know I can use "localhost but I would need to change my code everytime 
I'm using it locally.
I was going to use a linux server...I' may switch back to windows 
though..
Oldes, That worked on my windows box. Thanks alot!

Anyone know how that works on a linux box?
Pekr
11-Feb-2009
[1628]
amacleod - isn't there /etc/hosts file? Maybe you could put it there? 
Generally, I use DNS based technique, pointing particular name to 
the particular IP. Even more interesting situation is, when you want 
to redirect public server IP to the internal IP on local network 
:-)
Kaj
13-Feb-2009
[1629]
Yep
PeterWood
16-Apr-2009
[1630]
Any recommendations for a domain registration service?
Janko
16-Apr-2009
[1631]
I use the ones where I have the hosting, don't use godaddy , I sometimes 
go check domains at register.com
TomBon
16-Apr-2009
[1632]
sitelutions.com, configure everything via web interface, cheap. since 
many years never had a problem.
PeterWood
16-Apr-2009
[1633]
Thanks Janko & TomBon
Robert
17-Apr-2009
[1634]
joker.com
Gregg
22-Apr-2009
[1635]
I've used directnic for a long time. No problems that I can recall, 
but my needs have been very simple.
PeterWood
23-Apr-2009
[1636x2]
Thanks Robert & Gregg.
I went with sitelutions.com. So far so good. (My needs are probably 
much simpler than yours, Gregg).
Pekr
12-May-2009
[1638x2]
I have small tag editing tool for one portal, but something has changed. 
Few of subsites now are full of iaccute strings. I wonder when and 
how it happened, if during hand editing of some html files, but is 
there any easy way of how to decode it back to Czech codepage? I 
just checked, and all files have correct headers specifying charset=windows-1250. 
Or could it be some internal header problem? (BOM, Unicode related?)
btw - browser displays (escapes) it correctly. But our REBOL tool 
just parses it, and puts it into fields, so I need to decode it back 
...
PeterWood
23-May-2009
[1640]
Has anybody wriitten a "flush" function that sends data back to the 
browser before the CGI script has finished running?
Graham
23-May-2009
[1641x2]
that would be a good trick
shouldn't you just spawn another process to do the work and then 
return?
Oldes
23-May-2009
[1643x4]
Pekr, it looks you are not alone: http://www.google.cz/search?hl=cs&q=iacute&spell=1
You can use my script http://box.lebeda.ws/~hmm/rebol/htmlentities_latest.r
to convert it into UTF8
probe HTMLentities/decode "Základní informace "
(but now when I see it here, it's not enough as the á char is not 
converted to utf8)
PeterWood
23-May-2009
[1647x2]
Graham: I could spawn another process but have had problems with 
both using 'call to launch a second Rebol process on Mac OS X; any 
console output from the spawned Rebol session is sent to the browser 
in addition to the output it should receive from the cgi process.
It would be much cleaner for me to be able to flush the output back 
to the browser and then do my housekeeping.
Graham
23-May-2009
[1649]
And if you called a shell script that ran the rebol process?
Sunanda
23-May-2009
[1650]
I tried to find such a "flush" mechanism for REBOL.org (running Apache 
under a generic GNU/Linux OS).

It would have been very useful (still would be).......But I never 
found anything that worked.
PeterWood
23-May-2009
[1651]
Sadly, even if you call a shell script that runs the rebol process 
:-(
Dockimbel
24-May-2009
[1652]
Not tested, but might work for flushing CGI data : close system/ports/output
PeterWood
24-May-2009
[1653x2]
Thanks for the tip Doc; I'll try it and report back.
I'm now not sure if flushing the html to the borwser is necessry. 
I tried with a simple test. Firefox displayed the page immediately 
but the connection to the server was kept open. Safari didn't display 
the page unitl the connection to the server was closed.


I dug a lttle deeper into Apache Docs and it seems that Apache doesn't 
buffer simple html output.


It seems that the "problem" is getting the browser to display the 
html before the connection to the server is closed.
Maxim
24-May-2009
[1655x2]
I've had this same problem before implementing custom-purpose web 
apps. http being connection based, i think most clients expect the 
connection to be closed.
the client reply port anyways.
Dockimbel
25-May-2009
[1657]
Then, you can try with HTTP chunked encoding (http://en.wikipedia.org/wiki/Chunked_transfer_encoding), 
it's the classic way to stream HTML to the browser. Having the page 
displayed while downloading chunks is browser specific. It's implemented 
in Cheyenne's HTTPd, but reading that wikipedia page makes me wonder 
if it still works with the new automatic HTTP compression introduced 
in 0.9.19 (haven't done regression tests for that case).
PeterWood
25-May-2009
[1658]
Thanks, Doc. I look into that.
Maxim
25-May-2009
[1659]
is IE7 svg capable?
Sunanda
25-May-2009
[1660]
This says no -- but 3party support is possible:
http://wiki.svg.org/Internet_Explorer
Maxim
25-May-2009
[1661]
thanks for the link... so no svg on my new site... darn.