rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - day

Pages: 1 2 3 4 5
16
RAWR-Designs / Re: Icon displaying bug
« on: December 10, 2007, 09:08:08 AM »
I've forgotten to mention that, for me, this bug only occurs on IE7 but not on Firefox2

17
HFS ~ HTTP File Server / Re: Annoying warning when using STunnel
« on: December 08, 2007, 06:55:43 AM »
I'm using the self-signed one created by OpenSSL...

18
HFS ~ HTTP File Server / Annoying warning when using STunnel
« on: December 08, 2007, 02:35:38 AM »
Is it possible to avoid a warning like this except buying a cert?

19
RAWR-Designs / Re: Icon displaying bug
« on: December 07, 2007, 10:19:32 PM »
I have tried with the original template so it should not be the problem..

20
HFS ~ HTTP File Server / Re: Feature request: stop search bots
« on: December 07, 2007, 08:21:00 PM »
the stop spiders function doesn't work..
try this http://www.google.com/webmasters/tools/ and you will understand..

21
RAWR-Designs / Re: Icon displaying bug
« on: December 07, 2007, 08:16:53 AM »
better..but the bug still exists...

22
Bug reports / Re: 2 bugs on uploading
« on: December 04, 2007, 12:23:21 PM »
is anyone able to reproduce this bug using the default template?
from last tests it seems that it never happens with the default one.

Me~
I can reproduce this bug using both the default template and the Terayon template.

23
HFS ~ HTTP File Server / An option to disable inherited default file mask?
« on: December 03, 2007, 02:24:28 PM »
I have some folders which allow everyone to upload.
If someone upload a "default.htm" for example, the page will be broken.
Therefore, I hope to have an option to disable it.

24
RAWR-Designs / Icon displaying bug
« on: December 03, 2007, 10:38:58 AM »
Please take a look at the screenshot and you will know what i mean.

This happens when the folder has a comment,
and most files are files in the [file] section.

25
RAWR-Designs / Re: RAWR-Player and special characters
« on: December 03, 2007, 10:13:44 AM »
wow i didn't know there was a %item-full-url% symbol before the new build came out.
now we can use %item-full-url% to replace http://%host%%encoded-folder%%item-url%.

26
RAWR-Designs / Re: RAWR-Player and special characters
« on: December 02, 2007, 01:55:18 PM »
@dayletter: why do you change the template-file to submit the whole path to the rawr-previewbox.js as variable +content+ instead of only the filename as before? what is the effort?

so in rawr-previewbox you also changed this to get it working:
data=\"http://"+infoHost+infoFolder+escape(content)+"\" to data=\""+content+"\" and
value=\"http://"+infoHost+infoFolder+escape(content)+"\" to value=\""+content+"\" and
src=\"http://"+infoHost+infoFolder+escape(content)+"\" to src=\""+content+"\" in line 57 and 68. one effort is a little bit more code in the template, but 3times less code in js-file, but that couldnt be all?

As you know, in the unmodified template,
the [file.mp3] section had already used the "whole path" form, while the other 3 sections had not.
Therefore, this is to make things a little clearer.

Besides, since infoFolder == %folder%, which can be "unencoded" (eg. having some chinese characters in it),
may cause the player to be not working.

27
RAWR-Designs / Re: RAWR-Player and special characters
« on: December 01, 2007, 04:16:04 PM »
+content+ & Encode non-ASCII-characters off
Firefox: ok
IE: ok

hmm...so your language does not even need to encode to have it working...
However, it is not that simple in my case...
I'm going make a quick fix and upload it here,
to see if it works for you or not..

edit:alright..uploaded..please try~
remember to switch on "Encode non-ASCII characters"

28
RAWR-Designs / Re: RAWR-Player and special characters
« on: December 01, 2007, 03:32:49 PM »
IE7 & Firefox works for me.

BTW, I think the effect of the option "Encode non-ASCII characters" is large and so must be considered.
I suggest that every template should be designed with that option swtiching on.
This is because with this you can use %encoded-folder% & %item-url% for encoded form,
and %folder% (%item-folder%) & %item-name% for original form.


29
RAWR-Designs / Re: RAWR-Player and special characters
« on: December 01, 2007, 02:20:10 PM »
and what about encodeURI(unescape(content)) ?

i GUESS in your case encodeURI() is the same as escape() since the values of characters of your language are not greater 255, and you have the option switched on.

Therefore content = %item-link% is in encoded form, and so
encodeURI(unescape(content)) == content

maybe you could try

Quote
changing +encodeURI(unescape(content))+ to +content+

OR

Quote
switching off the option,
changing +encodeURI(unescape(content))+ back to +escape(content)+

to prove my theory.

30
RAWR-Designs / Re: RAWR-Player and special characters
« on: December 01, 2007, 01:05:54 PM »
ok..after some searching..

escape(charString)
Quote
The escape method returns a string value (in Unicode format) that contains the contents of charstring. All spaces, punctuation, accented characters, and any other non-ASCII characters are replaced with %xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example, a space is returned as "%20."

Characters with a value greater than 255 are stored using the %uxxxx format.

Note   The escape method should not be used to encode Uniform Resource Identifiers (URI). Use encodeURI and encodeURIComponent methods instead.

encodeURI(URIString)
Quote
The encodeURI method returns an encoded URI. If you pass the result to decodeURI, the original string is returned. The encodeURI method does not encode the following characters: ":", "/", ";", and "?". Use encodeURIComponent to encode these characters.

encodeURIComponent(encodedURIString)
Quote
The encodeURIComponent method returns an encoded URI. If you pass the result to decodeURIComponent, the original string is returned. Because the encodeURIComponent method encodes all characters, be careful if the string represents a path such as /folder1/folder2/default.html. The slash characters will be encoded and will not be valid if sent as a request to a web server. Use the encodeURI method if the string contains more than a single URI component.

----------------------------------------------------------------------------

I have done some experiments:

let say you want to convert the filename "測試" into "%E6%B8%AC%E8%A9%A6", which can then be used by the RAWR-player

content = %link-url%

case 1:

if the option "Encode non-ASCII characters" is switched on
%link-url% == "%E6%B8%AC%E8%A9%A6"

if you escape(content), it becomes "%25E6%25B8%25AC%25E8%25A9%25A6".
if you encodeURI(content),  it also becomes "%25E6%25B8%25AC%25E8%25A9%25A6".

in both case, "%" is converted into "%25",
for the mp3 player, it still works.
but for the divx player, seems like it doesn't?

case 2:

if the option "Encode non-ASCII characters" is swtiched off
%link-url% == "測試"

if you escape(content), it becomes "%u6E2C%u8A66", so it doesn't work.
but if you encodeURI(content),  it becomes "%E6%B8%AC%E8%A9%A6", so it works.

Since %link-name% always == "測試" no matter the option is on or off,
so, in my opinion, using %link-name% & encodeURI is better than using %link-url% & escape for Chinese characters.

Pages: 1 2 3 4 5