AltME: Web


Janko, thanks. I signed up for GoSquared now. Going to see how it works out. Even I think it's more for realtime analytics of campaigns which require high-traffic. That's defenetly not what our site is about :-) but anyway, has a nice interface and is easy to use.

Today I went on the Saphirion's Website.
There seems to be something wrong in the config of the webserver as the .shtml pages appear as plain text source file !?
Tested on IE and FF on Windows7
So this is good :
But this is wrong :
Confirmed, on Opera on XP/Pro.
This is apparently still not fixed. It's in our bug database, but not solved.

Getting strange characters when reading from an rss feed:
ex:     And Members watch today’s show on Youtube!
I assume its utf8 characters that r2 can't handle...
Using Chris's altxml.r to parse the feed.
When I have had this problem with some texts conversion before I was able to replace/all the offending letters with the appropiate ascii ones but it does not seem to work in this situation.
You can use the utf-8-to-win-1252 function in to convert from UTF-8 encoding to Windows-1252 codepage.
Will try it, thanks Peter. Did not know about will come in handy...

I have trouble reading data from CGI using POST on R3. I try to upload an image using POST then on server I use data: read system/ports/input to get the POST data, but it seems that the data are truncated. There doesn't seem to be some specific boundary where the data are truncated, I'm uploading images in range from cca 15-200kB, the resulting data are few hundreds to few tens of kB long, so there's no artificial boundary like 32'000 bytes. Anyone has any experience with getting data from POST?
Is that with Rebol 2 or 3 Bolek?
The most frustrating is, that the same file will throw different results. Right now I'm testing with small 3,5kB PNG file, sometimes I get full file, sometimes just few hundred bytes...there's no pattern what the result will be.
Are you sure that the PNG file you are reading is complete and not being overwritten at the source (like from a webcam)?
No, it's complete. It's file on local computer I made just for testing.
I see you posted a question on SO and it looks like there's an answer.

Yes, I'm going to try it, I hope it would work, seems like it should.
So it doesn't work for me. Reading no data from system/ports/input does not throw an error but waits for data forever (at least it looks like forever, it has been five minutes already so it's useless as an image uploader).
Have you tried checking the system timeout for network reads?

Where are bytes missing, only at the end or also middle in the image?
I'm pretty sure they are only missing at the end.

Yes, at the end. I will try putting some simple PHP uploader on the same server to make sure it's not Apache's fault and let you know about the results.

Just a note about the CGI/POST issue. I've checked with Reboek a bit  on that and it looks the CGI mode is not yet fully implemented in R3 nor tested  (there are some issues on  both Linux and Win platforms). Someone interested in that feature needs to fix that ;-)

Last message posted 96 weeks ago.