need help for decompress URL
Hello, 1. after downloading a rev-compressed binfile from the internet with: load url pUrl I want to decompress it with: put decompress(URL pUrl) into URL (binfile: pTarget) pUrl is something like: http://www.mydomain/myBinFile.gz I get the error decompress: string is not compressed data What am I doing wrong? Is the loaded URL already uncompressed or can't I decompress a loaded Url (no, Eric does it in his great tutorial) 2. Is it possible to compress a folder with multiple files with rev? I didn't succeded. Thanks for any hints Tiemo ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: need help for decompress URL
Bonjour Eric, I am glad you don't have Thanksgiving in France and you are not off :) If I parse the catch Error I get the same as before: Error description: decompress: string is not compressed data, which leaves me lost with my original problem. So what could get wrong with my statements or data if it is a binfile, which is in the internet after I did a load pUrl? put decompress(url pUrl) into tData Is the load pUrl so unreliable? Should I switch again back to put URL into URL? Thanks Tiemo Handle all cases with a try structure: try put decompress(url pUrl) into tData catch tErr end try do what you want with tData Best regards from Paris, Eric Chatonet. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: need help for decompress URL
Hmmm, perhaps I am looking at the wrong end of the lane. The file I downloaded with load pUrl was compressed before with: put compress(URL (binfile: it)) into URL (binfile: it .gz) and then uploaded. Do you see here the fault, which could led to this not compresd data error? Thank you and enjoy your turkey :) Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Eric Chatonet Gesendet: Freitag, 28. November 2008 11:48 An: How to use Revolution Betreff: Re: AW: need help for decompress URL Happy Thanksgiving Tiemo ;-) Le 28 nov. 08 à 11:42, Tiemo Hollmann TB a écrit : I am glad you don't have Thanksgiving in France and you are not off :) If I parse the catch Error I get the same as before: Error description: decompress: string is not compressed data, which leaves me lost with my original problem. Yes if data are not compressed tErr will contain Error description: decompress: string is not compressed data And data will not be decompressed because they are not. But your code will not throw an error. Using such a try structure, data will be decompressed if thy are and not if they are not: that's all :-) So what could get wrong with my statements or data if it is a binfile, which is in the internet after I did a load pUrl? put decompress(url pUrl) into tData Is the load pUrl so unreliable? Should I switch again back to put URL into URL? load url is very very reliable: track your own errors :-) Data you want to download do not seem to have been compressed first before uploading them. Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: need help for decompress URL
I assume that you have on your desktop the compressed file you uploaded. Apply your code directly to it to verify :-) Le 28 nov. 08 à 11:54, Tiemo Hollmann TB a écrit : Hmmm, perhaps I am looking at the wrong end of the lane. The file I downloaded with load pUrl was compressed before with: put compress(URL (binfile: it)) into URL (binfile: it .gz) and then uploaded. Do you see here the fault, which could led to this not compresd data error? Thank you and enjoy your turkey :) Poor animal... Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: AW: AW: need help for decompress URL
Add: could it be perhaps some dlls under the hood, which come into conflict with other gz decompressing tools and it isn't rev? Does anybody knows, if this compress and decompress is handled completely within rev, or are there any externals used, which could get into conflict? Thanks Tiemo Just a thought: Some weeks ago you told me you were not able to use Tutorials Picker that downloads gz compressed files. And you were the only one to report this. I am inclined to think that your current problem and this previous one are the same. Le 28 nov. 08 à 12:06, Tiemo Hollmann TB a écrit : ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: AW: need help for decompress URL
On 28 Nov 2008, at 11:06, Tiemo Hollmann TB wrote: Yes, decompressing the same lokal file with: put decompress(URL (binfile: it)) into URL (binfile: tFile) works like a charme. But uploading this file to the internet and doing load pURL put decompress(url pUrl) into tData where pUrl is something like: http://www.mydomain/myBinFile.gz; I get this not compressed data. So it must something be with the URL syntax, but I don't see it Tiemo load url works in the background and you need to use a callback message to get the data. Something like this: on myHandler -- whatever load URL pUrl with message loaded end myHandler on loaded pUrl, pStatus if pStatus is cached then put decompress(url pUrl) into url (whatever) else answer download failed -- or other error handling end if unload url pUrl -- assuming y0u no longer need it end loaded Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: where are you on google.
Thomas McGrath III wrote: But with quotes around my name I come in at number One. #4 with quotes but #1 with quotes and biology.. :-) Cheers Robert (Bob) Sunny Scotland Hmmm Thomas J McGrath III Lazy River Software [EMAIL PROTECTED] iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: AW: AW: need help for decompress URL
Hello Dave, yes I do it with the urlstatus() Thanks Tiemo Tiemo load url works in the background and you need to use a callback message to get the data. Something like this: on myHandler -- whatever load URL pUrl with message loaded end myHandler on loaded pUrl, pStatus if pStatus is cached then put decompress(url pUrl) into url (whatever) else answer download failed -- or other error handling end if unload url pUrl -- assuming y0u no longer need it end loaded Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: AW: AW: need help for decompress URL
Wow, that sounds really hot! That would be an explanation (I still can't open you tutorials online) But where to start the search, and if this happens at my PC, how often will it happen at customer sites??? :( Perhaps I'll deinstall all revs from my PC this weekend and do a fresh install (though this problem persisted even with installing the new 3.0) Bad news Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Eric Chatonet Gesendet: Freitag, 28. November 2008 12:09 An: How to use Revolution Betreff: Re: AW: AW: AW: need help for decompress URL Just a thought: Some weeks ago you told me you were not able to use Tutorials Picker that downloads gz compressed files. And you were the only one to report this. I am inclined to think that your current problem and this previous one are the same. Le 28 nov. 08 à 12:06, Tiemo Hollmann TB a écrit : Yes, decompressing the same lokal file with: put decompress(URL (binfile: it)) into URL (binfile: tFile) works like a charme. But uploading this file to the internet and doing load pURL put decompress(url pUrl) into tData where pUrl is something like: http://www.mydomain/myBinFile.gz; I get this not compressed data. So it must something be with the URL syntax, but I don't see it Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: AW: AW: AW: need help for decompress URL
Hello again, tracking it down it looks like the problem is not the decompress but the simple download and I don't find the fault ;( I did the compress like: put compress(URL (binfile: it)) into URL (binfile: it .gz) 1. compressing and decompressing a local file works fine. 2. uploading the compressed file, downloading it with a ftp program and decompressing it, works fine 3. uploading the compressed file (with ftp), downloading it anyhow with put URL http://myDomain/s05822.gz; into URL binfile:myPath\s05822.gz or with load URL and put URL into URL changes the bytes of my file, so that the decompress can't recognize the format anymore. Do I have to tell the put URL or load URL that it has to handle a compressed binfile? Or where is my fault? I don't see the wood anymore because of the trees (german saying) Thanks for any hints Tiemo It's a local problem at your place: I suspect that Rev is confused by another decompress library you installed or was installed along another software installation. Not easy to track :-( Have a look at all dlls in system32... Le 28 nov. 08 à 12:20, Tiemo Hollmann TB a écrit : ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: need help for decompress URL
Happy Thanksgiving Tiemo ;-) Le 28 nov. 08 à 11:42, Tiemo Hollmann TB a écrit : I am glad you don't have Thanksgiving in France and you are not off :) If I parse the catch Error I get the same as before: Error description: decompress: string is not compressed data, which leaves me lost with my original problem. Yes if data are not compressed tErr will contain Error description: decompress: string is not compressed data And data will not be decompressed because they are not. But your code will not throw an error. Using such a try structure, data will be decompressed if thy are and not if they are not: that's all :-) So what could get wrong with my statements or data if it is a binfile, which is in the internet after I did a load pUrl? put decompress(url pUrl) into tData Is the load pUrl so unreliable? Should I switch again back to put URL into URL? load url is very very reliable: track your own errors :-) Data you want to download do not seem to have been compressed first before uploading them. Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: AW: need help for decompress URL
Just a thought: Some weeks ago you told me you were not able to use Tutorials Picker that downloads gz compressed files. And you were the only one to report this. I am inclined to think that your current problem and this previous one are the same. Le 28 nov. 08 à 12:06, Tiemo Hollmann TB a écrit : Yes, decompressing the same lokal file with: put decompress(URL (binfile: it)) into URL (binfile: tFile) works like a charme. But uploading this file to the internet and doing load pURL put decompress(url pUrl) into tData where pUrl is something like: http://www.mydomain/myBinFile.gz; I get this not compressed data. So it must something be with the URL syntax, but I don't see it Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: AW: AW: need help for decompress URL
It's a local problem at your place: I suspect that Rev is confused by another decompress library you installed or was installed along another software installation. Not easy to track :-( Have a look at all dlls in system32... Le 28 nov. 08 à 12:20, Tiemo Hollmann TB a écrit : Wow, that sounds really hot! That would be an explanation (I still can't open you tutorials online) But where to start the search, and if this happens at my PC, how often will it happen at customer sites??? :( Perhaps I'll deinstall all revs from my PC this weekend and do a fresh install (though this problem persisted even with installing the new 3.0) Bad news Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: need help for decompress URL
Actually I get a little bit more information from parsing the error codes: Error description: decompress: string is not compressed data Object: Line: 276 Column: 17 Processing Token: Error description: put: error in expression Object: Line: 276 Column: 1 Processing Token: thrown error tErrStatementList: tErrStatementList what could be the error in expression, if the only expression is: put decompress(url pUrl) into tData do you have an interpretation of these error descriptions? Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Tiemo Hollmann TB Gesendet: Freitag, 28. November 2008 11:43 An: 'How to use Revolution' Betreff: AW: need help for decompress URL Bonjour Eric, I am glad you don't have Thanksgiving in France and you are not off :) If I parse the catch Error I get the same as before: Error description: decompress: string is not compressed data, which leaves me lost with my original problem. So what could get wrong with my statements or data if it is a binfile, which is in the internet after I did a load pUrl? put decompress(url pUrl) into tData Is the load pUrl so unreliable? Should I switch again back to put URL into URL? Thanks Tiemo Handle all cases with a try structure: try put decompress(url pUrl) into tData catch tErr end try do what you want with tData Best regards from Paris, Eric Chatonet. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: need help for decompress URL
Bonjour Tiemo, Le 28 nov. 08 à 11:04, Tiemo Hollmann TB a écrit : Hello, 1. after downloading a rev-compressed binfile from the internet with: load url pUrl I want to decompress it with: put decompress(URL pUrl) into URL (binfile: pTarget) pUrl is something like: http://www.mydomain/myBinFile.gz I get the error decompress: string is not compressed data What am I doing wrong? Is the loaded URL already uncompressed or can't I decompress a loaded Url (no, Eric does it in his great tutorial) Handle all cases with a try structure: try put decompress(url pUrl) into tData catch tErr end try do what you want with tData 2. Is it possible to compress a folder with multiple files with rev? I didn't succeded. In this case, use revZip commands and functions. Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Rev 3 fails to build with Stack Password set ?
If a Stack contains ANSWER Dialog and you set a password for the Stack in Standalone settings if fails to buildin Rev 3 ? This is no a problem in Rev 2.8 Regards Camm ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: AW: need help for decompress URL
Yes, decompressing the same lokal file with: put decompress(URL (binfile: it)) into URL (binfile: tFile) works like a charme. But uploading this file to the internet and doing load pURL put decompress(url pUrl) into tData where pUrl is something like: http://www.mydomain/myBinFile.gz; I get this not compressed data. So it must something be with the URL syntax, but I don't see it Tiemo P.S. no turkey here too :) -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Eric Chatonet Gesendet: Freitag, 28. November 2008 11:57 An: How to use Revolution Betreff: Re: AW: AW: need help for decompress URL I assume that you have on your desktop the compressed file you uploaded. Apply your code directly to it to verify :-) Le 28 nov. 08 à 11:54, Tiemo Hollmann TB a écrit : Hmmm, perhaps I am looking at the wrong end of the lane. The file I downloaded with load pUrl was compressed before with: put compress(URL (binfile: it)) into URL (binfile: it .gz) and then uploaded. Do you see here the fault, which could led to this not compresd data error? Thank you and enjoy your turkey :) Poor animal... Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: AW: AW: AW: need help for decompress URL
--- Tiemo Hollmann TB [EMAIL PROTECTED] wrote: Hello again, tracking it down it looks like the problem is not the decompress but the simple download and I don't find the fault ;( I did the compress like: put compress(URL (binfile: it)) into URL (binfile: it .gz) 1. compressing and decompressing a local file works fine. 2. uploading the compressed file, downloading it with a ftp program and decompressing it, works fine 3. uploading the compressed file (with ftp), downloading it anyhow with put URL http://myDomain/s05822.gz; into URL binfile:myPath\s05822.gz or with load URL and put URL into URL changes the bytes of my file, so that the decompress can't recognize the format anymore. Do I have to tell the put URL or load URL that it has to handle a compressed binfile? Or where is my fault? I don't see the wood anymore because of the trees (german saying) Thanks for any hints Tiemo If you put the following line: ## answer libURLLastRHHeaders() ## after your call to 'put URL remoteURL into URL localURL what does it display? Jan Schenkel. Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
AW: AW: AW: AW: AW: AW: need help for decompress URL
Hi Jan, it returns: HTTP/1.1 200 OK Date: Fri, 28 Nov 2008 13:22:01 GMT Server: Apache Last-Modified: Fri, 28 Nov 2008 09:44:04 GMT ETag: e4c18c-3f4cf-492fbd64 Accept-Ranges: bytes Content-Length: 264317 Content-Type: text/plain Is it the wrong content-type?, but why, I did compress it Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Jan Schenkel Gesendet: Freitag, 28. November 2008 15:44 An: How to use Revolution Betreff: Re: AW: AW: AW: AW: AW: need help for decompress URL --- Tiemo Hollmann TB [EMAIL PROTECTED] wrote: Hello again, tracking it down it looks like the problem is not the decompress but the simple download and I don't find the fault ;( I did the compress like: put compress(URL (binfile: it)) into URL (binfile: it .gz) 1. compressing and decompressing a local file works fine. 2. uploading the compressed file, downloading it with a ftp program and decompressing it, works fine 3. uploading the compressed file (with ftp), downloading it anyhow with put URL http://myDomain/s05822.gz; into URL binfile:myPath\s05822.gz or with load URL and put URL into URL changes the bytes of my file, so that the decompress can't recognize the format anymore. Do I have to tell the put URL or load URL that it has to handle a compressed binfile? Or where is my fault? I don't see the wood anymore because of the trees (german saying) Thanks for any hints Tiemo If you put the following line: ## answer libURLLastRHHeaders() ## after your call to 'put URL remoteURL into URL localURL what does it display? Jan Schenkel. Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AW: AW: AW: AW: AW: need help for decompress URL
Bonjour Tiemo, If you send me off-list a link pointing to a file to download, I'll try here: This should narrow your search. Le 28 nov. 08 à 14:34, Tiemo Hollmann TB a écrit : Hello again, tracking it down it looks like the problem is not the decompress but the simple download and I don't find the fault ;( I did the compress like: put compress(URL (binfile: it)) into URL (binfile: it .gz) 1. compressing and decompressing a local file works fine. 2. uploading the compressed file, downloading it with a ftp program and decompressing it, works fine 3. uploading the compressed file (with ftp), downloading it anyhow with put URL http://myDomain/s05822.gz; into URL binfile:myPath\s05822.gz or with load URL and put URL into URL changes the bytes of my file, so that the decompress can't recognize the format anymore. Do I have to tell the put URL or load URL that it has to handle a compressed binfile? Or where is my fault? I don't see the wood anymore because of the trees (german saying) Thanks for any hints Tiemo Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: where are you on google.
Well, I'm #1 if I search for my alter-ego Katherine Swynford... Judy http://revined.blogspot.com On Fri, Nov 28, 2008 at 4:24 AM, Bob Hartley [EMAIL PROTECTED] wrote: Thomas McGrath III wrote: But with quotes around my name I come in at number One. #4 with quotes but #1 with quotes and biology.. :-) Cheers Robert (Bob) Sunny Scotland Hmmm Thomas J McGrath III Lazy River Software [EMAIL PROTECTED] iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: where are you on google.
Dear all, Actually this thread is not so silly :-) It shows how we all need to be recognized in this mad world. PS. I'm not sure that Google ranking is the best method :-) Le 28 nov. 08 à 13:24, Bob Hartley a écrit : Thomas McGrath III wrote: But with quotes around my name I come in at number One. #4 with quotes but #1 with quotes and biology.. :-) Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Finding and replacing numbers in calendar day field
Hi all. I have been playing with the tutorial calendar and am having trouble adding a to me useful feature. I have a list field where day events are put along with the short date. I can grab the day number from this short date, line by line. Where I am having trouble is after finding the needed day date in the calendar day field (same as in tutorial) I am stuck with how to replace the date number with a phrase consisting of the same day date number and the word Event. The end effect is that after a note is added, the calendar date will show instead of 28 the phrase 28Event as a visual reminder that a note or event has been added to the overall calendar. I am just missing something. I have been using find and replace but to no avail. How would you advise doing this? Regards Mark MacKenzie Art Conservator Wet Plate Photographer Alcalde, New Mexico ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Finding and replacing numbers in calendar day field
Hi Mark, Guess all the pros have closed shop for the day. (smile) I don't have the tutorial you're using in front of me, but... If you can define the chunk that you're replacing, why not just put the new stuff into it, or put Event after it. Joe Wilkins On Nov 28, 2008, at 1:58 PM, Mark MacKenzie wrote: Hi all. I have been playing with the tutorial calendar and am having trouble adding a to me useful feature. I have a list field where day events are put along with the short date. I can grab the day number from this short date, line by line. Where I am having trouble is after finding the needed day date in the calendar day field (same as in tutorial) I am stuck with how to replace the date number with a phrase consisting of the same day date number and the word Event. The end effect is that after a note is added, the calendar date will show instead of 28 the phrase 28Event as a visual reminder that a note or event has been added to the overall calendar. I am just missing something. I have been using find and replace but to no avail. How would you advise doing this? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Finding and replacing numbers in calendar day field
I have been playing with the tutorial calendar and am having trouble adding a to me useful feature. I have a list field where day events are put along with the short date. I can grab the day number from this short date, line by line. Where I am having trouble is after finding the needed day date in the calendar day field (same as in tutorial) I am stuck with how to replace the date number with a phrase consisting of the same day date number and the word Event. The end effect is that after a note is added, the calendar date will show instead of 28 the phrase 28Event as a visual reminder that a note or event has been added to the overall calendar. Like Joe, I am not familiar with this tutorial, but how about something like this: replace 28 with 28 Event in field whatever I don't know the correct field name but this will show you want I mean. Alternatively, you can have: putEvent after field whatever HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: Getting HTML text into an email message
If you are running on OSX, then you can also (assuming you are into this kind of thing) * Enable PostFix on your box * Build your own multi-part email * send it thru using Shell to your mail server Pros: -- You completely bypass all mail client caveats -- Content is fully under your control Cons: a bit nerdy; you have to know how to build the email But if you are doing this regularly, once set up, its very sweet. I have chunks in fields that serve as the requisite headers and breaks and then the actual body of the msg can be simple HTML. If you want the full script, let me know... Assuming you have Post script enabled and your fill email is in a variable ready to send then On createFinalEmailAndSendIt #build your multi-part email from pre-set fields and body from # your html field and put it into tMsg put cr . cr after tMsg ## You have your multi-part email in tMsg ## deal with Sendmail line length caveat # fix endlines to unix and then save to file replace numtochar(13) WITH numtochar (10) in tMsg put ($HOME /Desktop/temp.txt) into tPath put tMsg into url (binfile: tPath) # save him to file in case you need him later # introduce line breaks at the end of sentences into lines longer that 990 chars # and two such breaks in the case of lines longer than 1980 chars. # will break lines up to 2970. Lines longer than (very unlikely) will be broken by Sendmail at 990 REPEAT FOR each line tLine in tMsg SWITCH CASE len(tLine)990 put tLine cr after tWrappedMsg next REPEAT break CASE len(tLine)1980 set the itemdel to . put round(the number of items of tLine/3) into tBreakPoint put cr before item (tBreakPoint+1) of tLine put cr before item (tBreakPoint*2) of tLine put tLine cr after tWrappedMsg next REPEAT break CASE len(tLine)990 set the itemdel to . put round(the number of items of tLine/2) into tBreakPoint put cr before item (tBreakPoint+1) of tLine put tLine cr after tWrappedMsg next REPEAT break END SWITCH END REPEAT set the itemdel to , # just in case! put tWrappedMsg into tMsg replace cr WITH \n in tMsg put tMsg into $DailyHPIEmail --put tMsg; exit to top # testing # Do shell stuff and send mail # disable these two lines and nothing happens set the shellcommand to /bin/sh put echo -e $DailyHPIEmail | sendmail -f [EMAIL PROTECTED] (fld to of cd staticText) into tCmd --put cat quote tPath quote | sendmail -f [EMAIL PROTECTED] (fld to of cd staticText) into tCmd # for Testing shell cmds and only sending the email to a specific address, not the list --put echo -e $DailyHPIEmail | sendmail -f [EMAIL PROTECTED] [EMAIL PROTECTED],[EMAIL PROTECTED] into tCmd --put echo -e $DailyHPIEmail quote tPath quote into tCmd --put tCmd # use this to grab the output string and test from terminal --exit to top # check on status and inform user or comment to run silent -- -- put shell(tCmd) into tResult -- -- IF tResult is empty THEN --answer Mail was sent WITH OK -- ELSE --answer tResult WITH OK -- END IF --delete file tPath # uncomment if you want to wipe the temp failsafe file at end of sessions END createFinalEmailAndSendIt Ken Ray wrote: Since no one responded to this, I'll take a stab... But what is the magic? Is there a way in Run Rev to convert an HTML page directly for email? The problem here is that as soon as you leave the realm of plain text, you enter the world of what does the specific email client support? That is, assuming you want Mail to be the email client here that will be sending the message, you need to then play in Mail's sandbox using whatever AppleScript is supported in Mail to do this (more on this later). But of course whatever you do will only work with Mail; if you want to send an HTML-formatted email from Entourage or from Outlook (PC), etc. you'll need to do something totally different. The other alternative (if you don't want to use a third-party email client), is to have Rev send SMTP-based email itself, and if you're interested in that avenue, there are a couple of libraries out there to help you send SMTP email. Back to Mail... since you're sending a formatted field, I'm assuming it's not pictures, so one way to do what you're looking for would be to AppleScript the mail message by styling the text in the same way the field is styled in Rev... there may be others, but this is the one I'm aware of... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list
Re: AW: AW: AW: AW: AW: AW: need help for decompress URL
--- Tiemo Hollmann TB [EMAIL PROTECTED] wrote: Hi Jan, it returns: HTTP/1.1 200 OK Date: Fri, 28 Nov 2008 13:22:01 GMT Server: Apache Last-Modified: Fri, 28 Nov 2008 09:44:04 GMT ETag: e4c18c-3f4cf-492fbd64 Accept-Ranges: bytes Content-Length: 264317 Content-Type: text/plain Is it the wrong content-type?, but why, I did compress it Tiemo Hi Tiemo, The content-type is indeed your problem, as it should be something along the lines of application/gzip - but this is to be configured on the server side, in Apache. So you should have a chat with the system administrator to configure the right MIME-type for the .gz extension. When the content-type is text/plain there may be conversions along the way. Which is why it's also important in FTP to upoad/download files as binary when it's not a text file. HTH, Jan Schenkel. Quartam Reports PDF Library for Revolution http://www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution